LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-15-2005, 08:45 PM   #1
LivinLarge
LQ Newbie
 
Registered: Mar 2005
Distribution: Arch, Mepis
Posts: 24

Rep: Reputation: 15
xfce menu problem


I am using xfce4-svn. I was editing the right click menu and I am not sure exactly how I did it but the menu is now gone. When I right click on the desktop nothing happens.

I added a menu button to the panel and when I click on that nothing happens either. Did I somehow delete the entire menu?

Can someone help me to get my menu back?

Thanks
Joe
 
Old 12-15-2005, 08:54 PM   #2
LivinLarge
LQ Newbie
 
Registered: Mar 2005
Distribution: Arch, Mepis
Posts: 24

Original Poster
Rep: Reputation: 15
I am not sure whether this will help but here is the menu file in text format

Code:
<?xml version="1.0" encoding="UTF-8"?>
<xfdesktop-menu>
	<title name="Desktop Menu" visible="no"
	<separator visible="no"/>
	<app name="Run Program..." cmd="xfrun4" icon="/home/archangel/Gant.Xfce/48x48/xfce/xfwm42.png"/>
	<separator/>
	<app name="Terminal" cmd="xfterm4" icon="/home/archangel/Gant.Xfce/48x48/apps/aterm.png"/>
	<app name="Thunar" cmd="thunar" icon="/home/archangel/Gant.Xfce/48x48/stock/gtk-home.png"/>
	<app name="Firefox" cmd="firefox" icon="/home/archangel/Gant.Xfce/48x48/apps/firefox.png"/>
	<separator/>
	<menu name="Settings" icon="/home/archangel/Gant.Xfce/48x48/xfce/xfce-utils.png">
		<app name="Settings Manager" cmd="xfce-setting-show" icon="gnome-settings"/>
	</menu>
	<separator/>
	<menu name="Graphics" icon="/home/archangel/Gant.Xfce/48x48/xfce/xfce-graphics.png">
	<menu name="Network" icon="/home/archangel/Gant.Xfce/48x48/stock/gtk-network.png">
		<app name="Firefox" cmd="firefox"/>
		<app name="Gaim" cmd="gaim"/>
		<app name="Xchat" cmd="xchat"/>
	</menu>
	<include type="system" unique="true" legacy="true" visible="no"/>
	<menu name="System" icon="/home/archangel/Gant.Xfce/48x48/xfce/xfce-system.png">
		<app name="Conky" cmd="conky"/>
		<app name="Pypanel" cmd="pypanel"/>
	</menu>
	<separator/>
	<app name="Help" cmd="xfhelp4" visible="no" icon="/home/archangel/Gant.Xfce/48x48/stock/gtk-help.png"/>
	<builtin name="Quit" cmd="quit" icon="/home/archangel/Gant.Xfce/48x48/stock/gtk-quit.png"/>
</xfdesktop-menu>
I am not sure what to look for so maybe one of you sees something wrong in there?
 
Old 12-16-2005, 01:08 PM   #3
alienDog
Member
 
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 505

Rep: Reputation: 48
Actually it's XML, not text format The problem is:

<title name="Desktop Menu" visible="no"

it's missing /> from the end of line. It should be:

<title name="Desktop Menu" visible="no"/>

You might also need DOCTYPE definition for the DTD, so the beginning of file would be:

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

Last edited by alienDog; 12-16-2005 at 01:17 PM.
 
Old 12-16-2005, 07:30 PM   #4
LivinLarge
LQ Newbie
 
Registered: Mar 2005
Distribution: Arch, Mepis
Posts: 24

Original Poster
Rep: Reputation: 15
Well I made some progress but I still dont have a menu. I added the stuff to the end of the desktop menu line and I can now see the menu in the graphical editor. When I added the DOCTYPE line everything disappeared again so I deleted it.

Before when I opened the graphical editor everything was blank. After following your suggestion this is what I see...

http://server5.theimagehosting.com/i...=xfcemenu1.png


Everything is faded out though and I cant click on anything. The only things I can click on are create a new file and open an xfce menu file. How can I go from here and make it so I can edit the menu again and have a menu when I right click?

Thanks,

Joe
 
Old 12-17-2005, 04:39 PM   #5
LivinLarge
LQ Newbie
 
Registered: Mar 2005
Distribution: Arch, Mepis
Posts: 24

Original Poster
Rep: Reputation: 15
Well the problem is fixed now. I also needed to add a / at the end of the "Graphics section line. Thanks again for the help
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Xfce right-click menu problem - how to remove an entry? Nylex Linux - General 11 01-13-2013 07:45 AM
Problem with Xfce desk and menu scissorhands Linux - Newbie 0 10-10-2005 03:16 AM
XFCE Desktop Menu caps_phisto Fedora 7 03-25-2005 08:42 AM
Customizing the Xfce pop-up menu Avelaval Slackware 2 03-20-2005 12:30 PM
Xfce program menu? e1000 Linux - Software 5 01-25-2004 01:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:01 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration