Firefox from Mozilla APT repo keeps asking to be set as default and creates strange .desktop file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
โ10-11-2024 07:15 PM - edited โ10-11-2024 07:19 PM
I installed Firefox on my Ubuntu 22.04 from the Mozilla APT repo as suggested here:
It works fine, however, the problem is that when I launch Firefox it keeps asking me to set it as the default browser application when in fact it is already the default (I can confirm it in Settings -> Default Applications). If I answer Yes, it creates a new shortcut (.desktop file) for itself in ~/.local/share/applications for some odd reason and names it something like userapp-Firefox-XXXXXX.desktop. And after I do this, there are two instances of Firefox listed in Default Applications dropdown.
I don't understand why it can't just use the existing file /usr/share/applications/firefox.desktop. Can anyone elaborate?

