** 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.
  
  #################################
  Pre-required steps in Ubuntu MATE 22.04 before you run the next sections
  
  * MATE in the default Panel's Classic 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
+ * In GNOME: The firefox icon will be removed at reboot
  
  ##############################
  Install firefox from this PPA
  
  Status: Entry NOT visible in the menu
  
  Run:
  sudo add-apt-repository ppa:mozillateam/ppa
  sudo apt update
  sudo apt install firefox
  
  * MATE in the default Panel's Classic Menu: "Internet -> Firefox Web Browser" 
is not added (see attached screenshot)
  * /usr/share/applications/firefox.desktop is added. Selected information 
about the file:
  
  Name=Firefox Web Browser
  Exec=firefox %u
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=firefox
  Categories=GNOME;GTK;Network;WebBrowser;
  
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
  StartupNotify=true
  Actions=new-window;new-private-window;
  
  Examine the file:
  * desktop-file-validate /usr/share/applications/firefox.desktop # No errors
  
  Supprisingly, if you copy the file it will become visible!:
  * cd /usr/share/applications/ && sudo cp firefox.desktop 
firefoxworking.desktop
  
  ##############################
  Install firefox-esr from this PPA
  
  Status: Entry visible in the menu
  
  This section has been added to examine why the firefox-esr package, but
  not the firefox package is adding an entry to "Menu -> Internet"
  
  * Run: sudo apt install firefox-esr
  * MATE in the default Panel's Classic Menu: "Internet -> Firefox Web 
Browser"[1] is added. Information about the entry:
  * /usr/share/applications/firefox-esr.desktop is added. Selected information 
about the file:
  
  Name=Firefox Web Browser
  Exec=firefox-esr %u
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=firefox-esr
  Categories=GNOME;GTK;Network;WebBrowser;
  
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
  StartupNotify=true
  StartupWMClass=firefox-esr-esr102
  Actions=new-window;new-private-window;
  
  desktop-file-validate /usr/share/applications/firefox-esr.desktop # No
  errors
  
  1: A minor issue not related to this bug that I filed at
  https://bugs.launchpad.net/ubuntu/+source/firefox-esr/+bug/2028439: The
  entry is correctly added, but "Name=Firefox Web Browser" in
  /usr/share/applications/firefox-esr.desktop should be changed to
  "Name=Firefox ESR Web Browser" (Debian stable firefox-esr package ships
  with "Name=Firefox ESR" in /usr/share/applications/firefox-esr.desktop).
  
  ##############################
  
  Install thunderbird from this PPA
  
  Status: Entry visible in the menu
  
  This section has been added to examine why "Menu -> Internet ->
  Thunderbird Mail" but not "Menu -> Internet -> Firefox Web Browser"
  
  * Run: sudo apt install thunderbird
  * MATE in the default Panel's Classic 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
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=thunderbird
  Categories=Application;Network;Email;
  
MimeType=x-scheme-handler/mailto;application/x-xpinstall;x-scheme-handler/webcal;x-scheme-handler/mid;message/rfc822;
  StartupNotify=true
  Actions=Compose;Contacts
  
  desktop-file-validate /usr/share/applications/thunderbird.desktop # No
  errors
  
  ##############################
  Temporary solution to add "Firefox Web Browser" to the menu:
  
  * sudo cp firefox.desktop firefoxworking.desktop
  
  or
  
  * cp /usr/share/applications/firefox.desktop
  ~/.local/share/applications/

** Summary changed:

- firefox: firefox.desktop not visible in MATE in the default Panel's Classic 
Menu (Ubuntu MATE, and Trisquel), but copies of it becomes visible
+ firefox: firefox.desktop not visible in GNOME, or MATE

** 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.
  
+ 
  #################################
- Pre-required steps in Ubuntu MATE 22.04 before you run the next sections
+ Pre-required steps
  
- * MATE in the default Panel's Classic Menu: "Internet -> Firefox Web
- Browser". Selected information about the entry:
+ About Firefox snap package that comes with Ubuntu
+ * In Ubuntu MATE 22.04: The default Panel's Classic Menu: "Internet -> 
Firefox Web Browser". 
+ * In Ubuntu 22.04: In GNOME, it's visible in the menu. It also added to 
Favorites.
  
+ 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
- * In GNOME: The firefox icon will be removed at reboot
+ * Menu -> Internet -- has been removed. But the Panel icon will not be 
removed, you have to remove it manually.
+ * In GNOME: The firefox icon will be removed at reboot from both the menu, 
and the Favorite icon will be removed as well.
  
  ##############################
  Install firefox from this PPA
  
  Status: Entry NOT visible in the menu
  
  Run:
  sudo add-apt-repository ppa:mozillateam/ppa
  sudo apt update
  sudo apt install firefox
  
- * MATE in the default Panel's Classic Menu: "Internet -> Firefox Web Browser" 
is not added (see attached screenshot)
- * /usr/share/applications/firefox.desktop is added. Selected information 
about the file:
+ * Ubuntu MATE in the default Panel's Classic Menu: "Internet -> Firefox Web 
Browser" is not added (see attached screenshot). but if you copy the desktop 
icon it will become visible: cd /usr/share/applications/ && sudo cp 
firefox.desktop firefoxworking.desktop
+ * Ubuntu: Firefox is not added to the menu. It will not become visible if you 
make a copy of /usr/share/applications/firefox.desktop (the method that works 
for Ubuntu MATE)
+ 
+ * /usr/share/applications/firefox.desktop is added. Selected information
+ about the file:
  
  Name=Firefox Web Browser
  Exec=firefox %u
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=firefox
  Categories=GNOME;GTK;Network;WebBrowser;
  
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
  StartupNotify=true
  Actions=new-window;new-private-window;
  
  Examine the file:
  * desktop-file-validate /usr/share/applications/firefox.desktop # No errors
- 
- Supprisingly, if you copy the file it will become visible!:
- * cd /usr/share/applications/ && sudo cp firefox.desktop 
firefoxworking.desktop
  
  ##############################
  Install firefox-esr from this PPA
  
  Status: Entry visible in the menu
  
  This section has been added to examine why the firefox-esr package, but
  not the firefox package is adding an entry to "Menu -> Internet"
  
  * Run: sudo apt install firefox-esr
  * MATE in the default Panel's Classic Menu: "Internet -> Firefox Web 
Browser"[1] is added. Information about the entry:
  * /usr/share/applications/firefox-esr.desktop is added. Selected information 
about the file:
  
  Name=Firefox Web Browser
  Exec=firefox-esr %u
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=firefox-esr
  Categories=GNOME;GTK;Network;WebBrowser;
  
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
  StartupNotify=true
  StartupWMClass=firefox-esr-esr102
  Actions=new-window;new-private-window;
  
  desktop-file-validate /usr/share/applications/firefox-esr.desktop # No
  errors
  
  1: A minor issue not related to this bug that I filed at
  https://bugs.launchpad.net/ubuntu/+source/firefox-esr/+bug/2028439: The
  entry is correctly added, but "Name=Firefox Web Browser" in
  /usr/share/applications/firefox-esr.desktop should be changed to
  "Name=Firefox ESR Web Browser" (Debian stable firefox-esr package ships
  with "Name=Firefox ESR" in /usr/share/applications/firefox-esr.desktop).
  
  ##############################
  
  Install thunderbird from this PPA
  
  Status: Entry visible in the menu
  
  This section has been added to examine why "Menu -> Internet ->
  Thunderbird Mail" but not "Menu -> Internet -> Firefox Web Browser"
  
  * Run: sudo apt install thunderbird
  * MATE in the default Panel's Classic 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
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=thunderbird
  Categories=Application;Network;Email;
  
MimeType=x-scheme-handler/mailto;application/x-xpinstall;x-scheme-handler/webcal;x-scheme-handler/mid;message/rfc822;
  StartupNotify=true
  Actions=Compose;Contacts
  
  desktop-file-validate /usr/share/applications/thunderbird.desktop # No
  errors
  
  ##############################
  Temporary solution to add "Firefox Web Browser" to the menu:
  
  * sudo cp firefox.desktop firefoxworking.desktop
  
  or
  
  * cp /usr/share/applications/firefox.desktop
  ~/.local/share/applications/

** 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.
- 
  
  #################################
  Pre-required steps
  
  About Firefox snap package that comes with Ubuntu
- * In Ubuntu MATE 22.04: The default Panel's Classic Menu: "Internet -> 
Firefox Web Browser". 
+ * In Ubuntu MATE 22.04: The default Panel's Classic Menu: "Internet -> 
Firefox Web Browser".
  * In Ubuntu 22.04: In GNOME, it's visible in the menu. It also added to 
Favorites.
  
  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. But the Panel icon will not be 
removed, you have to remove it manually.
  * In GNOME: The firefox icon will be removed at reboot from both the menu, 
and the Favorite icon will be removed as well.
  
  ##############################
  Install firefox from this PPA
  
  Status: Entry NOT visible in the menu
  
  Run:
  sudo add-apt-repository ppa:mozillateam/ppa
  sudo apt update
  sudo apt install firefox
  
  * Ubuntu MATE in the default Panel's Classic Menu: "Internet -> Firefox Web 
Browser" is not added (see attached screenshot). but if you copy the desktop 
icon it will become visible: cd /usr/share/applications/ && sudo cp 
firefox.desktop firefoxworking.desktop
  * Ubuntu: Firefox is not added to the menu. It will not become visible if you 
make a copy of /usr/share/applications/firefox.desktop (the method that works 
for Ubuntu MATE)
  
  * /usr/share/applications/firefox.desktop is added. Selected information
  about the file:
  
  Name=Firefox Web Browser
  Exec=firefox %u
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=firefox
  Categories=GNOME;GTK;Network;WebBrowser;
  
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
  StartupNotify=true
  Actions=new-window;new-private-window;
  
  Examine the file:
  * desktop-file-validate /usr/share/applications/firefox.desktop # No errors
  
  ##############################
  Install firefox-esr from this PPA
  
  Status: Entry visible in the menu
  
  This section has been added to examine why the firefox-esr package, but
  not the firefox package is adding an entry to "Menu -> Internet"
  
  * Run: sudo apt install firefox-esr
