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

Ubuntu Kylin 19.04 Review : A Gorgeous Windows 10 Clone

It's been quite a while since the last post I wrote in this blog. My daily life prevents me to write another stuff about Linux Desktop, and now I'm curious to take a look to the Ubuntu Kylin 19.04. Ubuntu is always be my favorite distro. It supports huge number of hardwares, it has probably the largest Linux software repository. It is also --the most important thing-- very easy to install, even for beginners.  But for some couple of years, because of technical reason, I stopped to play around with the Ubuntu releases. I stood for KDE Neon and became my primary OS because of its simplicity and the look. Few days ago Ubuntu has released its newer version, Ubuntu 19.04 codenamed Disco Dingo. I'm yes impressed by the progress Ubuntu developer has made, especially the way they arrange the GNOME desktop to match the Ubuntu theme. But the most interesting flavor of this release is Ubuntu Kylin. It's an official Ubuntu flavor, designed for Chinese People with its own...

How To Speed Up Your KDE Plasma Desktop (KDE4)

KDE is one of the oldest desktop environment in Linux. While GNOME (the other desktop that as old as KDE) is trying to built its own style of user interface, KDE from the beginning seems to mimics the Microsoft Windows' "classic" user interface. Thus, KDE has its own user base, especially for them who still in love with the Windows' philosophy : a simple desktop, with a single taskbar in the bottom, and a start menu in the left. Personally, I love KDE. It's gorgeous and eyecandy. But sometimes, I feel KDE is little bit slow in my older hardwares. So, after some experiences, I've found some tweak how to make KDE Plasma Desktop Runs Faster . 1. Change The Compositing Engine  Go to System Settings>Desktop Effect>Advanced , and change the Compositing type from OpenGL 2.0 to XRender. 2. Remove All Bloatware Apps There are some uneeded apps installed in Kubuntu (my favorite KDE distro) and you could safely remove them. Here are my list : ...

BAM Huawei Mobile Partner For Linux. Download and Install.

Click to enlarge Profile management Broadband connection is one of the most used internet connections, alongside wired and wi-fi internet connection. And the most used device to use broadband connection is USB Modem (GSM/CDMA), and one of the most used brands is Huawei, a world-recognized Chinese manufacture that focuses to produce great networking devices (modems, router etc). It is probably the most popular brand from China and I have to say that Huawei is a great product. Because of this I decided to buy a CDMA USB modem from Huawei. And greatly, this has already been recognized by Linux from so long time ago and so I can use the modem easily with GNOME's Network Manager. But later I found a problem : how to top up my prepaid internet account? To top up my prepaid internet account, I have to send a SMS to the provider and I can't do this on Linux. With forced, I temporarily used Mobile Partner application on Windows to buy / top up my prepaid internet account. ...