[Bug 2027828] Re: firefox: No Firefox entry in the menu for MATE -- For ex. Ubuntu MATE, and Trisquel (that comes without snap)
David Hedlund
2027828 at bugs.launchpad.net
Sat Jul 15 06:47:51 UTC 2023
** Description changed:
This issue is easy to reproduce by running Ubuntu MATE 22.04, or
Trisquel 11 (a distro based on Ubuntu 22.04 with MATE installed), in
live mode.
#################################
Ubuntu MATE 22.04
* "Menu -> Internet -> Firefox Web Browser". Selected information about
the entry:
/var/lib/snapd/desktop/applications/firefox_firefox.desktop
Name=Firefox Web Browser
Exec=env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/firefox_firefox.desktop /snap/bin/firefox %u
Icon=/snap/firefox/2356/default256.png
¤¤¤¤
Remove firefox snap package
[Disclaimer: snap is not the issue for this bug, because Trisquel (a
GNU/Linux distribution based on Ubuntu) ships without snap, and Firefox
is not added to the menu when I installed firefox (see the "Install
firefox"). We only remove it below to make it possible to install the
firefox ppa package.]
Run these steps (from https://askubuntu.com/questions/1399383/how-to-
install-firefox-as-a-traditional-deb-package-without-snap-in-ubuntu-22):
echo '
Package: *
Pin: release o=LP-PPA-mozillateam
Pin-Priority: 1001
Package: firefox
Pin: version 1:1snap1-0ubuntu2
Pin-Priority: -1
' | sudo tee /etc/apt/preferences.d/mozilla-firefox
sudo snap remove firefox
echo 'Unattended-Upgrade::Allowed-Origins:: "LP-PPA-
mozillateam:${distro_codename}";' | sudo tee
/etc/apt/apt.conf.d/51unattended-upgrades-firefox
* Menu -> Internet -- has been removed
##############################
Install firefox from this PPA
Run:
sudo add-apt-repository ppa:mozillateam/ppa
sudo apt update
sudo apt install firefox
- * /usr/share/applications/firefox.desktop is added.
* "Menu -> Internet -> Firefox Web Browser" is not added (so "Menu -> Internet" -- is still removed)
+ * /usr/share/applications/firefox.desktop is added. Selected information about the file:
+
+ Name=Firefox Web Browser
+ Exec=firefox %u
+ Icon=firefox
+
##############################
Install thunderbird from this PPA
This section has been added to examine why "Menu -> Internet ->
Thunderbird Mail" but not "Menu -> Internet -> Firefox Web Browser"
* Run: sudo apt install thunderbird
* "Menu -> Internet -> Thunderbird Mail" is added. Information about the entry:
* /usr/share/applications/thunderbird.desktop is added. Selected information about the file:
Name=Thunderbird Mail
Exec=thunderbird %u
Icon=thunderbird
##############################
Temporary solution to add "Firefox Web Browser" to the menu:
* cp /usr/share/applications/firefox.desktop
~/.local/share/applications/
--
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/2027828
Title:
firefox: No Firefox entry in the menu for MATE -- For ex. Ubuntu MATE,
and Trisquel (that comes without snap)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/2027828/+subscriptions
More information about the Ubuntu-mozillateam-bugs
mailing list