- * MATE in the default Panel's Classic Menu: "Internet -> Firefox Web 
Browser"[1] is added. Information about the entry:
- * /usr/share/applications/firefox-esr.desktop is added. Selected information 
about the file:
+ * Ubuntu MATE 22.04: The default Panel's Classic Menu: "Internet -> Firefox 
Web Browser"[1] is added. Information about the entry:
+ * Ubuntu 22.04: "Firefox Web Browser"[1] is added to the menu
+ 
+ * /usr/share/applications/firefox-esr.desktop is added. Selected
+ information about the file:
  
  Name=Firefox Web Browser
  Exec=firefox-esr %u
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=firefox-esr
  Categories=GNOME;GTK;Network;WebBrowser;
  
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
  StartupNotify=true
  StartupWMClass=firefox-esr-esr102
  Actions=new-window;new-private-window;
  
  desktop-file-validate /usr/share/applications/firefox-esr.desktop # No
  errors
  
  1: A minor issue not related to this bug that I filed at
  https://bugs.launchpad.net/ubuntu/+source/firefox-esr/+bug/2028439: The
  entry is correctly added, but "Name=Firefox Web Browser" in
  /usr/share/applications/firefox-esr.desktop should be changed to
  "Name=Firefox ESR Web Browser" (Debian stable firefox-esr package ships
  with "Name=Firefox ESR" in /usr/share/applications/firefox-esr.desktop).
  
  ##############################
  
  Install thunderbird from this PPA
  
  Status: Entry visible in the menu
  
  This section has been added to examine why "Menu -> Internet ->
  Thunderbird Mail" but not "Menu -> Internet -> Firefox Web Browser"
  
  * Run: sudo apt install thunderbird
- * MATE in the default Panel's Classic Menu: "Internet -> Thunderbird Mail" is 
added. Information about the entry:
+ * Ubuntu MATE 22.04: The default Panel's Classic Menu: "Internet -> 
Thunderbird Mail" is added.
+ * Ubuntu 22.04: "Internet -> Thunderbird Mail" is added to the menu
+ 
+ Information about the entry:
  * /usr/share/applications/thunderbird.desktop is added. Selected information 
about the file:
  
  Name=Thunderbird Mail
  Exec=thunderbird %u
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=thunderbird
  Categories=Application;Network;Email;
  
MimeType=x-scheme-handler/mailto;application/x-xpinstall;x-scheme-handler/webcal;x-scheme-handler/mid;message/rfc822;
  StartupNotify=true
  Actions=Compose;Contacts
  
  desktop-file-validate /usr/share/applications/thunderbird.desktop # No
  errors
  
  ##############################
  Temporary solution to add "Firefox Web Browser" to the menu:
  
  * sudo cp firefox.desktop firefoxworking.desktop
  
  or
  
  * cp /usr/share/applications/firefox.desktop
  ~/.local/share/applications/

** 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.
  
  #################################
  Pre-required steps
  
  About Firefox snap package that comes with Ubuntu
  * In Ubuntu MATE 22.04: The default Panel's Classic Menu: "Internet -> 
Firefox Web Browser".
  * In Ubuntu 22.04: In GNOME, it's visible in the menu. It also added to 
Favorites.
  
  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):
+ Run these steps (from https://www.omgubuntu.co.uk/2022/04/how-to-
+ install-firefox-deb-apt-ubuntu-22-04):
+ 
+ sudo snap remove firefox
  
  echo '
  Package: *
  Pin: release o=LP-PPA-mozillateam
  Pin-Priority: 1001
+ ' | sudo tee /etc/apt/preferences.d/mozilla-firefox
  
- 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
+ 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. But the Panel icon will not be 
removed, you have to remove it manually.
  * In GNOME: The firefox icon will be removed at reboot from both the menu, 
and the Favorite icon will be removed as well.
  
  ##############################
  Install firefox from this PPA
  
  Status: Entry NOT visible in the menu
  
  Run:
  sudo add-apt-repository ppa:mozillateam/ppa
  sudo apt update
  sudo apt install firefox
  
  * Ubuntu MATE in the default Panel's Classic Menu: "Internet -> Firefox Web 
Browser" is not added (see attached screenshot). but if you copy the desktop 
icon it will become visible: cd /usr/share/applications/ && sudo cp 
firefox.desktop firefoxworking.desktop
  * Ubuntu: Firefox is not added to the menu. It will not become visible if you 
make a copy of /usr/share/applications/firefox.desktop (the method that works 
for Ubuntu MATE)
  
  * /usr/share/applications/firefox.desktop is added. Selected information
  about the file:
  
  Name=Firefox Web Browser
  Exec=firefox %u
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=firefox
  Categories=GNOME;GTK;Network;WebBrowser;
  
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
  StartupNotify=true
  Actions=new-window;new-private-window;
  
  Examine the file:
  * desktop-file-validate /usr/share/applications/firefox.desktop # No errors
  
  ##############################
  Install firefox-esr from this PPA
  
  Status: Entry visible in the menu
  
  This section has been added to examine why the firefox-esr package, but
  not the firefox package is adding an entry to "Menu -> Internet"
  
  * Run: sudo apt install firefox-esr
  * Ubuntu MATE 22.04: The default Panel's Classic Menu: "Internet -> Firefox 
Web Browser"[1] is added. Information about the entry:
  * Ubuntu 22.04: "Firefox Web Browser"[1] is added to the menu
  
  * /usr/share/applications/firefox-esr.desktop is added. Selected
  information about the file:
  
  Name=Firefox Web Browser
  Exec=firefox-esr %u
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=firefox-esr
  Categories=GNOME;GTK;Network;WebBrowser;
  
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
  StartupNotify=true
  StartupWMClass=firefox-esr-esr102
  Actions=new-window;new-private-window;
  
  desktop-file-validate /usr/share/applications/firefox-esr.desktop # No
  errors
  
  1: A minor issue not related to this bug that I filed at
  https://bugs.launchpad.net/ubuntu/+source/firefox-esr/+bug/2028439: The
  entry is correctly added, but "Name=Firefox Web Browser" in
  /usr/share/applications/firefox-esr.desktop should be changed to
  "Name=Firefox ESR Web Browser" (Debian stable firefox-esr package ships
  with "Name=Firefox ESR" in /usr/share/applications/firefox-esr.desktop).
  
  ##############################
  
  Install thunderbird from this PPA
  
  Status: Entry visible in the menu
  
  This section has been added to examine why "Menu -> Internet ->
  Thunderbird Mail" but not "Menu -> Internet -> Firefox Web Browser"
  
  * Run: sudo apt install thunderbird
  * Ubuntu MATE 22.04: The default Panel's Classic Menu: "Internet -> 
Thunderbird Mail" is added.
  * Ubuntu 22.04: "Internet -> Thunderbird Mail" is added to the menu
  
  Information about the entry:
  * /usr/share/applications/thunderbird.desktop is added. Selected information 
about the file:
  
  Name=Thunderbird Mail
  Exec=thunderbird %u
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=thunderbird
  Categories=Application;Network;Email;
  
MimeType=x-scheme-handler/mailto;application/x-xpinstall;x-scheme-handler/webcal;x-scheme-handler/mid;message/rfc822;
  StartupNotify=true
  Actions=Compose;Contacts
  
  desktop-file-validate /usr/share/applications/thunderbird.desktop # No
  errors
  
  ##############################
  Temporary solution to add "Firefox Web Browser" to the menu:
  
  * sudo cp firefox.desktop firefoxworking.desktop
  
  or
  
  * cp /usr/share/applications/firefox.desktop
  ~/.local/share/applications/

** 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.
  
  #################################
- Pre-required steps
+ Firefor snap
  
  About Firefox snap package that comes with Ubuntu
  * In Ubuntu MATE 22.04: The default Panel's Classic Menu: "Internet -> 
Firefox Web Browser".
  * In Ubuntu 22.04: In GNOME, it's visible in the menu. It also added to 
Favorites.
  
  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://www.omgubuntu.co.uk/2022/04/how-to-
  install-firefox-deb-apt-ubuntu-22-04):
  
  sudo snap remove firefox
  
  echo '
  Package: *
  Pin: release o=LP-PPA-mozillateam
  Pin-Priority: 1001
  ' | sudo tee /etc/apt/preferences.d/mozilla-firefox
  
+ echo 'Unattended-Upgrade::Allowed-Origins:: "LP-PPA-
+ mozillateam:${distro_codename}";' | sudo tee
+ /etc/apt/apt.conf.d/51unattended-upgrades-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. But the Panel icon will not be 
removed, you have to remove it manually.
- * In GNOME: The firefox icon will be removed at reboot from both the menu, 
and the Favorite icon will be removed as well.
+ * Ubuntu MATE 22.04: Menu -> Internet -- has been removed. But the Panel icon 
will not be removed, you have to remove it manually.
+ * Ubuntu 22.04 (GNOME): Firefox is removed from both the menu and from 
Favorites.
  
  ##############################
  Install firefox from this PPA
  
  Status: Entry NOT visible in the menu
  
  Run:
  sudo add-apt-repository ppa:mozillateam/ppa
  sudo apt update
  sudo apt install firefox
  
  * Ubuntu MATE in the default Panel's Classic Menu: "Internet -> Firefox Web 
Browser" is not added (see attached screenshot). but if you copy the desktop 
icon it will become visible: cd /usr/share/applications/ && sudo cp 
firefox.desktop firefoxworking.desktop
  * Ubuntu: Firefox is not added to the menu. It will not become visible if you 
make a copy of /usr/share/applications/firefox.desktop (the method that works 
for Ubuntu MATE)
  
  * /usr/share/applications/firefox.desktop is added. Selected information
  about the file:
  
  Name=Firefox Web Browser
  Exec=firefox %u
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=firefox
  Categories=GNOME;GTK;Network;WebBrowser;
  
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
  StartupNotify=true
  Actions=new-window;new-private-window;
  
  Examine the file:
  * desktop-file-validate /usr/share/applications/firefox.desktop # No errors
  
  ##############################
  Install firefox-esr from this PPA
  
  Status: Entry visible in the menu
  
  This section has been added to examine why the firefox-esr package, but
  not the firefox package is adding an entry to "Menu -> Internet"
  
  * Run: sudo apt install firefox-esr
  * Ubuntu MATE 22.04: The default Panel's Classic Menu: "Internet -> Firefox 
Web Browser"[1] is added. Information about the entry:
  * Ubuntu 22.04: "Firefox Web Browser"[1] is added to the menu
  
  * /usr/share/applications/firefox-esr.desktop is added. Selected
  information about the file:
  
  Name=Firefox Web Browser
  Exec=firefox-esr %u
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=firefox-esr
  Categories=GNOME;GTK;Network;WebBrowser;
  
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
  StartupNotify=true
  StartupWMClass=firefox-esr-esr102
  Actions=new-window;new-private-window;
  
  desktop-file-validate /usr/share/applications/firefox-esr.desktop # No
  errors
  
  1: A minor issue not related to this bug that I filed at
  https://bugs.launchpad.net/ubuntu/+source/firefox-esr/+bug/2028439: The
  entry is correctly added, but "Name=Firefox Web Browser" in
  /usr/share/applications/firefox-esr.desktop should be changed to
  "Name=Firefox ESR Web Browser" (Debian stable firefox-esr package ships
  with "Name=Firefox ESR" in /usr/share/applications/firefox-esr.desktop).
  
  ##############################
  
  Install thunderbird from this PPA
  
  Status: Entry visible in the menu
  
  This section has been added to examine why "Menu -> Internet ->
  Thunderbird Mail" but not "Menu -> Internet -> Firefox Web Browser"
  
  * Run: sudo apt install thunderbird
  * Ubuntu MATE 22.04: The default Panel's Classic Menu: "Internet -> 
