[Gambas-user] Get the default file manager
Bruce Steers
bsteers4 at gmail.com
Sat Feb 17 17:01:47 CET 2024
>>> On Fri, 16 Feb 2024 at 11:39, System64 Development <64xcode at gmail.com>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> I was using Desktop.Open(Path) to open the directory of the shrimp
>>>> projects but now this statement opens the ide, I guess because at some
>>>> point I opened a shrimp project from the file manager and the system
>>>> "memorized" this action.
>>>>
>>>> Anyway, how can I get the name of the default application that manages
>>>> the files? in my case it is Thunar because I use XFCE but what is the
>>>> general way?
>>>>
>>>> Best regards.
>>>>
>>>> Martin.
>>>>
>>>
Hang on a dawg gone minute !!
if now gambas IDE opens with Desktop.Open(sTheProjectFolder) then you have
a VERY broken linux and clicking ANY folder on the desktop will load gambas
IDE. (yep i've done this before lol)
You should do the following...
Right click any folder on the desktop.
Select "Open With"
Make sure the "Always use this program" is selected (this is what was
selected when you opened with gambas before)
Then choose your Thunar or whatever file manager.
And next time you choose "Open with" on a directory and select gambas make
sure the "Always use this" is NOT selected.
BruceS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20240217/dd5bfbe6/attachment.htm>
More information about the User
mailing list