I have the Gnome edition of Manjaro on a Macbook Pro 9,2.
I recently installed the Openbox window manager (v3.6.1-8) because I want to try out using a window manager instead of a full desktop environment.
My keyboard works perfectly find in my Gnome session, but behaves very strangely whenever I am in my Openbox session. Most of the keys, such as the 7 key, work fine, as indicated by the following output in xev
:
KeyPress event, serial 47, synthetic NO, window 0x800001,
root 0x3ef, subw 0x0, time 4312543, (693,666), root:(694,688),
state 0x0, keycode 16 (keysym 0x37, 7), same_screen YES,
XLookupString gives 1 bytes: (37) "7"
XmbLookupString gives 1 bytes: (37) "7"
XFilterEvent returns: False
KeyRelease event, serial 47, synthetic NO, window 0x800001,
root 0x3ef, subw 0x0, time 4312663, (693,666), root:(694,688),
state 0x0, keycode 16 (keysym 0x37, 7), same_screen YES,
XLookupString gives 1 bytes: (37) "7"
XFilterEvent returns: False
But others, such as the 8 key, produce no output in a text field. The output of xev
is
KeymapNotify event, serial 47, synthetic NO, window 0x0,
keys: 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
FocusOut event, serial 47, synthetic NO, window 0x800001,
mode NotifyNormal, detail NotifyNonlinear
I cannot tell whether or not my volume up/down/mute keys are working correctly. The output of xev
appears normal:
KeyPress event, serial 47, synthetic NO, window 0x800001,
root 0x3ef, subw 0x0, time 4364271, (98,551), root:(99,573),
state 0x0, keycode 122 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 47, synthetic NO, window 0x800001,
root 0x3ef, subw 0x0, time 4364343, (98,551), root:(99,573),
state 0x0, keycode 122 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
but after setting the following keybindings in ~/.config/openbox/rc.xml
<keybind key="0x1008ff13">
<action name="Execute">
<command>amixer set Master 5%+</command>
</action>
</keybind>
<keybind key="0x1008ff11">
<action name="Execute">
<command>amixer set Master 5%-</command>
</action>
</keybind>
<keybind key="0x1008ff12">
<action name="Execute">
<command>amixer set Master toggle</command>
</action>
</keybind>
nothing happens when I press them. (Notice that I have used the hex keycodes instead of XF86AudioRaiseVolume
and so on after reading this thread on the Arch forum. Using the key names doesn’t fix the issue.)
What might be causing this issue? What further diagnostics can I run?