Le dim. 06 janv. 2013 17:33:40 CET, Fred <[email protected]> a écrit :
>…
> I've started to learn keyboard shortcuts, but faced a problem : some
> shortcuts doesn't work. I thought at first about a syntax problem in
> rc.lua, but actually found that many of « client » keyboard shortcuts
> didn't work... I was unable to :
> - close windows (remapped to Mod4+Shift+x)
> - maximize it (remapped to Mod4+m)
> - top/not on top (remapped to Mod4+j)
> etc.
> Testing on terminal windows, the cursor only blinks and no more action
> from Awesome.
>
> I tried to set another key shortcut for a function, and found that
> that new shortcut worked but not the other !
>
> I then thought about something filtering these keys before Awesome get
> them, and found that lauching awesome without using a Gnome session,
> the key shortcuts are working !!
>
> So the problem seems to be in Gnome and not Awesome, but I don't see
> what can filter these keys. I've checked Gnome's key shortcuts,
> without anything having 'Mod4', only about specific 'music' keycodes
> (XF86Audio*) and few other keys combinations...
Hi,
For the record, and hoping this can help someone, I actually found
how to avoid this problem (even if I didn't understood exactly the
problem) : Editing X11 keyboard settings (through Gnome's
gnome-keyboard-properties program), I found my problem disappears when
I remove an additional US mapping : I have a Xkb setup with 3 layouts,
fr(bepo), fr(oss) and us, and a setup to switch between these layouts
pressing the 2 shift keys together :
$ setxkbmap -print
xkb_keymap {
xkb_keycodes { include "evdev+aliases(azerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include
"pc+fr(bepo)+fr(oss):2+us:3+inet(evdev)+group(shifts_toggle)+ctrl(nocaps)+terminate(ctrl_alt_bksp)"
};
xkb_geometry { include "thinkpad(intl)" }; };
When removing the « us:3 » additional layout, I get :
$ setxkbmap -print
xkb_keymap {
xkb_keycodes { include "evdev+aliases(azerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include
"pc+fr(bepo)+fr(oss):2+inet(evdev)+group(shifts_toggle)+ctrl(nocaps)+terminate(ctrl_alt_bksp)"
};
xkb_geometry { include "thinkpad(intl)" }; };
And then, nice, all my missing keyboard shortcuts are back !!
If someone knows reason about this (and a way to add back the qwerty layout as
a third layout), please tell me !
> Also I wonder if I should try to build myself a more recent version
> of Awesome for a Debian Squeeze system, or if I safely keep this 3.4.6
> version ?
No advice about that ?
Fred.
--
To unsubscribe, send mail to [email protected].