Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Desktop Environments
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Desktop Environments
Support for your Ubuntu desktop. Including Gnome, KDE and XFCE.

 
Thread Tools Display Modes
Old June 9th, 2006   #1
DevilInPgh
5 Cups of Ubuntu
 
Join Date: Aug 2005
Location: Pittsburgh, PA
Beans: 28
Ubuntu Karmic Koala (testing)
Send a message via AIM to DevilInPgh Send a message via MSN to DevilInPgh Send a message via Yahoo to DevilInPgh
Cool Menu editing in Xfce

How do I edit the menu in Xfce so I can put apps in the folders that I want them in? I saw that I can add programs to the menu via the GNOME menu editor, but this places apps in the "Other" folder. And when I use the Xfce menu editor, it just has a space that represents the whole system, which I can't edit.
DevilInPgh is offline   Reply With Quote
Old June 23rd, 2006   #2
easy_target
A Carafe of Ubuntu
 
easy_target's Avatar
 
Join Date: Nov 2004
Location: United States
Beans: 117
Re: Menu editing in Xfce

I wanna do the same thing. Anyone out there can help us?
__________________
"Appear where they cannot go, head for where they least expect you. To travel hundreds of miles without fatigue, go over land where there are no people."
easy_target is offline   Reply With Quote
Old June 23rd, 2006   #3
aysiu
HP Mini 1120nr User
 
aysiu's Avatar
 
Join Date: May 2005
Location: US
My beans are hidden!
Ubuntu 9.10 Karmic Koala
Re: Menu editing in Xfce

Edit the menu the way you want and then save it as /home/username/.custommenu.xml

In XFCE menu properties, select use custom menu file and then navigate to your custom menu.
Attached Thumbnails
Click image for larger version

Name:	Screenshot.png
Views:	4929
Size:	72.3 KB
ID:	11692  
__________________
tutorials | blog |
advice | more advice
aysiu is online now   Reply With Quote
Old July 6th, 2006   #4
ardchoille
Has an Ubuntu Drip
 
Join Date: Nov 2005
Beans: 729
Ubuntu 6.06
Re: Menu editing in Xfce

Quote:
Originally Posted by aysiu
Edit the menu the way you want and then save it as /home/username/.custommenu.xml

In XFCE menu properties, select use custom menu file and then navigate to your custom menu.
The problem is you can't edit most of the xfce4 menu with the menu editor. Even many of the xfce community agree that the menu editor is almost useless.

I have, however, found a way to change things in the system menu. Create new .desktop files in ~/.local/share/applications and those new meu items will show up in the xfce4 menu immediately.. at least they did for me.
ardchoille is offline   Reply With Quote
Old August 20th, 2006   #5
ezphilosophy
A Carafe of Ubuntu
 
ezphilosophy's Avatar
 
Join Date: Sep 2005
Location: Shanghai, China
Beans: 88
Ubuntu 8.04 Hardy Heron
Re: Menu editing in Xfce

Quote:
Originally Posted by aysiu View Post
Edit the menu the way you want and then save it as /home/username/.custommenu.xml

In XFCE menu properties, select use custom menu file and then navigate to your custom menu.
Aysiu,

How do you edit the menu in the way of accessories, games, utilites, etc.? I just installed xfce from Kubuntu and I have loads of applications that I really don't want in the menu. For some reason, with the install, xfce decided to put a bunch of screensavers in the "system" menu.

You mentioned editing a menu, that just seems to be for the other menu components e.g., settings, terminal, run program, etc.

Any ideas? Anyone?
ezphilosophy is offline   Reply With Quote
Old August 21st, 2006   #6
lionel47
5 Cups of Ubuntu
 
Join Date: Apr 2005
Beans: 34
Re: Menu editing in Xfce

The screensavers in the system menu is a great annoyance to me, too. I hope someone finds the answer.
lionel47 is offline   Reply With Quote
Old August 22nd, 2006   #7
DirtDawg
Fresh Brewed Ubuntu
 
DirtDawg's Avatar
 
Join Date: Jan 2005
Location: Portland, Oregon U.S.A.
Beans: 1,200
Ubuntu 9.04 Jaunty Jackalope
Re: Menu editing in Xfce

