What could be the problem?
Original post:
Hello,
Each time I double click on an item, Firefox is being launched, even though another application is set at Edit > Edit filetype.
Does anyone have an idea of where the source of the problem is?
Hello,
Each time I double click on an item, Firefox is being launched, even though another application is set at Edit > Edit filetype.
Does anyone have an idea of where the source of the problem is?
Suppose you want to run qtfm from qtfm adding application/x-executable=qtfm.desktop in ~/.local/share/applications/defaults.list then will open all executables in qtfm.knome wrote:In ~/.local/share/applications create new empty defaults.list and mimeapps.list (back up your originals if they exist). In qtfm create and Save a new file association using Edit filetype. Check if the entry appears in defaults.list and/or mimeapps.list. If it works then there may be something wrong with your original files or they don't exist.
Warning: Using qtFM filtype editor will reset defaults.list of your home directory.knome wrote:In ~/.local/share/applications create new empty defaults.list and mimeapps.list (back up your originals if they exist). In qtfm create and Save a new file association using Edit filetype. Check if the entry appears in defaults.list and/or mimeapps.list. If it works then there may be something wrong with your original files or they don't exist.
Code: Select all
xdg-open mailto:
xdg-open xmpp:
Code: Select all
xdg-mime default gpicview.desktop `grep 'MimeType=' /usr/share/applications/gpicview.desktop | sed -e 's/.*=//' -e 's/;/ /g'`
Code: Select all
$ xdg-open http://www.salixos.org/
Code: Select all
$ xdg-mime query default x-scheme-handler/http
qupzilla.desktop
Code: Select all
$ xdg-mime default qupzilla.desktop `grep 'MimeType=' /usr/share/applications/qupzilla.desktop | sed -e 's/.*=//' -e 's/;/ /g'`
Code: Select all
$ xdg-mime default qupzilla.desktop x-scheme-handler/http
Code: Select all
$ cat /usr/share/applications/qupzilla.desktop
[Desktop Entry]
Name=QupZilla
Type=Application
Icon=qupzilla
Categories=Network;WebBrowser;
Comment=A fast and secure web browser
GenericName=Web Browser
Exec=qupzilla %u
MimeType=text/html;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;
Terminal=false
X-Ayatana-Desktop-Shortcuts=NewTab;NewWindow;PrivateBrowsing;