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))
Instead, what I mean by that, is this: This is MWM's interpretation of what is officially called the "Debian Menu System", on the same installation, but I call this the "legacy Debian menu", as it's only really used by the window managers, not the full desktop environments.
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)
You don't need to copy over the lines beginning with "#", unless you're willing to convert the following files to XPMs (as the Debian menu system only accepts that format for icons) and put them in that folder:
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"\
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"):
and then restart your system.
Code: Select all
sudo mv ~/.menu/palemoon /usr/share/menu/ sudo update-menus