User Tools

Site Tools


user:yan:archmime

This is an old revision of the document!


Default applications handling in archlinux

As archlinux could be run almost as minimalistic as you wish, you don't really need to have some default application handler and you can do it on your own. Priority of default application selection is described in archlinux wiki. If no program is set as default for specific event, order from /usr/share/applications/mimeinfo.cache is used.

changing default browser

as C is third in alphabet compared to F and there is to my best knowledge no NoScript in chromium, some changes should be made. By directly editing mimeinfo.cache mentioned above, you can easily confirm that no other configuration list is in operation (just changing browser mime on first position in this file - fe change chromium to firefox or vim or anything else.. - don't forget to put it back when you're finished), if change of default browser occurs, there is no mimeapps.list which manages considered action. Than it's easy task to just edit your ~/.config/mimeapps.list accordingly:

[Default Applications]
...
...
x-scheme-handler/http=firefox.desktop;
x-scheme-handler/https=firefox.desktop;

[Added Associations]
...
user/yan/archmime.1487651874.txt.gz · Last modified: 2017/02/21 04:37 by yan