You are not logged in.
I'm trying to add an option in my Openbox menu to allow me to change keyboard mappings, but the menu option does not appear in my Openbox main menu.
My code is as follows:
<menu id="kbd-layout" label="Keyboards">
<item label="English UK">
<action name="Execute">
<command>setxkbmap gb</command>
</action>
</item>
<item label="Russian">
<action name="Execute">
<command>setxkbmap ru</command>
</action>
</item>
<item label="Finnish">
<action name="Execute">
<command>setxkbmap fi</command>
</action>
</item>
</menu>
any help would be appreciated.
Last edited by astacha (2010-01-20 22:31:24)
Offline
Try using
<execute>setxkbmap gb</execute>
instead of <command>
Last edited by JackH79 (2010-01-20 09:43:48)
Offline
Did you actually include the menu in the root menu too?
<menu id="root-menu" label="Openbox">
<!-- menus are included here in order to show up -->
<menu id="kbd-layout"/>
</menu>
Offline
Thanks hw-tph. No, I did not include the menu in the root menu section.
I never really noticed that section until now. Thanks.
Last edited by astacha (2010-01-20 22:30:57)
Offline