Change default app via console

Grant emailgrant at gmail.com
Sat Mar 15 17:36:34 CET 2014


> You can copy/create *.desktop file in ~/.local/share/applications
> And modify it as you wish.
>
>> > I do not use gnome and evince but i think you can check desktop
>> > files in /usr/share/applications and find file(s) with
>> > 'Exec=evince-previewer %U' And change it to 'Exec=evince %U'
>> >
>> >> I'd like to have PDF documents opened with the full evince app
>> >> instead of evince's "GNOME Document Previewer" since I can't get
>> >> copy/paste to work from the previewer.  How can I make that change
>> >> via console?
>>
>>
>> Ideally I would be able to edit the app/filetype associations in the
>> userdir.  Which files there control that?


Great, it looks like ~/.local/share/applications/mimeapps.list should
do it.  Where are exo-web-browser.desktop and exo-file-manager.desktop
defined?

- Grant


More information about the Xfce mailing list