[Gambas-user] Get the default file manager
Benoît Minisini
benoit.minisini at gambas-basic.org
Sun Feb 18 16:39:18 CET 2024
Le 18/02/2024 à 16:33, Benoît Minisini a écrit :
>
> Here is an explanation of how to find the default applications:
>
> https://wiki.archlinux.org/title/Default_applications
>
> In a few words, there is no standard definition of default application
> on Linux desktops.
>
> 'Desktop.Open()' either uses the 'OpenURI' method of the desktop portal,
> or the 'xdg-open' script if the portal is not present or if
> 'Desktop.UsePortal' property is false.
>
> Regards,
>
If you read the 'xdg-mime' source code, you will notice that it
implements three methods for defining the default application of
specific mimetype: one for KDE, one for LXQT, and one for the other
desktops.
Regards,
--
Benoît Minisini.
More information about the User
mailing list