Patrick Burroughs (Celti) wrote:
On Wed, 16 Mar 2016 22:08:46 -0700 Kyle Terrien <kyleterrien@gmail.com> wrote:
So, somehow my default web browser got changed from SeaMonkey back to Firefox. (Bleh!)
[...]
In ~/.local/share/applications/ (where user-customized .desktop files go), there were several files in the format userapp-<appname>-<short_hash>.desktop.
userapp-Firefox-FIK3WX.desktop userapp-Pale Moon-1HNY8X.desktop userapp-SeaMonkey-YV09AY.desktop userapp-Thunderbird-PIZCZW.desktop
If I'm not mistaken, those files and their associated mimeinfo entries are created every time you set Firefox/SeaMonkey/PaleMoon as you default browser, as the mechanism of such.
~Celti
That's correct. I can confirm that if I go to SeaMonkey's Edit > Preferences and click "Set default browser", then a new userapp file is created. This userapp .desktop file is then inserted into ~/.config/mimeapps.list. Good catch, and thank you! $ ls .local/share/applications/ mimeinfo.cache userapp-SeaMonkey-45D4DY.desktop $ cat .local/share/applications/userapp-SeaMonkey-45D4DY.desktop [Desktop Entry] Encoding=UTF-8 Version=1.0 Type=Application NoDisplay=true Exec=/usr/lib/seamonkey-2.40/seamonkey %u Name=SeaMonkey Comment=Custom definition for SeaMonkey $ cat .local/share/applications/mimeinfo.cache [MIME Cache] $ --Kyle