You are not logged in.

#1 2009-03-10 10:27:23

shadok
Member
Registered: 2009-02-24
Posts: 10

[Openbox] Cannot select a menu item with keyboard ?

Hi,

After trying Openbox I liked it so began to configure it.

My very first move was to bind a key (W-Tab) to the list of applications (same as middle mouse button on root window), to be able to switch app with the keyboeard (W-Tab, arrows, then return).

... and the only way to choose a menu item seems to mouse click it !!! sad  is it possible to activate the selection with the return key ?

Thanks for any help.

Offline

#2 2009-03-10 19:13:54

sfauzia
Member
Registered: 2009-01-11
Posts: 88

Re: [Openbox] Cannot select a menu item with keyboard ?

Actually, the return key works just fine to activate a selection. I just tested it myself. It requires no configuration for it to work--it should be automatic.

Offline

#3 2009-03-10 21:58:33

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [Openbox] Cannot select a menu item with keyboard ?

sfauzia wrote:

Actually, the return key works just fine to activate a selection. I just tested it myself. It requires no configuration for it to work--it should be automatic.

+ 1. I can confirm that this works.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#4 2009-03-10 22:38:32

Hrod beraht
Member
Registered: 2008-09-30
Posts: 186

Re: [Openbox] Cannot select a menu item with keyboard ?

Maybe there's something weird in your keybinding. Is yours something like this?

~/.config/openbox/rc.xml

<keyboard>
...
    <keybind key="W-Tab">
      <action name="ShowMenu">
        <menu>client-list-combined-menu</menu>
      </action>
    </keybind>
...
</keyboard>

Bob

Offline

#5 2009-03-11 00:33:34

shadok
Member
Registered: 2009-02-24
Posts: 10

Re: [Openbox] Cannot select a menu item with keyboard ?

Hrod beraht wrote:

Maybe there's something weird in your keybinding. Is yours something like this?
...

Exactly, and the shortcut works, the menu appears, I can navigate, use arrows, even letters when undelined in window titles... only not return (nor enter, nor ^M).

I also posted to the openbox mailing list, seems I'm the only one having that problem.. sad

Still investigating, I found this when using xstart from the console:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
Using config file: "/etc/X11/xorg.conf"
expected keysym, got dead_currency: line 501 of fr
expected keysym, got dead_belowcomma: line 509 of fr
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2
> symbols Ignoring extra symbols 
Errors from xkbcomp are not fatal to the X server
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

Anyone knows if is it possible that this error could have corrupted my keyboard somewhere and only the menus (for now) can
see the consequence ? (anyway xfce's menus are ok, only openbox behaves this way).

Eric

Offline

#6 2009-03-23 21:55:31

shadok
Member
Registered: 2009-02-24
Posts: 10

Re: [Openbox] Cannot select a menu item with keyboard ?

shadok wrote:

Hi,

After trying Openbox I liked it so began to configure it.

My very first move was to bind a key (W-Tab) to the list of applications (same as middle mouse button on root window), to be able to switch app with the keyboeard (W-Tab, arrows, then return).

... and the only way to choose a menu item seems to mouse click it !!! sad  is it possible to activate the selection with the return key ?

Thanks for any help.

Back to this problem that I seem to be the only one to have...

Following another track : I noticed my return key was reported as KP_ENTER (by e.g. xev), so I tried:

xmodmap -e "keysym KP_Enter = Return"

But it does not work either...

Can anyone please tell me how their return key is reported by xev ?
Does anyone know what key name should normally select an openbox menu item ?

Thanks !!

Offline

Board footer

Powered by FluxBB