Thunderbird Mail" is added.
  * Ubuntu 22.04: "Internet -> Thunderbird Mail" is added to the menu
  
  Information about the entry:
  * /usr/share/applications/thunderbird.desktop is added. Selected information 
about the file:
  
  Name=Thunderbird Mail
  Exec=thunderbird %u
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=thunderbird
  Categories=Application;Network;Email;
  
MimeType=x-scheme-handler/mailto;application/x-xpinstall;x-scheme-handler/webcal;x-scheme-handler/mid;message/rfc822;
  StartupNotify=true
  Actions=Compose;Contacts
  
  desktop-file-validate /usr/share/applications/thunderbird.desktop # No
  errors
  
  ##############################
  Temporary solution to add "Firefox Web Browser" to the menu:
  
  * sudo cp firefox.desktop firefoxworking.desktop
  
  or
  
  * cp /usr/share/applications/firefox.desktop
  ~/.local/share/applications/

** 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.
  
  #################################
  Firefor snap
  
  About Firefox snap package that comes with Ubuntu
  * In Ubuntu MATE 22.04: The default Panel's Classic Menu: "Internet -> 
Firefox Web Browser".
  * In Ubuntu 22.04: In GNOME, it's visible in the menu. It also added to 
Favorites.
  
  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://www.omgubuntu.co.uk/2022/04/how-to-
  install-firefox-deb-apt-ubuntu-22-04):
  
  sudo snap remove firefox
  
  echo '
  Package: *
  Pin: release o=LP-PPA-mozillateam
  Pin-Priority: 1001
  ' | sudo tee /etc/apt/preferences.d/mozilla-firefox
  
  echo 'Unattended-Upgrade::Allowed-Origins:: "LP-PPA-
  mozillateam:${distro_codename}";' | sudo tee
  /etc/apt/apt.conf.d/51unattended-upgrades-firefox
  
  * Ubuntu MATE 22.04: Menu -> Internet -- has been removed. But the Panel icon 
will not be removed, you have to remove it manually.
  * Ubuntu 22.04 (GNOME): Firefox is removed from both the menu and from 
Favorites.
  
  ##############################
- Install firefox from this PPA
+ Install firefox from the official PPA
  
  Status: Entry NOT visible in the menu
  
  Run:
  sudo add-apt-repository ppa:mozillateam/ppa
  sudo apt update
  sudo apt install firefox
  
  * Ubuntu MATE in the default Panel's Classic Menu: "Internet -> Firefox Web 
Browser" is not added (see attached screenshot). but if you copy the desktop 
icon it will become visible: cd /usr/share/applications/ && sudo cp 
firefox.desktop firefoxworking.desktop
  * Ubuntu: Firefox is not added to the menu. It will not become visible if you 
make a copy of /usr/share/applications/firefox.desktop (the method that works 
for Ubuntu MATE)
  
  * /usr/share/applications/firefox.desktop is added. Selected information
  about the file:
  
  Name=Firefox Web Browser
  Exec=firefox %u
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=firefox
  Categories=GNOME;GTK;Network;WebBrowser;
  
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
  StartupNotify=true
  Actions=new-window;new-private-window;
  
  Examine the file:
  * desktop-file-validate /usr/share/applications/firefox.desktop # No errors
  
  ##############################
- Install firefox-esr from this PPA
+ Install firefox-esr from the official PPA
  
  Status: Entry visible in the menu
  
  This section has been added to examine why the firefox-esr package, but
  not the firefox package is adding an entry to "Menu -> Internet"
  
  * Run: sudo apt install firefox-esr
  * Ubuntu MATE 22.04: The default Panel's Classic Menu: "Internet -> Firefox 
Web Browser"[1] is added. Information about the entry:
  * Ubuntu 22.04: "Firefox Web Browser"[1] is added to the menu
  
  * /usr/share/applications/firefox-esr.desktop is added. Selected
  information about the file:
  
  Name=Firefox Web Browser
  Exec=firefox-esr %u
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=firefox-esr
  Categories=GNOME;GTK;Network;WebBrowser;
  
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
  StartupNotify=true
  StartupWMClass=firefox-esr-esr102
  Actions=new-window;new-private-window;
  
  desktop-file-validate /usr/share/applications/firefox-esr.desktop # No
  errors
  
  1: A minor issue not related to this bug that I filed at
  https://bugs.launchpad.net/ubuntu/+source/firefox-esr/+bug/2028439: The
  entry is correctly added, but "Name=Firefox Web Browser" in
  /usr/share/applications/firefox-esr.desktop should be changed to
  "Name=Firefox ESR Web Browser" (Debian stable firefox-esr package ships
  with "Name=Firefox ESR" in /usr/share/applications/firefox-esr.desktop).
  
  ##############################
  
  Install thunderbird from this PPA
  
  Status: Entry visible in the menu
  
  This section has been added to examine why "Menu -> Internet ->
  Thunderbird Mail" but not "Menu -> Internet -> Firefox Web Browser"
  
  * Run: sudo apt install thunderbird
  * Ubuntu MATE 22.04: The default Panel's Classic Menu: "Internet -> 
Thunderbird Mail" is added.
  * Ubuntu 22.04: "Internet -> Thunderbird Mail" is added to the menu
  
  Information about the entry:
  * /usr/share/applications/thunderbird.desktop is added. Selected information 
about the file:
  
  Name=Thunderbird Mail
  Exec=thunderbird %u
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=thunderbird
  Categories=Application;Network;Email;
  
MimeType=x-scheme-handler/mailto;application/x-xpinstall;x-scheme-handler/webcal;x-scheme-handler/mid;message/rfc822;
  StartupNotify=true
  Actions=Compose;Contacts
  
  desktop-file-validate /usr/share/applications/thunderbird.desktop # No
  errors
  
  ##############################
  Temporary solution to add "Firefox Web Browser" to the menu:
  
  * sudo cp firefox.desktop firefoxworking.desktop
  
  or
  
  * cp /usr/share/applications/firefox.desktop
  ~/.local/share/applications/

** Summary changed:

- firefox: firefox.desktop not visible in GNOME, or MATE
+ firefox: firefox.desktop not visible in MATE's Brisk Menu

** 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.
  
  #################################
- Firefor snap
+ Firefox snap
  
  About Firefox snap package that comes with Ubuntu
  * In Ubuntu MATE 22.04: The default Panel's Classic Menu: "Internet -> 
Firefox Web Browser".
  * In Ubuntu 22.04: In GNOME, it's visible in the menu. It also added to 
Favorites.
  
  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://www.omgubuntu.co.uk/2022/04/how-to-
  install-firefox-deb-apt-ubuntu-22-04):
  
  sudo snap remove firefox
  
  echo '
  Package: *
  Pin: release o=LP-PPA-mozillateam
  Pin-Priority: 1001
  ' | sudo tee /etc/apt/preferences.d/mozilla-firefox
  
  echo 'Unattended-Upgrade::Allowed-Origins:: "LP-PPA-
  mozillateam:${distro_codename}";' | sudo tee
  /etc/apt/apt.conf.d/51unattended-upgrades-firefox
  
- * Ubuntu MATE 22.04: Menu -> Internet -- has been removed. But the Panel icon 
will not be removed, you have to remove it manually.
- * Ubuntu 22.04 (GNOME): Firefox is removed from both the menu and from 
Favorites.
+ * Ubuntu MATE 22.04: "Firefox Web Browser" is removed from the Brisk Menu 
(actually the whole "Internet" category is removed from the Brisk Menu since 
"Firefox Web Browser" was the only item). But the Panel icon is not removed 
right away automatically (you have to reboot), or delete it manually.
+ * Ubuntu 22.04 (GNOME): "Firefox Web Browser" is removed from both the menu 
and from Favorites.
  
  ##############################
  Install firefox from the official PPA
  
  Status: Entry NOT visible in the menu
  
  Run:
  sudo add-apt-repository ppa:mozillateam/ppa
  sudo apt update
  sudo apt install firefox
  
- * Ubuntu MATE in the default Panel's Classic Menu: "Internet -> Firefox Web 
Browser" is not added (see attached screenshot). but if you copy the desktop 
icon it will become visible: cd /usr/share/applications/ && sudo cp 
firefox.desktop firefoxworking.desktop
- * Ubuntu: Firefox is not added to the menu. It will not become visible if you 
make a copy of /usr/share/applications/firefox.desktop (the method that works 
for Ubuntu MATE)
+ * Ubuntu: "Firefox Web Browser" is added to the menu.
+ * Ubuntu MATE in the default Panel's Classic Menu: "Internet -> Firefox Web 
Browser" is not added (see attached screenshot). But if you copy the desktop 
icon it will become visible: cd /usr/share/applications/ && sudo cp 
firefox.desktop firefoxworking.desktop
  
  * /usr/share/applications/firefox.desktop is added. Selected information
  about the file:
  
  Name=Firefox Web Browser
  Exec=firefox %u
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=firefox
  Categories=GNOME;GTK;Network;WebBrowser;
  
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
  StartupNotify=true
  Actions=new-window;new-private-window;
  
  Examine the file:
  * desktop-file-validate /usr/share/applications/firefox.desktop # No errors
  
  ##############################
  Install firefox-esr from the official PPA
  
  Status: Entry visible in the menu
  
  This section has been added to examine why the firefox-esr package, but
  not the firefox package is adding an entry to "Menu -> Internet"
  
  * Run: sudo apt install firefox-esr
+ * Ubuntu 22.04: "Firefox Web Browser"[1] is added to the menu
  * Ubuntu MATE 22.04: The default Panel's Classic Menu: "Internet -> Firefox 
Web Browser"[1] is added. Information about the entry:
- * Ubuntu 22.04: "Firefox Web Browser"[1] is added to the menu
  
  * /usr/share/applications/firefox-esr.desktop is added. Selected
  information about the file:
  
  Name=Firefox Web Browser
  Exec=firefox-esr %u
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=firefox-esr
  Categories=GNOME;GTK;Network;WebBrowser;
  
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
  StartupNotify=true
  StartupWMClass=firefox-esr-esr102
  Actions=new-window;new-private-window;
  
  desktop-file-validate /usr/share/applications/firefox-esr.desktop # No
  errors
  
  1: A minor issue not related to this bug that I filed at
  https://bugs.launchpad.net/ubuntu/+source/firefox-esr/+bug/2028439: The
  entry is correctly added, but "Name=Firefox Web Browser" in
  /usr/share/applications/firefox-esr.desktop should be changed to
  "Name=Firefox ESR Web Browser" (Debian stable firefox-esr package ships
  with "Name=Firefox ESR" in /usr/share/applications/firefox-esr.desktop).
  
  ##############################
  
  Install thunderbird from this PPA
  
  Status: Entry visible in the menu
  
  This section has been added to examine why "Menu -> Internet ->
  Thunderbird Mail" but not "Menu -> Internet -> Firefox Web Browser"
  
  * Run: sudo apt install thunderbird
