LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-16-2008, 01:29 AM   #1
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-13.37
Posts: 776

Rep: Reputation: 50
Pleez, How do you edit Xfce Application Menu?


I installed a program in slackware12, Xfce4.4.2, and its startup
icon went into the Subfolder of another Program? How do I edit xfce application menu? Thanks
 
Old 02-16-2008, 06:25 PM   #2
peart
Member
 
Registered: Nov 2003
Distribution: Arch
Posts: 31

Rep: Reputation: 16
I think this is what you are looking for:
1) Right-click on the desktop, choose Settings, then Desktop Settings.
2) Click on the Behavior tab.
3) Press the Edit Menu button.

HTH,
peart
 
Old 02-16-2008, 07:54 PM   #3
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,203

Rep: Reputation: 292Reputation: 292Reputation: 292
That doesn't show the whole menu though. At least not here.
 
Old 02-16-2008, 08:41 PM   #4
peart
Member
 
Registered: Nov 2003
Distribution: Arch
Posts: 31

Rep: Reputation: 16
True. I forgot about .desktop files. In my distribution, they are in /usr/share/applications. You can change the "categories=" entry in those files to change the submenu they appear in.
 
1 members found this post helpful.
Old 02-16-2008, 10:42 PM   #5
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-13.37
Posts: 776

Original Poster
Rep: Reputation: 50
thanks guys, I have tried the above Menu edit options but the problem is that the icon for the app I want is in the sub folder of Ooo ...

Note that if I use App finder it finds my new program and I can access the start icon if I open xfce menu -> Ooo-> Scribus (my new favorite I have tried add a launcher to desktop dock panel.. for some reason the Scribus App icons are not in /Applications/icons... Its a small thing but frustrating because for me its a matter of being able to create and manage the desktop I want and am comfortable with. Maybe there is a simple low level solution? Lol

Which is the scribus button that starts it up specifically anyway?

Do appreciate responsive inputs. Wish I could build a Dedicated Xfce Forum, the offical xfce forum is not very responsive.

Last edited by NightSky; 02-17-2008 at 02:47 PM.
 
Old 02-17-2008, 04:31 PM   #6
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-13.37
Posts: 776

Original Poster
Rep: Reputation: 50
pert, I was able to add finally a working shortcut icon to panel by using the +/-
launcher applicate in xfce, putting the scribusicon.png in the first slot and openning the /usr/bin/scribus executable in command slot.

Could you explain about the 'categories=' option, How do I access it, where is it located? Is this a command line fix?

What a pain just to create a shortcut. Thanks
 
Old 02-19-2008, 09:58 AM   #7
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,203

Rep: Reputation: 292Reputation: 292Reputation: 292
If anyone is still looking for a eway to edit all the xfce menu entries I found this in the docs:

Code:
How to edit the auto generated menu with the menu editor?

cp ~/.cache/xfce4/desktop/menu-cache-name-of-the-generated-file.xml ~/.config/xfce4/desktop/menu2.xml
cd ~/.config/xfce4/desktop/
cat menu.xml > menu3.xml
cat menu2.xml >> menu3.xml
mv menu.xml menu.orig.xml
mv menu3.xml menu.xml

Now, you already have a menu with all the categories in the main tree with some duplicates, but you must first edit menu.xml with your favorite editor and remove the 4 following lines in the middle of the file, otherwise the menu editor will complain about a wrong format:

</xfdesktop-menu>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xfdesktop-menu>

<xfdesktop-menu>

That's all. Now you can run the menu editor, remove the few duplicates and edit all as you like.

Settings > Desktop > Menu > Menu Editor

Notes: by removing the “system” line, you will remove all the duplicates menu entries from the auto generated file. So, if it is changed in this auto generated file, they don't appear anymore, but you will get rid of most of the duplicates.

To restore the original menu, just do in a terminal:

mv menu.xml menu3.xml; mv menu.orig.xml menu.xml
http://wiki.xfce.org/faq
 
  


Reply

Tags
menu, xfce


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing KDE menu items from XFCE menu kr4ey Slackware 8 03-14-2011 03:29 AM
how to edit xfce menu? kryptobs2000 Linux - Software 7 02-16-2008 10:50 AM
Is XFCE the only environment to have right-click for application menu? Mysticle31 Linux - Newbie 9 12-14-2007 05:19 PM
Edit gnome Application menu nos1833 Debian 1 06-07-2007 06:02 AM
How to edit Gnome Application Menu??? XSquire Debian 2 12-17-2005 11:28 AM


All times are GMT -5. The time now is 06:05 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration