[Gambas-user] Get the default file manager

System64 Development 64xcode at gmail.com
Fri Feb 16 14:59:01 CET 2024


El 16/2/24 a las 13:09, Bruce Steers escribió:
>
> xdg-mime works okay...
>
> xdg-mime query default inode/directory
>
> will get the .desktop file that launches the file manager in 
> /usr/share/applications.
>
> cat /usr/share/applications/$(xdg-mime query default inode/directory)| 
> grep Exec
>
> TryExec=/usr/bin/caja
> Exec=/usr/bin/caja --no-desktop %U

well, it can work



More information about the User mailing list