+ * Ubuntu 22.04: "Internet -> Thunderbird Mail" is added to the menu
  * Ubuntu MATE 22.04: The default Panel's Classic Menu: "Internet -> 
Thunderbird Mail" is added.
- * Ubuntu 22.04: "Internet -> Thunderbird Mail" is added to the menu
  
  Information about the entry:
  * /usr/share/applications/thunderbird.desktop is added. Selected information 
about the file:
  
  Name=Thunderbird Mail
  Exec=thunderbird %u
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=thunderbird
  Categories=Application;Network;Email;
  
MimeType=x-scheme-handler/mailto;application/x-xpinstall;x-scheme-handler/webcal;x-scheme-handler/mid;message/rfc822;
  StartupNotify=true
  Actions=Compose;Contacts
  
  desktop-file-validate /usr/share/applications/thunderbird.desktop # No
  errors
  
  ##############################
  Temporary solution to add "Firefox Web Browser" to the menu:
  
  * sudo cp firefox.desktop firefoxworking.desktop
  
  or
  
  * cp /usr/share/applications/firefox.desktop
  ~/.local/share/applications/

** 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.
  
  #################################
  Firefox snap
  
  About Firefox snap package that comes with Ubuntu
  * In Ubuntu MATE 22.04: The default Panel's Classic Menu: "Internet -> 
Firefox Web Browser".
  * In Ubuntu 22.04: In GNOME, it's visible in the menu. It also added to 
Favorites.
  
  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://www.omgubuntu.co.uk/2022/04/how-to-
  install-firefox-deb-apt-ubuntu-22-04):
  
  sudo snap remove firefox
  
  echo '
  Package: *
  Pin: release o=LP-PPA-mozillateam
  Pin-Priority: 1001
  ' | sudo tee /etc/apt/preferences.d/mozilla-firefox
  
  echo 'Unattended-Upgrade::Allowed-Origins:: "LP-PPA-
  mozillateam:${distro_codename}";' | sudo tee
  /etc/apt/apt.conf.d/51unattended-upgrades-firefox
  
- * Ubuntu MATE 22.04: "Firefox Web Browser" is removed from the Brisk Menu 
(actually the whole "Internet" category is removed from the Brisk Menu since 
"Firefox Web Browser" was the only item). But the Panel icon is not removed 
right away automatically (you have to reboot), or delete it manually.
+ * Ubuntu MATE 22.04: "Firefox Web Browser" is removed from the Brisk Menu 
(actually the whole "Internet" category is removed from the Brisk Menu since 
"Firefox Web Browser" was the only item). This issue is not related to this bug 
report: The Panel icon is not removed right away automatically (you have to 
reboot), or delete it manually.
  * Ubuntu 22.04 (GNOME): "Firefox Web Browser" is removed from both the menu 
and from Favorites.
  
  ##############################
  Install firefox from the official PPA
  
  Status: Entry NOT visible in the menu
  
  Run:
  sudo add-apt-repository ppa:mozillateam/ppa
  sudo apt update
  sudo apt install firefox
  
  * Ubuntu: "Firefox Web Browser" is added to the menu.
  * Ubuntu MATE in the default Panel's Classic Menu: "Internet -> Firefox Web 
Browser" is not added (see attached screenshot). But if you copy the desktop 
icon it will become visible: cd /usr/share/applications/ && sudo cp 
firefox.desktop firefoxworking.desktop
  
  * /usr/share/applications/firefox.desktop is added. Selected information
  about the file:
  
  Name=Firefox Web Browser
  Exec=firefox %u
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=firefox
  Categories=GNOME;GTK;Network;WebBrowser;
  
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
  StartupNotify=true
  Actions=new-window;new-private-window;
  
  Examine the file:
  * desktop-file-validate /usr/share/applications/firefox.desktop # No errors
  
  ##############################
  Install firefox-esr from the official PPA
  
  Status: Entry visible in the menu
  
  This section has been added to examine why the firefox-esr package, but
  not the firefox package is adding an entry to "Menu -> Internet"
  
  * Run: sudo apt install firefox-esr
  * Ubuntu 22.04: "Firefox Web Browser"[1] is added to the menu
  * Ubuntu MATE 22.04: The default Panel's Classic Menu: "Internet -> Firefox 
Web Browser"[1] is added. Information about the entry:
  
  * /usr/share/applications/firefox-esr.desktop is added. Selected
  information about the file:
  
  Name=Firefox Web Browser
  Exec=firefox-esr %u
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=firefox-esr
  Categories=GNOME;GTK;Network;WebBrowser;
  
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
  StartupNotify=true
  StartupWMClass=firefox-esr-esr102
  Actions=new-window;new-private-window;
  
  desktop-file-validate /usr/share/applications/firefox-esr.desktop # No
  errors
  
  1: A minor issue not related to this bug that I filed at
  https://bugs.launchpad.net/ubuntu/+source/firefox-esr/+bug/2028439: The
  entry is correctly added, but "Name=Firefox Web Browser" in
  /usr/share/applications/firefox-esr.desktop should be changed to
  "Name=Firefox ESR Web Browser" (Debian stable firefox-esr package ships
  with "Name=Firefox ESR" in /usr/share/applications/firefox-esr.desktop).
  
  ##############################
  
  Install thunderbird from this PPA
  
  Status: Entry visible in the menu
  
  This section has been added to examine why "Menu -> Internet ->
  Thunderbird Mail" but not "Menu -> Internet -> Firefox Web Browser"
  
  * Run: sudo apt install thunderbird
  * Ubuntu 22.04: "Internet -> Thunderbird Mail" is added to the menu
  * Ubuntu MATE 22.04: The default Panel's Classic 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
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=thunderbird
  Categories=Application;Network;Email;
  
MimeType=x-scheme-handler/mailto;application/x-xpinstall;x-scheme-handler/webcal;x-scheme-handler/mid;message/rfc822;
  StartupNotify=true
  Actions=Compose;Contacts
  
  desktop-file-validate /usr/share/applications/thunderbird.desktop # No
  errors
  
  ##############################
  Temporary solution to add "Firefox Web Browser" to the menu:
  
  * sudo cp firefox.desktop firefoxworking.desktop
  
  or
  
  * cp /usr/share/applications/firefox.desktop
  ~/.local/share/applications/

** 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.
  
  #################################
  Firefox snap
+ 
+ Disclaimer: This step is not needed in Trisquel (a distro based on
+ Ubuntu + MATE).
  
  About Firefox snap package that comes with Ubuntu
  * In Ubuntu MATE 22.04: The default Panel's Classic Menu: "Internet -> 
Firefox Web Browser".
  * In Ubuntu 22.04: In GNOME, it's visible in the menu. It also added to 
Favorites.
  
  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://www.omgubuntu.co.uk/2022/04/how-to-
  install-firefox-deb-apt-ubuntu-22-04):
  
  sudo snap remove firefox
  
  echo '
  Package: *
  Pin: release o=LP-PPA-mozillateam
  Pin-Priority: 1001
  ' | sudo tee /etc/apt/preferences.d/mozilla-firefox
  
  echo 'Unattended-Upgrade::Allowed-Origins:: "LP-PPA-
  mozillateam:${distro_codename}";' | sudo tee
  /etc/apt/apt.conf.d/51unattended-upgrades-firefox
  
  * Ubuntu MATE 22.04: "Firefox Web Browser" is removed from the Brisk Menu 
(actually the whole "Internet" category is removed from the Brisk Menu since 
"Firefox Web Browser" was the only item). This issue is not related to this bug 
report: The Panel icon is not removed right away automatically (you have to 
reboot), or delete it manually.
  * Ubuntu 22.04 (GNOME): "Firefox Web Browser" is removed from both the menu 
and from Favorites.
  
  ##############################
  Install firefox from the official PPA
  
  Status: Entry NOT visible in the menu
  
  Run:
  sudo add-apt-repository ppa:mozillateam/ppa
  sudo apt update
  sudo apt install firefox
  
  * Ubuntu: "Firefox Web Browser" is added to the menu.
  * Ubuntu MATE in the default Panel's Classic Menu: "Internet -> Firefox Web 
Browser" is not added (see attached screenshot). But if you copy the desktop 
icon it will become visible: cd /usr/share/applications/ && sudo cp 
firefox.desktop firefoxworking.desktop
  
  * /usr/share/applications/firefox.desktop is added. Selected information
  about the file:
  
  Name=Firefox Web Browser
  Exec=firefox %u
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=firefox
  Categories=GNOME;GTK;Network;WebBrowser;
  
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
  StartupNotify=true
  Actions=new-window;new-private-window;
  
  Examine the file:
  * desktop-file-validate /usr/share/applications/firefox.desktop # No errors
  
  ##############################
  Install firefox-esr from the official PPA
  
  Status: Entry visible in the menu
  
  This section has been added to examine why the firefox-esr package, but
  not the firefox package is adding an entry to "Menu -> Internet"
  
  * Run: sudo apt install firefox-esr
  * Ubuntu 22.04: "Firefox Web Browser"[1] is added to the menu
  * Ubuntu MATE 22.04: The default Panel's Classic Menu: "Internet -> Firefox 
Web Browser"[1] is added. Information about the entry:
  
  * /usr/share/applications/firefox-esr.desktop is added. Selected
  information about the file:
  
  Name=Firefox Web Browser
  Exec=firefox-esr %u
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=firefox-esr
  Categories=GNOME;GTK;Network;WebBrowser;
  
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
  StartupNotify=true
  StartupWMClass=firefox-esr-esr102
  Actions=new-window;new-private-window;
  
  desktop-file-validate /usr/share/applications/firefox-esr.desktop # No
  errors
  
  1: A minor issue not related to this bug that I filed at
  https://bugs.launchpad.net/ubuntu/+source/firefox-esr/+bug/2028439: The
  entry is correctly added, but "Name=Firefox Web Browser" in
  /usr/share/applications/firefox-esr.desktop should be changed to
  "Name=Firefox ESR Web Browser" (Debian stable firefox-esr package ships
  with "Name=Firefox ESR" in /usr/share/applications/firefox-esr.desktop).
  
  ##############################
  
  Install thunderbird from this PPA
  
  Status: Entry visible in the menu
  
  This section has been added to examine why "Menu -> Internet ->
  Thunderbird Mail" but not "Menu -> Internet -> Firefox Web Browser"
  
  * Run: sudo apt install thunderbird
  * Ubuntu 22.04: "Internet -> Thunderbird Mail" is added to the menu
  * Ubuntu MATE 22.04: The default Panel's Classic 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
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=thunderbird
  Categories=Application;Network;Email;
  
