Skip to main content

Editing XFCE Applications Menu

 Menu After Editing
Menu Before Editing

Since Gnome 3 has been messed up, many Linux folks finally switched into another Desktop Environments. One of the favorite destination is XFCE Desktop. It is very typical to the old Gnome 2 Desktop and still actively maintained by its developers, so people feel safe to use this Desktop.

Unfortunately, IMHO, XFCE folks didn't write enough manual about XFCE Tweaking. One of the missing part about XFCE manual is in Editing XFCE Applications Menu.

Why is editing XFCE Menu necessary? For me, as an ex-Gnome 2 user, it is necessary. IMHO, XFCE Menu arrangement is too bloated. There are many shortcut at the menu and too many separators and that is annoying my sight every accessing the menu. And I want to remove all the shortcuts and the separators at the menu, so how do I do this? Let's dive.

XDG
XFCE, just like another DEs in Linux, follow the FreeDesktop standard. The file configuration about the menu is put in /etc/xdg/menus and named as xfce-applications.menu. So, the file configuration for the XFCE Applications Menu is located in /etx/xdg/menus/xfce-applications.menu. All we need to do is to edit this file.

Editing Menu
As I told above, to edit XFCE Applications menu is by editing file /etc/xdg/menus/xfce-applications.menu. To do this, just simply use our favorite, available text editor (for now, some XFCE based distro has switched from mousepad to leafpad for the sake of speed).

First, backup the original file. As root, backup the file :
sudo mv /etc/xdg/menus/xfce-applications.menu /etc/xdg/menus/xfce-applications.old
Second, edit the file :
sudo leafpad (or mousepad or gedit or whatever) /etc/xdg/menus/applications.menu.

Find the line : Layout
started from this line Layout block all lines to the line /Layout and delete those lines. Last, Save. Now access the menu and see the change. Our XFCE Applications menu now becomes simpler.

Xubuntu Tweaking
Not like Fedore XFCE and or another XFCE based distro, Xubuntu doesn't put the file configuration in /etc/xdg/menus but put the file in the /etc/xdg/xdg-xubuntu/xfce-applications.menu instead.

So, to edit Xubuntu Applications menu, the way is just same, but the file is different.

sudo mv /etc/xdg/xdg-xubuntu/xfce-applications.menu /etc/xdg/xdg-xubuntu/xfce-applications.old
sudo edit /etc/xdg/xdg-xubuntu/xfce-applications.menu
Note
If we want to let one or some shortcut left, such as Ubuntu Software Center, don't delete all the lines from to
but leave the lines we want :

Layout
Filename ubuntu-software-center.desktop /Filename
/
Layout
Reverting Back The Menu
If we want to revert the XFCE menu to its default, just delete the edited one and rename the backup.

sudo rm /etc/xdg/menus/xfce-applications.menu
sudo mv /etc/xdg/menus/xfce-applications.old /etx/xdg/menus/xfce-applications.menu
In Xubuntu :
sudo rm /etc/xdg/xdg-xubuntu/xfce-applications.menu
sudo /etc/xdg/xdg-xubuntu/xfce-applications.old /etc/xdg/xdg-xubuntu/xfce-applications.menu

Menu Editor
As I know until I was writing this post, there is no an existed menu editor that compatible with XFCE Menu. I've heard about LXMenuEditor but seems for long ago has been abandoned by the developer.

Comments

Popular posts from this blog

Q4OS 4.6 "Gemini" Review: A Real Hidden Gem

Distro hopping is a fun adventure. It's a pure joy you can only find in GNU/Linux world. It's a nature you want to escape from what I call 'comfort ecosystem'. You need to play, trying something new even for a few little differences. For a long time I've been using Ubuntu family as my daily driver. The main reason is probably just same as any other Ubuntu user: it's reliable. You can't go wrong with Ubuntu. It works almost in any device, even for the newest one. It is the ultimate Linux distro you can rely on. However, sometimes, you will feel bored. The temptation to flirt with other new distro is unbearable. There are a lot of hot new Linux distros waiting to try.  A Real Hidden Gem I've known this distro for a quite long time. At first, it offered Trinity Desktop as the main desktop, which brings me the sweet memories about KDE3. It is simply fast, stable, almost without any issue, and it is based on Debian. I install it on my old machine and I love t...

How To Install Mac OS X Lion Theme On Lubuntu / LXDE

Lubuntu 12.04 with Mac OS X Lion Theme, xcompmgr & cairo-dock [click to enlarge] Mac OS X is the special one in the Desktop market. So many people admire it because of its beauty, safety (yes, it is an UNIX) and its profesional image as “an OS for profesional modern art designer”. Yeah, Mac OS X has beautiful look and I do like its look-n-feel. And so, there are so many theme patcher to make our Microsoft Windows or Linux OS become Mac OS X in the appearance. In Linux Desktop, there are some project specialized in designing theme transformation pack to make our Linux desktop to be looked like Mac OS X. The most popular project probably is Mac4Lin. But, all of those projects was designed only for GNOME or sometimes support XFCE and how about LXDE? Our Star in the current lightweight Linux desktop? (Yes, LXDE is the most light-but-complete Linux desktop for now). Until now, there is no project that officially support LXDE. Basically, LXDE uses gtk (now still stay w...

QMMP Skins Pack for Ubuntu/Debian

QMMP is a great Winamp Like music player. For me, this is the greatest current living Winamp Like Music Player in Linux (Audacious seems to be more “gtk” interfaced music player than classic winamp). This is based on QT but works smooth and fast enough in gtk based desktops (lxde, xfce, gnome). For you that don't know yet what is QMMP, this is a popular app and installable easily by apt in Ubuntu and or Debian (squeeze, wheezy, sid) : sudo apt-get install qmmp Because of this, I decided to pack some cool Winamp classic skins to be a Debian package to fullfil the lack of additional skins in default QMMP installation. These are the skins : AmpBurger Bang & Olufsen DaizedAmp iTunesLeopard Kenwood-KDC-2019 Rapture s1-1.5d Winamp5-XMMS Winamp Classic And this is the file qmmp-skins-pack-0.1-all.deb you can download and install it to eyecandy your QMMP Player. Happy Linuxing !