Search
| Switching to Xubuntu | ||
Quote of the Day

I switched my OS to Xubuntu today. The install when well but when I rebooted, my monitor when blank after briefly showing the Xubuntu splash screen. I turn the machine off, the hard way and restarted it. The monitor the worked as it should. Don't know what happened but it seems OK now.
To add menus to XFCE, first you have to start the Ubuntu Software Centre and install alacarte. alacarte is a menu editor and it appears under Settings -> Main Menu.
The only problem with it, is that it cannot add separators between items. Since I really want them, I had to do a little digging to find out how to insert them manually. Here's my method:
Go to the menu directory:
cd ~/.config/menus
First, make a backup of the menu file.
cp xfce-applications.menu xfce-applications.menu.bak
chmod a-w xfce-applications.menu.bakThe chmod is to prevent accidental erasure.
Now, use your favourite editor to add the separators. Mine is gvim but substitute your own:
gvim cp xfce-applications.menu
Go to the section <Layout>. Add the following:
<Separator/>
Repeatedly add more separators until you get the number you want. If you're not sure, add a whole bunch; you can always delete the excess later.
Save the file and exit. Start up the menu editor. The separators should appear at the beginning of your menu. Move them to their proper locations and delete any excess.
The DTD for the XML menu file is menu-1.0.dtd.
Send me a comment.
Note: not all comments will be posted.


Copyright 2011 by Shawn H Corey. Some rights reserved.

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
DISCLAIMER:
The information presented here is for entertainment purposes only. The author(s), web host(s), ISP(s), or anyone involved in the creation or distribution of this information is NOT RESPONSIBLE for ANY LOSS, DAMAGE, INJURY or DEATH that may result from the use of this information.
