Until this somehow gets integrated into the repacks (by Steven Pusser, or well, anyone else who's repacking PM into .deb packages), I'll do this tutorial, which I'm primarily doing for those users who tend to run window managers (WMs) and not just full desktop environments (DEs), who, from what I could tell, are the more advanced Linux users, because WMs tend to be harder to configure (with Openbox being the exception), as they are often configured through text files, while DEs can be configured through GUIs.
Before I begin, when I mean "legacy Debian menu system", I don't mean the application menu that the user gets in desktop environments like KDE Plasma, XFCE, LXDE, Trinity, Cinnamon, etc, which looks something like this: (This is MATE's interpretation of what's known as the "freedesktop.org Desktop Menu Specification", on one of my Linux systems (running Debian 8))
Well, with Trinity being the exception, as it uses both menu systems. (Trinity's menu has the former in its main menu, and the latter in a folder named "Debian") Oh yeah, and MATE as well, but by unceremoniously dumping the contents of the Debian menu into the "Other" category.
Thing is, the latter is harder to navigate and add links to compared to the former, so some apps (like a number of MATE components, including Pluma) can't be found there, and I have to launch them through a terminal window, which can end up creating messes all over the bottom left corner after a while.
Step 1: So, to get around doing this, if you don't want to look at the documentation which I subtly linked to earlier, you can go ahead and copy and paste this file I made, into a text editor (in my case, Pluma in MATE)
Code: Select all
?package(palemoon):\
title="Pale Moon"\
command="palemoon"\
needs="X11"\
section="Applications/Network/Web Browsing"\
hints="Goanna,Customisable,GTK"\
# icon32x32="/usr/lib/palemoon/browser/pixmaps/default32.xpm"\
# icon16x16="/usr/lib/palemoon/browser/pixmaps/default16.xpm"\
- /usr/lib/palemoon/browser/chrome/icons/default/default16.png
- /usr/lib/palemoon/browser/chrome/icons/default/default32.png
However, if you installed PM by installing a package with a different name (like "palemoon-nonsse2"), change "palemoon" in the first line to the name of that package.
If you installed PM by manually extracting the tarball, or by using the pminstaller script, then change it to "local.palemoon" instead, and the same thing in line 3 but to /opt/palemoon/palemoon instead.
Step 3: Go and save the file (it should be UTF-8, and can be LaTeX or plain text) with the name palemoon to ~/.menu/, or in other words, /home/(your username)/.menu/. If you want the link to be system-wide, then make sure you're running the text editor as the "root" user, and save the file to /usr/share/menu/. Then, open a terminal and run the command update-menus (run that as the "root" user if you're doing it system-wide).
Step 4: Restart your window manager. You should know where to expect the link to be found. However, if you still can't find the link, then log out and log back in. If not, then restart your system. If you still can't find the link, then move it to the system-wide folder by doing this in a terminal window (assuming you're not logged on as "root"):
Code: Select all
sudo mv ~/.menu/palemoon /usr/share/menu/
sudo update-menus