You are not logged in.
Pages: 1
I'm trying to make chromium open PDFs with evince, but xdg-mime is not working:
$ xdg-mime query default application/pdf
gimp.desktop
$ xdg-mime default evince.desktop application/pdf
$ xdg-mime query default application/pdf
gimp.desktopP.S.: The above commands are from the wiki pointed by https://bbs.archlinux.org/viewtopic.php?pid=1600700
Edit: marked as solved.
Last edited by cemsbr (2016-02-05 21:48:39)
Offline
Testing it now, it seems that xdg-mime still saves changes to ~/.local/share/applications/mimeapps.list ($XDG_DATA_HOME/applications/mimeapps.list), which is deprecated. The current standard uses ~/.config/mimeapps.list ($XDG_CONFIG_HOME/mimeapps.list).
Either edit the file manually or use mimeo.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
The file ~/.config/mimeapps.list also had evince.desktop, but followed by ";gimp.desktop". I let only evince and it worked. Thank you.
Offline
Pages: 1