All the menu files can be found in /usr/share/applications in the form of ".desktop" files. The easiest thing to do is edit those (make a backup first). For example, Cream was under applications, but I wanted it in Development.

Here is the original "/usr/share/applications/cream.desktop" file:
Code:
[Desktop Entry]
Version=1.0
Type=Application
Encoding=UTF-8
Name=Cream
Comment=Edit text files
Comment[de]=Textdateien editieren
TryExec=cream
Exec=cream %F
MimeType=text/plain
Categories=Application;Utility;TextEditor;
Icon=/usr/share/pixmaps/cream.xpm
I changed the "Categories" line to include "Development" rather than "Applications", so now it shows up in the "Development" catergory:
Code:
Categories=Development;Utility;TextEditor;
To remove something from the menu, add the following line to a ".desktop" file at the bottom:
Code:
NoDisplay=true
I found this trick and a few others here.

Hope this helps
__________________
Tales from America
DirtDawg is offline   Reply With Quote
Old March 28th, 2008   #8
SneakyWho_am_i
5 Cups of Ubuntu
 
SneakyWho_am_i's Avatar
 
Join Date: Mar 2008
Location: New Zealand
Beans: 44
Hardy Heron (Ubuntu Development)
Send a message via AIM to SneakyWho_am_i Send a message via MSN to SneakyWho_am_i Send a message via Yahoo to SneakyWho_am_i Send a message via Skype™ to SneakyWho_am_i
Wink Re: Menu editing in Xfce

Interesting. Aysiu's screenshot shows two Windows. I have the first, and the second, but the second has much different content in my version of XFCE. I'm not taking a screenshot but basically the only "editable" item in that is the link to the settings thing. It's also the only collapsible category.

I'm not complaining, I can edit it by hand and I'm using Hardy proposed updates and backports and such - it's just curious that everything after the second divider is just represented by
"--- include --- system"
ESP tells me it's an "External" entry.

Quote:
Originally Posted by aysiu View Post
Edit the menu the way you want and then save it as /home/username/.custommenu.xml

In XFCE menu properties, select use custom menu file and then navigate to your custom menu.
__________________
"I own your very SOUL, bow down before me!" -- Linus Torvalds
(NB this quote is way out of context..)
SneakyWho_am_i is offline   Reply With Quote
Old June 23rd, 2006   #9
jonathantneal
First Cup of Ubuntu
 
Join Date: Jun 2006
Beans: 10
Re: Menu editing in Xfce | Xubuntu 6.10 | Menu.xml

If you want to edit the main menu, you have to load the default .xml

If you want to edit 99% of that menu; the part that exists above the first seperator and beneath the second (settings, accessories, games, graphics, multimedia, network, office, other, system - you know, just those...) then I haven't a clue, and I hope we find out soon!

EDIT: someone else posted the solution while I was writing my comment. UNDO, CTRL+Z, BACKSPACE, CTRL+ALT+DELETE MYPOST.

Last edited by jonathantneal; June 23rd, 2006 at 10:50 PM.. Reason: Stupidity
jonathantneal is offline   Reply With Quote
Old February 13th, 2008   #10
mixmaster
Way Too Much Ubuntu
 
Join Date: Aug 2006
Beans: 249
Re: Menu editing in Xfce

Ugh, this system is truely dire.

I've recently tried to move to xfce. Generally I like it, but the menu system stinks. I managed to hide the system menu with the menu editor then couldn't get it back until I found out what the menu editor app was called so I could edit it from the desktop. Then I managed to make the entire applications menu disappear playing with custom menu files and had to re-establish it using add-panel.

Anyway, one tip.

If you add the line
<include type="file" src="menu2.xml"/>
to your ~/config/xfce4/desktop/menu.xml file then the contents of menu2.xml will be embedded in your menu. I copied the original menu.xml to menu2.xml and started by editing that. However, if you change menu2.xml the changes will not be reflected in the application menu unless you also update menu.xml (touch is sufficient).

Oh, yes, get used to editing the .xml files by hand if you use the default location because as far as I can see there is no way to persuade the "open file" option in the menu editor to traverse into a directory whose name begins in a "."

I've just noticed that the menu editor has disappeared from the autogenerated menu tree for reasons that I cannot fathom.

Last edited by mixmaster; February 13th, 2008 at 10:05 AM..
mixmaster is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:43 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry