problem with menu.xml + menu2.xml

Samuel Rabinowich rabinowich at zoznam.sk
Mon Apr 19 16:31:08 CEST 2004


	Hi
This makes me really nervous, because it worked on MDK9.2, now i'm on gentoo
and XFCE 4.0.4.

Situation:
********
$ cat ~/.xfce4/menu.xml

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xfdesktop-menu [
<!ENTITY menu2 SYSTEM "menu2.xml"> 
]>
<xfdesktop-menu>
    <separator/>
    &menu2;
    <separator/>
</xfdesktop-menu>

********
$ cat ~/.xfce4/menu2.xml

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xfdesktop-menu []>
<xfdesktop-menu>
<menu name="Gentoo (by mmaker 0.15)" visible="yes">
<menu name="KDE" visible="yes">
        <separator/>
        <menu name="Development" visible="yes">
                <app name="Qt Designer" cmd="mmaker-launch -m XFdesktop4 -c Pr
ophet.Program.KDE.Development.designer /usr/qt/3/bin/designer"/>

...

<app name="Xload" cmd="mmaker-launch -m XFdesktop4 -c Prophet.Program.
X.xload /usr/X11R6/bin/xload"/>
</menu>
</menu>
</xfdesktop-menu>

*********
after running xfdesktop and right-clicking on the desktop i got only a square
and this output, which i don't understand:

$ xfdesktop 
** Message: xfdesktop: running without session manager
/home/dano/.xfce4/menu2.xml:2: parser error : StartTag: invalid element name
<!DOCTYPE xfdesktop-menu []>
 ^
/home/dano/.xfce4/menu.xml:7: error: Failure to process entity menu2
    &menu2;
           ^
/home/dano/.xfce4/menu.xml:7: parser error : Entity 'menu2' not defined
    &menu2;
           ^

** (xfdesktop:20139): WARNING **: xfdesktop: Could not parse
/home/dano/.xfce4/menu.xml.


** (xfdesktop:20139): WARNING **: xfdesktop: Error parsing menu file
/home/dano/.xfce4/menu.xml

Can anyone help?

-- 
Dano
tux at zoznam.sk
UIN: 86363288



More information about the Xfce mailing list