MimeType=x-scheme-handler/mailto;application/x-xpinstall;x-scheme-handler/webcal;x-scheme-handler/mid;message/rfc822;
  StartupNotify=true
  Actions=Compose;Contacts
  
  desktop-file-validate /usr/share/applications/thunderbird.desktop # No
  errors
  
  ##############################
  Temporary solution to add "Firefox Web Browser" to the menu:
  
  * sudo cp firefox.desktop firefoxworking.desktop
  
  or
  
  * cp /usr/share/applications/firefox.desktop
  ~/.local/share/applications/

** 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.
  
  #################################
  Firefox snap
  
  Disclaimer: This step is not needed in Trisquel (a distro based on
  Ubuntu + MATE).
  
  About Firefox snap package that comes with Ubuntu
  * In Ubuntu MATE 22.04: The default Panel's Classic Menu: "Internet -> 
Firefox Web Browser".
  * In Ubuntu 22.04: In GNOME, it's visible in the menu. It also added to 
Favorites.
  
  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://www.omgubuntu.co.uk/2022/04/how-to-
  install-firefox-deb-apt-ubuntu-22-04):
  
  sudo snap remove firefox
  
  echo '
  Package: *
  Pin: release o=LP-PPA-mozillateam
  Pin-Priority: 1001
  ' | sudo tee /etc/apt/preferences.d/mozilla-firefox
  
  echo 'Unattended-Upgrade::Allowed-Origins:: "LP-PPA-
  mozillateam:${distro_codename}";' | sudo tee
  /etc/apt/apt.conf.d/51unattended-upgrades-firefox
  
  * Ubuntu MATE 22.04: "Firefox Web Browser" is removed from the Brisk Menu 
(actually the whole "Internet" category is removed from the Brisk Menu since 
"Firefox Web Browser" was the only item). This issue is not related to this bug 
report: The Panel icon is not removed right away automatically (you have to 
reboot), or delete it manually.
  * Ubuntu 22.04 (GNOME): "Firefox Web Browser" is removed from both the menu 
and from Favorites.
  
  ##############################
  Install firefox from the official PPA
  
  Status: Entry NOT visible in the menu
  
  Run:
  sudo add-apt-repository ppa:mozillateam/ppa
  sudo apt update
  sudo apt install firefox
  
  * Ubuntu: "Firefox Web Browser" is added to the menu.
- * Ubuntu MATE in the default Panel's Classic Menu: "Internet -> Firefox Web 
Browser" is not added (see attached screenshot). But if you copy the desktop 
icon it will become visible: cd /usr/share/applications/ && sudo cp 
firefox.desktop firefoxworking.desktop
+ * Ubuntu MATE in the default Panel's Classic Menu: "Internet -> Firefox Web 
Browser" is not added (see attached screenshot). But if you copy the desktop 
icon, it will become visible right away in the Brisk Menu: cd 
/usr/share/applications/ && sudo cp firefox.desktop firefoxworking.desktop
  
  * /usr/share/applications/firefox.desktop is added. Selected information
  about the file:
  
  Name=Firefox Web Browser
  Exec=firefox %u
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=firefox
  Categories=GNOME;GTK;Network;WebBrowser;
  
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
  StartupNotify=true
  Actions=new-window;new-private-window;
  
  Examine the file:
  * desktop-file-validate /usr/share/applications/firefox.desktop # No errors
  
  ##############################
  Install firefox-esr from the official PPA
  
  Status: Entry visible in the menu
  
  This section has been added to examine why the firefox-esr package, but
  not the firefox package is adding an entry to "Menu -> Internet"
  
  * Run: sudo apt install firefox-esr
  * Ubuntu 22.04: "Firefox Web Browser"[1] is added to the menu
  * Ubuntu MATE 22.04: The default Panel's Classic Menu: "Internet -> Firefox 
Web Browser"[1] is added. Information about the entry:
  
  * /usr/share/applications/firefox-esr.desktop is added. Selected
  information about the file:
  
  Name=Firefox Web Browser
  Exec=firefox-esr %u
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=firefox-esr
  Categories=GNOME;GTK;Network;WebBrowser;
  
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
  StartupNotify=true
  StartupWMClass=firefox-esr-esr102
  Actions=new-window;new-private-window;
  
  desktop-file-validate /usr/share/applications/firefox-esr.desktop # No
  errors
  
  1: A minor issue not related to this bug that I filed at
  https://bugs.launchpad.net/ubuntu/+source/firefox-esr/+bug/2028439: The
  entry is correctly added, but "Name=Firefox Web Browser" in
  /usr/share/applications/firefox-esr.desktop should be changed to
  "Name=Firefox ESR Web Browser" (Debian stable firefox-esr package ships
  with "Name=Firefox ESR" in /usr/share/applications/firefox-esr.desktop).
  
  ##############################
  
  Install thunderbird from this PPA
  
  Status: Entry visible in the menu
  
  This section has been added to examine why "Menu -> Internet ->
  Thunderbird Mail" but not "Menu -> Internet -> Firefox Web Browser"
  
  * Run: sudo apt install thunderbird
  * Ubuntu 22.04: "Internet -> Thunderbird Mail" is added to the menu
  * Ubuntu MATE 22.04: The default Panel's Classic 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
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=thunderbird
  Categories=Application;Network;Email;
  
MimeType=x-scheme-handler/mailto;application/x-xpinstall;x-scheme-handler/webcal;x-scheme-handler/mid;message/rfc822;
  StartupNotify=true
  Actions=Compose;Contacts
  
  desktop-file-validate /usr/share/applications/thunderbird.desktop # No
  errors
  
  ##############################
  Temporary solution to add "Firefox Web Browser" to the menu:
  
  * sudo cp firefox.desktop firefoxworking.desktop
  
  or
  
  * cp /usr/share/applications/firefox.desktop
  ~/.local/share/applications/

** 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.
  
  #################################
  Firefox snap
  
  Disclaimer: This step is not needed in Trisquel (a distro based on
  Ubuntu + MATE).
  
  About Firefox snap package that comes with Ubuntu
  * In Ubuntu MATE 22.04: The default Panel's Classic Menu: "Internet -> 
Firefox Web Browser".
  * In Ubuntu 22.04: In GNOME, it's visible in the menu. It also added to 
Favorites.
  
  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://www.omgubuntu.co.uk/2022/04/how-to-
  install-firefox-deb-apt-ubuntu-22-04):
  
  sudo snap remove firefox
  
  echo '
  Package: *
  Pin: release o=LP-PPA-mozillateam
  Pin-Priority: 1001
  ' | sudo tee /etc/apt/preferences.d/mozilla-firefox
  
  echo 'Unattended-Upgrade::Allowed-Origins:: "LP-PPA-
  mozillateam:${distro_codename}";' | sudo tee
  /etc/apt/apt.conf.d/51unattended-upgrades-firefox
  
  * Ubuntu MATE 22.04: "Firefox Web Browser" is removed from the Brisk Menu 
(actually the whole "Internet" category is removed from the Brisk Menu since 
"Firefox Web Browser" was the only item). This issue is not related to this bug 
report: The Panel icon is not removed right away automatically (you have to 
reboot), or delete it manually.
  * Ubuntu 22.04 (GNOME): "Firefox Web Browser" is removed from both the menu 
and from Favorites.
  
  ##############################
  Install firefox from the official PPA
  
  Status: Entry NOT visible in the menu
  
  Run:
  sudo add-apt-repository ppa:mozillateam/ppa
  sudo apt update
  sudo apt install firefox
  
  * Ubuntu: "Firefox Web Browser" is added to the menu.
  * Ubuntu MATE in the default Panel's Classic Menu: "Internet -> Firefox Web 
Browser" is not added (see attached screenshot). But if you copy the desktop 
icon, it will become visible right away in the Brisk Menu: cd 
/usr/share/applications/ && sudo cp firefox.desktop firefoxworking.desktop
  
  * /usr/share/applications/firefox.desktop is added. Selected information
  about the file:
  
  Name=Firefox Web Browser
  Exec=firefox %u
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=firefox
  Categories=GNOME;GTK;Network;WebBrowser;
  
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
  StartupNotify=true
  Actions=new-window;new-private-window;
  
  Examine the file:
  * desktop-file-validate /usr/share/applications/firefox.desktop # No errors
  
  ##############################
  Install firefox-esr from the official PPA
  
  Status: Entry visible in the menu
  
  This section has been added to examine why the firefox-esr package, but
  not the firefox package is adding an entry to "Menu -> Internet"
  
  * Run: sudo apt install firefox-esr
  * Ubuntu 22.04: "Firefox Web Browser"[1] is added to the menu
  * Ubuntu MATE 22.04: The default Panel's Classic Menu: "Internet -> Firefox 
Web Browser"[1] is added. Information about the entry:
  
  * /usr/share/applications/firefox-esr.desktop is added. Selected
  information about the file:
  
  Name=Firefox Web Browser
  Exec=firefox-esr %u
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=firefox-esr
  Categories=GNOME;GTK;Network;WebBrowser;
  
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
  StartupNotify=true
  StartupWMClass=firefox-esr-esr102
  Actions=new-window;new-private-window;
  
  desktop-file-validate /usr/share/applications/firefox-esr.desktop # No
  errors
  
  1: A minor issue not related to this bug that I filed at
  https://bugs.launchpad.net/ubuntu/+source/firefox-esr/+bug/2028439: The
  entry is correctly added, but "Name=Firefox Web Browser" in
  /usr/share/applications/firefox-esr.desktop should be changed to
  "Name=Firefox ESR Web Browser" (Debian stable firefox-esr package ships
  with "Name=Firefox ESR" in /usr/share/applications/firefox-esr.desktop).
  
  ##############################
  
  Install thunderbird from this PPA
  
  Status: Entry visible in the menu
  
  This section has been added to examine why "Menu -> Internet ->
  Thunderbird Mail" but not "Menu -> Internet -> Firefox Web Browser"
  
  * Run: sudo apt install thunderbird
  * Ubuntu 22.04: "Internet -> Thunderbird Mail" is added to the menu
  * Ubuntu MATE 22.04: The default Panel's Classic 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
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=thunderbird
  Categories=Application;Network;Email;
  
MimeType=x-scheme-handler/mailto;application/x-xpinstall;x-scheme-handler/webcal;x-scheme-handler/mid;message/rfc822;
  StartupNotify=true
  Actions=Compose;Contacts
  
  desktop-file-validate /usr/share/applications/thunderbird.desktop # No
  errors
  
  ##############################
- Temporary solution to add "Firefox Web Browser" to the menu:
+ Temporary solution to add "Firefox Web Browser" to the Brisk Menu in Ubuntu 
MATE 22.04:
  
  * sudo cp firefox.desktop firefoxworking.desktop
  
  or
  
  * cp /usr/share/applications/firefox.desktop
  ~/.local/share/applications/

** 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.
  
  #################################
  Firefox snap
  
  Disclaimer: This step is not needed in Trisquel (a distro based on
  Ubuntu + MATE).
  
  About Firefox snap package that comes with Ubuntu
  * In Ubuntu MATE 22.04: The default Panel's Classic Menu: "Internet -> 
Firefox Web Browser".
  * In Ubuntu 22.04: In GNOME, it's visible in the menu. It also added to 
Favorites.
  
  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://www.omgubuntu.co.uk/2022/04/how-to-
  install-firefox-deb-apt-ubuntu-22-04):
  
  sudo snap remove firefox
  
+ # Extra step
+ if [[ "$XDG_CURRENT_DESKTOP" == *"MATE"* ]]; then
+ 
+     # Update panel to remove the "Firefox Web Browser" icon, or else you have 
to reboot, or remove it manually.
+     mate-panel --replace
+ 
+ if
+ 
  echo '
  Package: *
  Pin: release o=LP-PPA-mozillateam
  Pin-Priority: 1001
  ' | sudo tee /etc/apt/preferences.d/mozilla-firefox
  
  echo 'Unattended-Upgrade::Allowed-Origins:: "LP-PPA-
  mozillateam:${distro_codename}";' | sudo tee
  /etc/apt/apt.conf.d/51unattended-upgrades-firefox
  
- * Ubuntu MATE 22.04: "Firefox Web Browser" is removed from the Brisk Menu 
(actually the whole "Internet" category is removed from the Brisk Menu since 
"Firefox Web Browser" was the only item). This issue is not related to this bug 
report: The Panel icon is not removed right away automatically (you have to 
reboot), or delete it manually.
+ * Ubuntu MATE 22.04: "Firefox Web Browser" is removed from the Brisk Menu 
(actually the whole "Internet" category is removed from the Brisk Menu since 
"Firefox Web Browser" was the only item).
  * Ubuntu 22.04 (GNOME): "Firefox Web Browser" is removed from both the menu 
and from Favorites.
  
  ##############################
  Install firefox from the official PPA
  
  Status: Entry NOT visible in the menu
  
  Run:
  sudo add-apt-repository ppa:mozillateam/ppa
  sudo apt update
  sudo apt install firefox
  
  * Ubuntu: "Firefox Web Browser" is added to the menu.
  * Ubuntu MATE in the default Panel's Classic Menu: "Internet -> Firefox Web 
Browser" is not added (see attached screenshot). But if you copy the desktop 
icon, it will become visible right away in the Brisk Menu: cd 
/usr/share/applications/ && sudo cp firefox.desktop firefoxworking.desktop
  
  * /usr/share/applications/firefox.desktop is added. Selected information
  about the file:
  
  Name=Firefox Web Browser
  Exec=firefox %u
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=firefox
  Categories=GNOME;GTK;Network;WebBrowser;
  
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
  StartupNotify=true
  Actions=new-window;new-private-window;
  
  Examine the file:
  * desktop-file-validate /usr/share/applications/firefox.desktop # No errors
  
  ##############################
  Install firefox-esr from the official PPA
  
  Status: Entry visible in the menu
  
  This section has been added to examine why the firefox-esr package, but
  not the firefox package is adding an entry to "Menu -> Internet"
  
  * Run: sudo apt install firefox-esr
  * Ubuntu 22.04: "Firefox Web Browser"[1] is added to the menu
  * Ubuntu MATE 22.04: The default Panel's Classic Menu: "Internet -> Firefox 
Web Browser"[1] is added. Information about the entry:
  
  * /usr/share/applications/firefox-esr.desktop is added. Selected
  information about the file:
  
  Name=Firefox Web Browser
  Exec=firefox-esr %u
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=firefox-esr
  Categories=GNOME;GTK;Network;WebBrowser;
  
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
  StartupNotify=true
  StartupWMClass=firefox-esr-esr102
  Actions=new-window;new-private-window;
  
  desktop-file-validate /usr/share/applications/firefox-esr.desktop # No
  errors
  
  1: A minor issue not related to this bug that I filed at
  https://bugs.launchpad.net/ubuntu/+source/firefox-esr/+bug/2028439: The
  entry is correctly added, but "Name=Firefox Web Browser" in
  /usr/share/applications/firefox-esr.desktop should be changed to
  "Name=Firefox ESR Web Browser" (Debian stable firefox-esr package ships
  with "Name=Firefox ESR" in /usr/share/applications/firefox-esr.desktop).
  
  ##############################
  
  Install thunderbird from this PPA
  
  Status: Entry visible in the menu
  
  This section has been added to examine why "Menu -> Internet ->
  Thunderbird Mail" but not "Menu -> Internet -> Firefox Web Browser"
  
  * Run: sudo apt install thunderbird
  * Ubuntu 22.04: "Internet -> Thunderbird Mail" is added to the menu
  * Ubuntu MATE 22.04: The default Panel's Classic 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
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=thunderbird
  Categories=Application;Network;Email;
  
MimeType=x-scheme-handler/mailto;application/x-xpinstall;x-scheme-handler/webcal;x-scheme-handler/mid;message/rfc822;
  StartupNotify=true
  Actions=Compose;Contacts
  
  desktop-file-validate /usr/share/applications/thunderbird.desktop # No
  errors
  
  ##############################
  Temporary solution to add "Firefox Web Browser" to the Brisk Menu in Ubuntu 
MATE 22.04:
  
  * sudo cp firefox.desktop firefoxworking.desktop
  
  or
  
  * cp /usr/share/applications/firefox.desktop
  ~/.local/share/applications/

** 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.
+ This issue is easy to reproduce by running Ubuntu MATE 22.04, or even
+ easier in Trisquel 11 (a distro based on Ubuntu 22.04 with MATE
+ installed), in live mode.
  
  #################################
  Firefox snap
  
  Disclaimer: This step is not needed in Trisquel (a distro based on
  Ubuntu + MATE).
  
  About Firefox snap package that comes with Ubuntu
  * In Ubuntu MATE 22.04: The default Panel's Classic Menu: "Internet -> 
Firefox Web Browser".
  * In Ubuntu 22.04: In GNOME, it's visible in the menu. It also added to 
Favorites.
  
  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://www.omgubuntu.co.uk/2022/04/how-to-
  install-firefox-deb-apt-ubuntu-22-04):
  
  sudo snap remove firefox
  
  # Extra step
  if [[ "$XDG_CURRENT_DESKTOP" == *"MATE"* ]]; then
  
-     # Update panel to remove the "Firefox Web Browser" icon, or else you have 
to reboot, or remove it manually.
-     mate-panel --replace
+     # Update panel to remove the "Firefox Web Browser" icon, or else you have 
to reboot, or remove it manually.
+     mate-panel --replace
  
  if
  
  echo '
  Package: *
  Pin: release o=LP-PPA-mozillateam
  Pin-Priority: 1001
  ' | sudo tee /etc/apt/preferences.d/mozilla-firefox
  
  echo 'Unattended-Upgrade::Allowed-Origins:: "LP-PPA-
  mozillateam:${distro_codename}";' | sudo tee
  /etc/apt/apt.conf.d/51unattended-upgrades-firefox
  
  * Ubuntu MATE 22.04: "Firefox Web Browser" is removed from the Brisk Menu 
(actually the whole "Internet" category is removed from the Brisk Menu since 
"Firefox Web Browser" was the only item).
  * Ubuntu 22.04 (GNOME): "Firefox Web Browser" is removed from both the menu 
and from Favorites.
  
  ##############################
  Install firefox from the official PPA
  
  Status: Entry NOT visible in the menu
  
  Run:
  sudo add-apt-repository ppa:mozillateam/ppa
  sudo apt update
  sudo apt install firefox
  
  * Ubuntu: "Firefox Web Browser" is added to the menu.
  * Ubuntu MATE in the default Panel's Classic Menu: "Internet -> Firefox Web 
Browser" is not added (see attached screenshot). But if you copy the desktop 
icon, it will become visible right away in the Brisk Menu: cd 
/usr/share/applications/ && sudo cp firefox.desktop firefoxworking.desktop
  
  * /usr/share/applications/firefox.desktop is added. Selected information
  about the file:
  
  Name=Firefox Web Browser
  Exec=firefox %u
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=firefox
  Categories=GNOME;GTK;Network;WebBrowser;
  
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
  StartupNotify=true
  Actions=new-window;new-private-window;
  
  Examine the file:
  * desktop-file-validate /usr/share/applications/firefox.desktop # No errors
  
  ##############################
  Install firefox-esr from the official PPA
  
  Status: Entry visible in the menu
  
  This section has been added to examine why the firefox-esr package, but
  not the firefox package is adding an entry to "Menu -> Internet"
  
  * Run: sudo apt install firefox-esr
  * Ubuntu 22.04: "Firefox Web Browser"[1] is added to the menu
  * Ubuntu MATE 22.04: The default Panel's Classic Menu: "Internet -> Firefox 
Web Browser"[1] is added. Information about the entry:
  
  * /usr/share/applications/firefox-esr.desktop is added. Selected
  information about the file:
  
  Name=Firefox Web Browser
  Exec=firefox-esr %u
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=firefox-esr
  Categories=GNOME;GTK;Network;WebBrowser;
  
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
  StartupNotify=true
  StartupWMClass=firefox-esr-esr102
  Actions=new-window;new-private-window;
  
  desktop-file-validate /usr/share/applications/firefox-esr.desktop # No
  errors
  
  1: A minor issue not related to this bug that I filed at
  https://bugs.launchpad.net/ubuntu/+source/firefox-esr/+bug/2028439: The
  entry is correctly added, but "Name=Firefox Web Browser" in
  /usr/share/applications/firefox-esr.desktop should be changed to
  "Name=Firefox ESR Web Browser" (Debian stable firefox-esr package ships
  with "Name=Firefox ESR" in /usr/share/applications/firefox-esr.desktop).
  
  ##############################
  
  Install thunderbird from this PPA
  
  Status: Entry visible in the menu
  
  This section has been added to examine why "Menu -> Internet ->
  Thunderbird Mail" but not "Menu -> Internet -> Firefox Web Browser"
  
  * Run: sudo apt install thunderbird
  * Ubuntu 22.04: "Internet -> Thunderbird Mail" is added to the menu
  * Ubuntu MATE 22.04: The default Panel's Classic 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
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=thunderbird
  Categories=Application;Network;Email;
  
MimeType=x-scheme-handler/mailto;application/x-xpinstall;x-scheme-handler/webcal;x-scheme-handler/mid;message/rfc822;
  StartupNotify=true
  Actions=Compose;Contacts
  
  desktop-file-validate /usr/share/applications/thunderbird.desktop # No
  errors
  
  ##############################
  Temporary solution to add "Firefox Web Browser" to the Brisk Menu in Ubuntu 
MATE 22.04:
  
  * sudo cp firefox.desktop firefoxworking.desktop
  
  or
  
  * cp /usr/share/applications/firefox.desktop
  ~/.local/share/applications/

** Description changed:

