[openbox] C-A key combinations not working with openbox 3.3.995

Dana Jansens danakj at orodu.net
Tue Jun 5 14:32:11 EDT 2007


This will fix it for now:

% xmodmap -e 'remove control = Caps_Lock'
% xmodmap -e 'add lock = Caps_Lock'

xkb is a strange beast. I've made some changes that will let your old
xmodmap settings work, and I think it should be okay that way.  So you
won't have to do the above in 3.4, it'll just work for you.

Dana

On 6/5/07, Dirk Jagdmann <doj at cubic.org> wrote:
> > Attaching your rc.xml (double check that it's the one you're using!)
> > would help.
>
> You have it all attachted. I have checked with the default rc.xml and
> Ctrl-Bindings did not work.
>
> > Let's debug your X settings first---open xev and hit these key
> > combinations and send us the results:
> >
> > Ctrl
> > Alt
> > Shift
> > Ctrl+Alt
> > Ctrl+Alt+c
> > Shift+Alt+c
>
> I have removed xev events like "Focus in" etc. and left everything
> dealing with keys.
>
> And I just checked again with my old openbox 3.2 (and the old config
> files). All my key assignments are working there, so I did not mess up
> anything general X configuration.
>
> --
> ---> Dirk Jagdmann ^ doj / cubic
> ----> http://cubic.org/~doj
> -----> http://llg.cubic.org
>
>
> KeymapNotify event, serial 29, synthetic NO, window 0x0,
>     keys:  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   0
>
> KeyPress event, serial 29, synthetic NO, window 0x2400001,
>     root 0x1ad, subw 0x0, time 4238776794, (90,-9), root:(513,291),
>     state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
>     XLookupString gives 0 bytes:
>     XmbLookupString gives 0 bytes:
>     XFilterEvent returns: False
>
> KeyRelease event, serial 32, synthetic NO, window 0x2400001,
>     root 0x1ad, subw 0x0, time 4238777296, (90,-9), root:(513,291),
>     state 0x4, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
>     XLookupString gives 0 bytes:
>
> KeyPress event, serial 32, synthetic NO, window 0x2400001,
>     root 0x1ad, subw 0x0, time 4238778104, (90,-9), root:(513,291),
>     state 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
>     XLookupString gives 0 bytes:
>     XmbLookupString gives 0 bytes:
>     XFilterEvent returns: False
>
> KeyRelease event, serial 32, synthetic NO, window 0x2400001,
>     root 0x1ad, subw 0x0, time 4238778606, (90,-9), root:(513,291),
>     state 0x8, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
>     XLookupString gives 0 bytes:
>
> KeyPress event, serial 32, synthetic NO, window 0x2400001,
>     root 0x1ad, subw 0x0, time 4238779727, (90,-9), root:(513,291),
>     state 0x0, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
>     XLookupString gives 0 bytes:
>     XmbLookupString gives 0 bytes:
>     XFilterEvent returns: False
>
> KeyRelease event, serial 32, synthetic NO, window 0x2400001,
>     root 0x1ad, subw 0x0, time 4238780196, (90,-9), root:(513,291),
>     state 0x1, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
>     XLookupString gives 0 bytes:
>
> KeyPress event, serial 32, synthetic NO, window 0x2400001,
>     root 0x1ad, subw 0x0, time 4238781368, (90,-9), root:(513,291),
>     state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
>     XLookupString gives 0 bytes:
>     XmbLookupString gives 0 bytes:
>     XFilterEvent returns: False
>
> KeyPress event, serial 32, synthetic NO, window 0x2400001,
>     root 0x1ad, subw 0x0, time 4238781742, (90,-9), root:(513,291),
>     state 0x4, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
>     XLookupString gives 0 bytes:
>     XmbLookupString gives 0 bytes:
>     XFilterEvent returns: False
>
> KeyRelease event, serial 32, synthetic NO, window 0x2400001,
>     root 0x1ad, subw 0x0, time 4238782369, (90,-9), root:(513,291),
>     state 0xc, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
>     XLookupString gives 0 bytes:
>
> KeyRelease event, serial 32, synthetic NO, window 0x2400001,
>     root 0x1ad, subw 0x0, time 4238782380, (90,-9), root:(513,291),
>     state 0x4, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
>     XLookupString gives 0 bytes:
>
> KeyPress event, serial 32, synthetic NO, window 0x2400001,
>     root 0x1ad, subw 0x0, time 4238783849, (90,-9), root:(513,291),
>     state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
>     XLookupString gives 0 bytes:
>     XmbLookupString gives 0 bytes:
>     XFilterEvent returns: False
>
> KeyPress event, serial 32, synthetic NO, window 0x2400001,
>     root 0x1ad, subw 0x0, time 4238784172, (90,-9), root:(513,291),
>     state 0x4, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
>     XLookupString gives 0 bytes:
>     XmbLookupString gives 0 bytes:
>     XFilterEvent returns: False
>
> KeyPress event, serial 32, synthetic NO, window 0x2400001,
>     root 0x1ad, subw 0x0, time 4238784503, (90,-9), root:(513,291),
>     state 0xc, keycode 54 (keysym 0x63, c), same_screen YES,
>     XLookupString gives 1 bytes: (03) ""
>     XmbLookupString gives 1 bytes: (03) ""
>     XFilterEvent returns: False
>
> KeyRelease event, serial 32, synthetic NO, window 0x2400001,
>     root 0x1ad, subw 0x0, time 4238784727, (90,-9), root:(513,291),
>     state 0xc, keycode 54 (keysym 0x63, c), same_screen YES,
>     XLookupString gives 1 bytes: (03) ""
>
> KeyRelease event, serial 32, synthetic NO, window 0x2400001,
>     root 0x1ad, subw 0x0, time 4238784985, (90,-9), root:(513,291),
>     state 0xc, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
>     XLookupString gives 0 bytes:
>
> KeyRelease event, serial 32, synthetic NO, window 0x2400001,
>     root 0x1ad, subw 0x0, time 4238784989, (90,-9), root:(513,291),
>     state 0x8, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
>     XLookupString gives 0 bytes:
>
> KeyPress event, serial 32, synthetic NO, window 0x2400001,
>     root 0x1ad, subw 0x0, time 4238786660, (90,-9), root:(513,291),
>     state 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
>     XLookupString gives 0 bytes:
>     XmbLookupString gives 0 bytes:
>     XFilterEvent returns: False
>
> KeyPress event, serial 32, synthetic NO, window 0x2400001,
>     root 0x1ad, subw 0x0, time 4238787119, (90,-9), root:(513,291),
>     state 0x8, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
>     XLookupString gives 0 bytes:
>     XmbLookupString gives 0 bytes:
>     XFilterEvent returns: False
>
> FocusOut event, serial 32, synthetic NO, window 0x2400001,
>     mode NotifyGrab, detail NotifyAncestor
>
>
> ### at this point a new xterm was started....
>
>
> xmodmap:  up to 4 keys per modifier, (keycodes in parentheses):
>
> shift       Shift_L (0x32),  Shift_R (0x3e)
> lock
> control     Control_L (0x25),  Control_R (0x6d),  Caps_Lock (0x42)
> mod1        Alt_L (0x40),  Alt_L (0x7d),  Meta_L (0x9c)
> mod2        Num_Lock (0x4d)
> mod3
> mod4        Super_L (0x73),  Super_R (0x74),  Super_L (0x7f),  Hyper_L (0x80)
> mod5        Mode_switch (0x5d),  ISO_Level3_Shift (0x71),  ISO_Level3_Shift (0x7c)
>
>
>
>
>
> ---
> To unsubscribe, send a blank email to openbox-unsubscribe at icculus.org
> Mailing list archives: http://icculus.org/cgi-bin/ezmlm/ezmlm-cgi?24
>
>
>


More information about the openbox mailing list