LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   xfce menu problem (https://www.linuxquestions.org/questions/linux-general-1/xfce-menu-problem-393377/)

LivinLarge 12-15-2005 08:45 PM

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

LivinLarge 12-15-2005 08:54 PM

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?

alienDog 12-16-2005 01:08 PM

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>

LivinLarge 12-16-2005 07:30 PM

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

LivinLarge 12-17-2005 04:39 PM

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


All times are GMT -5. The time now is 10:25 AM.