xfdesktop root menu already navigable with keys

Wolf Lichtenberger wowowolf at web.de
Sat Apr 3 21:55:43 CEST 2004


Wolf Lichtenberger wrote:
> Concerning Lynx-like and letter navigation in the opened menu:
> Am i correct that for this xfdesktop would have to start using keyboard 
> events?

Luckily, xfdesktop already does that, as i found out lately: if you give the 
name field contents in /etc/X11/xfce4/menudefs.hook a _ somewhere, then the 
following letter becomes usable for moving to that entry in the opened menu.

Example:
    <menu name="_Mount" visible="yes">
       <app name="_CD" cmd="mount /cdrom"/>
       <app name="_Floppy" cmd="mount /floppy"/>
       <app name="CD_writer" cmd="mount /mnt/cdwriter"/>
    </menu>

which one can then use to mount the floppy with the keys M, F in the opened menu.

Btw thanks again for a fast and rich desktop environment!



More information about the Xfce4-dev mailing list