- This issue is easy to reproduce by running Ubuntu MATE 22.04, or even
- easier in Trisquel 11 (a distro based on Ubuntu 22.04 with MATE
- installed), in live mode.
+ This issue is easy to reproduce by running live mode in Ubuntu MATE
+ 22.04, or even easier in Trisquel 11 (a distro based on Ubuntu 22.04
+ with MATE installed) since the firefox snap package is not installed.
  
  #################################
  Firefox snap
  
  Disclaimer: This step is not needed in Trisquel (a distro based on
  Ubuntu + MATE).
  
  About Firefox snap package that comes with Ubuntu
  * In Ubuntu MATE 22.04: The default Panel's Classic Menu: "Internet -> 
Firefox Web Browser".
  * In Ubuntu 22.04: In GNOME, it's visible in the menu. It also added to 
Favorites.
  
  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://www.omgubuntu.co.uk/2022/04/how-to-
  install-firefox-deb-apt-ubuntu-22-04):
  
  sudo snap remove firefox
  
  # Extra step
  if [[ "$XDG_CURRENT_DESKTOP" == *"MATE"* ]]; then
  
      # Update panel to remove the "Firefox Web Browser" icon, or else you have 
to reboot, or remove it manually.
      mate-panel --replace
  
  if
  
  echo '
  Package: *
  Pin: release o=LP-PPA-mozillateam
  Pin-Priority: 1001
  ' | sudo tee /etc/apt/preferences.d/mozilla-firefox
  
  echo 'Unattended-Upgrade::Allowed-Origins:: "LP-PPA-
  mozillateam:${distro_codename}";' | sudo tee
  /etc/apt/apt.conf.d/51unattended-upgrades-firefox
  
  * Ubuntu MATE 22.04: "Firefox Web Browser" is removed from the Brisk Menu 
(actually the whole "Internet" category is removed from the Brisk Menu since 
"Firefox Web Browser" was the only item).
  * Ubuntu 22.04 (GNOME): "Firefox Web Browser" is removed from both the menu 
and from Favorites.
  
  ##############################
  Install firefox from the official PPA
  
  Status: Entry NOT visible in the menu
  
  Run:
  sudo add-apt-repository ppa:mozillateam/ppa
  sudo apt update
  sudo apt install firefox
  
  * Ubuntu: "Firefox Web Browser" is added to the menu.
  * Ubuntu MATE in the default Panel's Classic Menu: "Internet -> Firefox Web 
Browser" is not added (see attached screenshot). But if you copy the desktop 
icon, it will become visible right away in the Brisk Menu: cd 
/usr/share/applications/ && sudo cp firefox.desktop firefoxworking.desktop
  
  * /usr/share/applications/firefox.desktop is added. Selected information
  about the file:
  
  Name=Firefox Web Browser
  Exec=firefox %u
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=firefox
  Categories=GNOME;GTK;Network;WebBrowser;
  
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
  StartupNotify=true
  Actions=new-window;new-private-window;
  
  Examine the file:
  * desktop-file-validate /usr/share/applications/firefox.desktop # No errors
  
  ##############################
  Install firefox-esr from the official PPA
  
  Status: Entry visible in the menu
  
  This section has been added to examine why the firefox-esr package, but
  not the firefox package is adding an entry to "Menu -> Internet"
  
  * Run: sudo apt install firefox-esr
  * Ubuntu 22.04: "Firefox Web Browser"[1] is added to the menu
  * Ubuntu MATE 22.04: The default Panel's Classic Menu: "Internet -> Firefox 
Web Browser"[1] is added. Information about the entry:
  
  * /usr/share/applications/firefox-esr.desktop is added. Selected
  information about the file:
  
  Name=Firefox Web Browser
  Exec=firefox-esr %u
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=firefox-esr
  Categories=GNOME;GTK;Network;WebBrowser;
  
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
  StartupNotify=true
  StartupWMClass=firefox-esr-esr102
  Actions=new-window;new-private-window;
  
  desktop-file-validate /usr/share/applications/firefox-esr.desktop # No
  errors
  
  1: A minor issue not related to this bug that I filed at
  https://bugs.launchpad.net/ubuntu/+source/firefox-esr/+bug/2028439: The
  entry is correctly added, but "Name=Firefox Web Browser" in
  /usr/share/applications/firefox-esr.desktop should be changed to
  "Name=Firefox ESR Web Browser" (Debian stable firefox-esr package ships
  with "Name=Firefox ESR" in /usr/share/applications/firefox-esr.desktop).
  
  ##############################
  
  Install thunderbird from this PPA
  
  Status: Entry visible in the menu
  
  This section has been added to examine why "Menu -> Internet ->
  Thunderbird Mail" but not "Menu -> Internet -> Firefox Web Browser"
  
  * Run: sudo apt install thunderbird
  * Ubuntu 22.04: "Internet -> Thunderbird Mail" is added to the menu
  * Ubuntu MATE 22.04: The default Panel's Classic 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
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=thunderbird
  Categories=Application;Network;Email;
  
MimeType=x-scheme-handler/mailto;application/x-xpinstall;x-scheme-handler/webcal;x-scheme-handler/mid;message/rfc822;
  StartupNotify=true
  Actions=Compose;Contacts
  
  desktop-file-validate /usr/share/applications/thunderbird.desktop # No
  errors
  
  ##############################
  Temporary solution to add "Firefox Web Browser" to the Brisk Menu in Ubuntu 
MATE 22.04:
  
  * sudo cp firefox.desktop firefoxworking.desktop
  
  or
  
  * cp /usr/share/applications/firefox.desktop
  ~/.local/share/applications/

** Description changed:

  This issue is easy to reproduce by running live mode in Ubuntu MATE
  22.04, or even easier in Trisquel 11 (a distro based on Ubuntu 22.04
  with MATE installed) since the firefox snap package is not installed.
  
  #################################
  Firefox snap
  
  Disclaimer: This step is not needed in Trisquel (a distro based on
  Ubuntu + MATE).
  
  About Firefox snap package that comes with Ubuntu
  * In Ubuntu MATE 22.04: The default Panel's Classic Menu: "Internet -> 
Firefox Web Browser".
  * In Ubuntu 22.04: In GNOME, it's visible in the menu. It also added to 
Favorites.
  
  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://www.omgubuntu.co.uk/2022/04/how-to-
  install-firefox-deb-apt-ubuntu-22-04):
  
  sudo snap remove firefox
  
  # Extra step
  if [[ "$XDG_CURRENT_DESKTOP" == *"MATE"* ]]; then
  
      # Update panel to remove the "Firefox Web Browser" icon, or else you have 
to reboot, or remove it manually.
-     mate-panel --replace
+     mate-panel --replace &
  
  if
  
  echo '
  Package: *
  Pin: release o=LP-PPA-mozillateam
  Pin-Priority: 1001
  ' | sudo tee /etc/apt/preferences.d/mozilla-firefox
  
  echo 'Unattended-Upgrade::Allowed-Origins:: "LP-PPA-
  mozillateam:${distro_codename}";' | sudo tee
  /etc/apt/apt.conf.d/51unattended-upgrades-firefox
  
  * Ubuntu MATE 22.04: "Firefox Web Browser" is removed from the Brisk Menu 
(actually the whole "Internet" category is removed from the Brisk Menu since 
"Firefox Web Browser" was the only item).
  * Ubuntu 22.04 (GNOME): "Firefox Web Browser" is removed from both the menu 
and from Favorites.
  
  ##############################
  Install firefox from the official PPA
  
  Status: Entry NOT visible in the menu
  
  Run:
  sudo add-apt-repository ppa:mozillateam/ppa
  sudo apt update
  sudo apt install firefox
  
  * Ubuntu: "Firefox Web Browser" is added to the menu.
  * Ubuntu MATE in the default Panel's Classic Menu: "Internet -> Firefox Web 
Browser" is not added (see attached screenshot). But if you copy the desktop 
icon, it will become visible right away in the Brisk Menu: cd 
/usr/share/applications/ && sudo cp firefox.desktop firefoxworking.desktop
  
  * /usr/share/applications/firefox.desktop is added. Selected information
  about the file:
  
  Name=Firefox Web Browser
  Exec=firefox %u
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=firefox
  Categories=GNOME;GTK;Network;WebBrowser;
  
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
  StartupNotify=true
  Actions=new-window;new-private-window;
  
  Examine the file:
  * desktop-file-validate /usr/share/applications/firefox.desktop # No errors
  
  ##############################
  Install firefox-esr from the official PPA
  
  Status: Entry visible in the menu
  
  This section has been added to examine why the firefox-esr package, but
  not the firefox package is adding an entry to "Menu -> Internet"
  
  * Run: sudo apt install firefox-esr
  * Ubuntu 22.04: "Firefox Web Browser"[1] is added to the menu
  * Ubuntu MATE 22.04: The default Panel's Classic Menu: "Internet -> Firefox 
Web Browser"[1] is added. Information about the entry:
  
  * /usr/share/applications/firefox-esr.desktop is added. Selected
  information about the file:
  
  Name=Firefox Web Browser
  Exec=firefox-esr %u
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=firefox-esr
  Categories=GNOME;GTK;Network;WebBrowser;
  
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
  StartupNotify=true
  StartupWMClass=firefox-esr-esr102
  Actions=new-window;new-private-window;
  
  desktop-file-validate /usr/share/applications/firefox-esr.desktop # No
  errors
  
  1: A minor issue not related to this bug that I filed at
  https://bugs.launchpad.net/ubuntu/+source/firefox-esr/+bug/2028439: The
  entry is correctly added, but "Name=Firefox Web Browser" in
  /usr/share/applications/firefox-esr.desktop should be changed to
  "Name=Firefox ESR Web Browser" (Debian stable firefox-esr package ships
  with "Name=Firefox ESR" in /usr/share/applications/firefox-esr.desktop).
  
  ##############################
  
  Install thunderbird from this PPA
  
  Status: Entry visible in the menu
  
  This section has been added to examine why "Menu -> Internet ->
  Thunderbird Mail" but not "Menu -> Internet -> Firefox Web Browser"
  
  * Run: sudo apt install thunderbird
  * Ubuntu 22.04: "Internet -> Thunderbird Mail" is added to the menu
  * Ubuntu MATE 22.04: The default Panel's Classic 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
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=thunderbird
  Categories=Application;Network;Email;
  
MimeType=x-scheme-handler/mailto;application/x-xpinstall;x-scheme-handler/webcal;x-scheme-handler/mid;message/rfc822;
  StartupNotify=true
  Actions=Compose;Contacts
  
  desktop-file-validate /usr/share/applications/thunderbird.desktop # No
  errors
  
  ##############################
  Temporary solution to add "Firefox Web Browser" to the Brisk Menu in Ubuntu 
MATE 22.04:
  
  * sudo cp firefox.desktop firefoxworking.desktop
  
  or
  
  * cp /usr/share/applications/firefox.desktop
  ~/.local/share/applications/

