Xfce Forum

Sub domains

You are not logged in.

#1 2022-05-07 23:01:34

Registered: 2012-03-26
Posts: 23

How does XFCE know the default app for mimetype x-shellscript

The output of the command below is: application/x-shellscript

xdg-mime query filetype SOME_BASH_SCRIPT.sh

The command below has 0 results.

xdg-mime query default application/x-shellscript

However in xfce4-mime-settings on the Others tab, Geany is shown as the Default for application/x-shellscript. The status is Default not User Set.   Thunar also shows Geany as the default.

How does xfce4-mime-settings and Thunar know what the Default application is, since xdg-mime doesn't know.

I looked in mimeapps.list, mimeinfo.cache, desktop files, but how does XFCE know geany is the Default application for the mimetype
applications/x-shellscript if xdg-mime query default doesn't know?

Thank you.


Board footer

Powered by FluxBB