Bonjour,
Pour simplifier la résolution de ce problème, j’ai installé une Debian Lenny avec LXDE seulement, et je vous donne le contenu de mes chemins.
En ce qui concerne /etc/xdg:
animateur@debian-lxde:/etc/xdg$ ls
autostart lxsession openbox
animateur@debian-lxde:/etc/xdg$ cd lxsession/
animateur@debian-lxde:/etc/xdg/lxsession$ ls
LXDE
animateur@debian-lxde:/etc/xdg/lxsession$ cd LXDE/
animateur@debian-lxde:/etc/xdg/lxsession/LXDE$ ls
autostart config default
animateur@debian-lxde:/etc/xdg/lxsession/LXDE$
animateur@debian-lxde:/etc/xdg/openbox$ ls
autostart.sh menu.xml rc.xml
Le fichier menu.xml ne correspond pas au menu du lxpanel:
[code]<?xml version="1.0" encoding="UTF-8"?>
<openbox_menu xmlns="http://openbox.org/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=“http://openbox.org/
file:///usr/share/openbox/menu.xsd”>
x-terminal-emulator
x-www-browser
obconf
</openbox_menu>
[/code]
Le fichier rc.xml nous propose une piste:
[code]
/var/lib/openbox/debian-menu.xml
debian-menu.xml
menu.xml[/code]
Le fichier évoqué, debian-menu.xml, ne correspond pas non plus au menu lxpanel:
[code]<?xml version="1.0" encoding="UTF-8"?>
<openbox_menu xmlns="http://openbox.org/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=“http://openbox.org/
file:///usr/share/openbox/menu.xsd”>
x-terminal-emulator -T "Info" -e sh -c "info"
xman
xmag
/usr/bin/hp-fab
/usr/bin/hp-sendfax
/usr/bin/gimp
[…]
</item>
<item label='Xclock (digital)'>
<action name='Execute'><execute>xclock -digital -update 1</execute></action>
</item>
<item label='Xeyes'>
<action name='Execute'><execute>xeyes</execute></action>
</item>
<item label='Xlogo'>
<action name='Execute'><execute>xlogo</execute></action>
</item>
</menu>
</openbox_menu>
[/code]
Je vais voir dans le dossier utilisateur:
animateur@debian-lxde:~$ ls -A
.bash_logout .dmrc .gnome2 .mozilla .Xauthority
.bashrc .gconf .gnome2_private .profile .xsession-errors
.config .gconfd .local .thumbnails
animateur@debian-lxde:~$ cd .config/
animateur@debian-lxde:~/.config$ ls -A
leafpad lxpanel lxterminal openbox pcmanfm
animateur@debian-lxde:~/.config$ cd lxpanel/
animateur@debian-lxde:~/.config/lxpanel$ ls -A
LXDE
animateur@debian-lxde:~/.config/lxpanel$ cd LXDE/
animateur@debian-lxde:~/.config/lxpanel/LXDE$ ls -A
animateur@debian-lxde:~/.config/lxpanel/LXDE$ cd /home/animateur/.config/openbox/
animateur@debian-lxde:~/.config/openbox$ ls -A
lxde-rc.xml
Le fichier lxde-rc.xml donne une nouvelle indication:
[code]
/usr/share/lxde/openbox/menu.xml[/code]
Je vais donc voir ce fichier qui, encore une fois ne correspond pas à mon menu sur lxpanel:
[code]<?xml version="1.0" encoding="UTF-8"?>
<openbox_menu xmlns=“http://openbox.org/3.4/menu”>
yespcmanfm
pcmanfm
xterm
firefox
yesopenbox
obconf
lxde-logout
</openbox_menu>[/code]
Où donc se trouve le fichier .xml qui controle le menu par défaut présent dans LXDE sur le tableau lxpanel???
Sans cela, impossible de personnaliser le menu…
Merci pour ceux qui s’intéresseront au sujet!!
Makayabou