** Description changed:

  This issue is easy to reproduce by running live mode in Ubuntu MATE
  22.04, or even easier in Trisquel 11 (a distro based on Ubuntu 22.04
  with MATE installed) since the firefox snap package is not installed.
  
  #################################
  Firefox snap
  
  Disclaimer: This step is not needed in Trisquel (a distro based on
  Ubuntu + MATE).
  
  About Firefox snap package that comes with Ubuntu
  * In Ubuntu MATE 22.04: The default Panel's Classic Menu: "Internet -> 
Firefox Web Browser".
  * In Ubuntu 22.04: In GNOME, it's visible in the menu. It also added to 
Favorites.
  
  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://www.omgubuntu.co.uk/2022/04/how-to-
  install-firefox-deb-apt-ubuntu-22-04):
  
  sudo snap remove firefox
  
- # Extra step
- if [[ "$XDG_CURRENT_DESKTOP" == *"MATE"* ]]; then
- 
-     # Update panel to remove the "Firefox Web Browser" icon, or else you have 
to reboot, or remove it manually.
-     mate-panel --replace &
- 
- if
- 
  echo '
  Package: *
  Pin: release o=LP-PPA-mozillateam
  Pin-Priority: 1001
  ' | sudo tee /etc/apt/preferences.d/mozilla-firefox
  
  echo 'Unattended-Upgrade::Allowed-Origins:: "LP-PPA-
  mozillateam:${distro_codename}";' | sudo tee
  /etc/apt/apt.conf.d/51unattended-upgrades-firefox
  
+ For Ubuntu MATE: Reboot in order to remove the "Firefox Web Browser"
+ from the Panel.
+ 
+ Status:
  * Ubuntu MATE 22.04: "Firefox Web Browser" is removed from the Brisk Menu 
(actually the whole "Internet" category is removed from the Brisk Menu since 
"Firefox Web Browser" was the only item).
  * Ubuntu 22.04 (GNOME): "Firefox Web Browser" is removed from both the menu 
and from Favorites.
  
  ##############################
  Install firefox from the official PPA
  
- Status: Entry NOT visible in the menu
- 
  Run:
  sudo add-apt-repository ppa:mozillateam/ppa
  sudo apt update
  sudo apt install firefox
  
+ Status:
  * Ubuntu: "Firefox Web Browser" is added to the menu.
- * Ubuntu MATE in the default Panel's Classic Menu: "Internet -> Firefox Web 
Browser" is not added (see attached screenshot). But if you copy the desktop 
icon, it will become visible right away in the Brisk Menu: cd 
/usr/share/applications/ && sudo cp firefox.desktop firefoxworking.desktop
+ * Ubuntu MATE in the default Panel's Classic Menu: "Internet -> Firefox Web 
Browser" is NOT added (see attached screenshot). But if you copy the desktop 
icon, it will become visible right away in the Brisk Menu: cd 
/usr/share/applications/ && sudo cp firefox.desktop firefoxworking.desktop
  
  * /usr/share/applications/firefox.desktop is added. Selected information
  about the file:
  
  Name=Firefox Web Browser
  Exec=firefox %u
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=firefox
  Categories=GNOME;GTK;Network;WebBrowser;
  
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
  StartupNotify=true
  Actions=new-window;new-private-window;
  
  Examine the file:
  * desktop-file-validate /usr/share/applications/firefox.desktop # No errors
  
  ##############################
  Install firefox-esr from the official PPA
  
- Status: Entry visible in the menu
- 
  This section has been added to examine why the firefox-esr package, but
  not the firefox package is adding an entry to "Menu -> Internet"
  
  * Run: sudo apt install firefox-esr
+ 
+ Status:
  * Ubuntu 22.04: "Firefox Web Browser"[1] is added to the menu
  * Ubuntu MATE 22.04: The default Panel's Classic Menu: "Internet -> Firefox 
Web Browser"[1] is added. Information about the entry:
  
  * /usr/share/applications/firefox-esr.desktop is added. Selected
  information about the file:
  
  Name=Firefox Web Browser
  Exec=firefox-esr %u
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=firefox-esr
  Categories=GNOME;GTK;Network;WebBrowser;
  
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
  StartupNotify=true
  StartupWMClass=firefox-esr-esr102
  Actions=new-window;new-private-window;
  
  desktop-file-validate /usr/share/applications/firefox-esr.desktop # No
  errors
  
  1: A minor issue not related to this bug that I filed at
  https://bugs.launchpad.net/ubuntu/+source/firefox-esr/+bug/2028439: The
  entry is correctly added, but "Name=Firefox Web Browser" in
  /usr/share/applications/firefox-esr.desktop should be changed to
  "Name=Firefox ESR Web Browser" (Debian stable firefox-esr package ships
  with "Name=Firefox ESR" in /usr/share/applications/firefox-esr.desktop).
  
  ##############################
  
  Install thunderbird from this PPA
  
- Status: Entry visible in the menu
- 
  This section has been added to examine why "Menu -> Internet ->
  Thunderbird Mail" but not "Menu -> Internet -> Firefox Web Browser"
  
  * Run: sudo apt install thunderbird
+ 
+ Status:
  * Ubuntu 22.04: "Internet -> Thunderbird Mail" is added to the menu
  * Ubuntu MATE 22.04: The default Panel's Classic 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
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=thunderbird
  Categories=Application;Network;Email;
  
MimeType=x-scheme-handler/mailto;application/x-xpinstall;x-scheme-handler/webcal;x-scheme-handler/mid;message/rfc822;
  StartupNotify=true
  Actions=Compose;Contacts
  
  desktop-file-validate /usr/share/applications/thunderbird.desktop # No
  errors
  
  ##############################
  Temporary solution to add "Firefox Web Browser" to the Brisk Menu in Ubuntu 
MATE 22.04:
  
  * sudo cp firefox.desktop firefoxworking.desktop
  
  or
  
  * cp /usr/share/applications/firefox.desktop
  ~/.local/share/applications/

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/2027828

Title:
  firefox: firefox.desktop not visible in MATE's Brisk Menu

Status in firefox package in Ubuntu:
  New

Bug description:
  This issue is easy to reproduce by running live mode in Ubuntu MATE
  22.04, or even easier in Trisquel 11 (a distro based on Ubuntu 22.04
  with MATE installed) since the firefox snap package is not installed.

  #################################
  Firefox snap

  Disclaimer: This step is not needed in Trisquel (a distro based on
  Ubuntu + MATE).

  About Firefox snap package that comes with Ubuntu
  * In Ubuntu MATE 22.04: The default Panel's Classic Menu: "Internet -> 
Firefox Web Browser".
  * In Ubuntu 22.04: In GNOME, it's visible in the menu. It also added to 
Favorites.

  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://www.omgubuntu.co.uk/2022/04/how-to-
  install-firefox-deb-apt-ubuntu-22-04):

  sudo snap remove firefox

  echo '
  Package: *
  Pin: release o=LP-PPA-mozillateam
  Pin-Priority: 1001
  ' | sudo tee /etc/apt/preferences.d/mozilla-firefox

  echo 'Unattended-Upgrade::Allowed-Origins:: "LP-PPA-
  mozillateam:${distro_codename}";' | sudo tee
  /etc/apt/apt.conf.d/51unattended-upgrades-firefox

  For Ubuntu MATE: Reboot in order to remove the "Firefox Web Browser"
  from the Panel.

  Status:
  * Ubuntu MATE 22.04: "Firefox Web Browser" is removed from the Brisk Menu 
(actually the whole "Internet" category is removed from the Brisk Menu since 
"Firefox Web Browser" was the only item).
  * Ubuntu 22.04 (GNOME): "Firefox Web Browser" is removed from both the menu 
and from Favorites.

  ##############################
  Install firefox from the official PPA

  Run:
  sudo add-apt-repository ppa:mozillateam/ppa
  sudo apt update
  sudo apt install firefox

  Status:
  * Ubuntu: "Firefox Web Browser" is added to the menu.
  * Ubuntu MATE in the default Panel's Classic Menu: "Internet -> Firefox Web 
Browser" is NOT added (see attached screenshot). But if you copy the desktop 
icon, it will become visible right away in the Brisk Menu: cd 
/usr/share/applications/ && sudo cp firefox.desktop firefoxworking.desktop

  * /usr/share/applications/firefox.desktop is added. Selected
  information about the file:

  Name=Firefox Web Browser
  Exec=firefox %u
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=firefox
  Categories=GNOME;GTK;Network;WebBrowser;
  
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
  StartupNotify=true
  Actions=new-window;new-private-window;

  Examine the file:
  * desktop-file-validate /usr/share/applications/firefox.desktop # No errors

  ##############################
  Install firefox-esr from the official PPA

  This section has been added to examine why the firefox-esr package,
  but not the firefox package is adding an entry to "Menu -> Internet"

  * Run: sudo apt install firefox-esr

  Status:
  * Ubuntu 22.04: "Firefox Web Browser"[1] is added to the menu
  * Ubuntu MATE 22.04: The default Panel's Classic Menu: "Internet -> Firefox 
Web Browser"[1] is added. Information about the entry:

  * /usr/share/applications/firefox-esr.desktop is added. Selected
  information about the file:

  Name=Firefox Web Browser
  Exec=firefox-esr %u
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=firefox-esr
  Categories=GNOME;GTK;Network;WebBrowser;
  
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
  StartupNotify=true
  StartupWMClass=firefox-esr-esr102
  Actions=new-window;new-private-window;

  desktop-file-validate /usr/share/applications/firefox-esr.desktop # No
  errors

  1: A minor issue not related to this bug that I filed at
  https://bugs.launchpad.net/ubuntu/+source/firefox-esr/+bug/2028439:
  The entry is correctly added, but "Name=Firefox Web Browser" in
  /usr/share/applications/firefox-esr.desktop should be changed to
  "Name=Firefox ESR Web Browser" (Debian stable firefox-esr package
  ships with "Name=Firefox ESR" in /usr/share/applications/firefox-
  esr.desktop).

  ##############################

  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

  Status:
  * Ubuntu 22.04: "Internet -> Thunderbird Mail" is added to the menu
  * Ubuntu MATE 22.04: The default Panel's Classic 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
  Terminal=false
  X-MultipleArgs=false
  Type=Application
  Icon=thunderbird
  Categories=Application;Network;Email;
  
MimeType=x-scheme-handler/mailto;application/x-xpinstall;x-scheme-handler/webcal;x-scheme-handler/mid;message/rfc822;
  StartupNotify=true
  Actions=Compose;Contacts

  desktop-file-validate /usr/share/applications/thunderbird.desktop # No
  errors

  ##############################
  Temporary solution to add "Firefox Web Browser" to the Brisk Menu in Ubuntu 
MATE 22.04:

  * sudo cp firefox.desktop firefoxworking.desktop

  or

  * cp /usr/share/applications/firefox.desktop
  ~/.local/share/applications/

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/2027828/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to