Hi,
Key bindings specified with key names do not work:
key({ modkey, }, "Left", awful.tag.viewprev)
However bindings specified with key codes do work:
key({ modkey }, '#1' .. i-1,
function ()
local screen = mouse.screen
if tags[screen][i] then
awful.tag.viewonly(tags[screen][i])
end
end))
Moreover, I don't know if it's related but the page up key gets
intercepted before reaching the applications. Here's what I get with
xev when I hit the page up and page down keys:
- Page up:
FocusOut event, serial 26, synthetic NO, window 0x4200001,
mode NotifyGrab, detail NotifyAncestor
FocusIn event, serial 26, synthetic NO, window 0x4200001,
mode NotifyUngrab, detail NotifyAncestor
KeymapNotify event, serial 26, 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
- Page down:
KeyPress event, serial 29, synthetic NO, window 0x4200001,
root 0xab, subw 0x0, time 4368970, (500,-21), root:(548,0),
state 0x0, keycode 117 (keysym 0xff56, Next), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 29, synthetic NO, window 0x4200001,
root 0xab, subw 0x0, time 4369081, (500,-21), root:(548,0),
state 0x0, keycode 117 (keysym 0xff56, Next), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
This is on 64 bits ArchLinux with xorg 1.6.1
Jerome
--
mailto:[email protected]
http://jeberger.free.fr
Jabber: [email protected]
--
To unsubscribe, send mail to [email protected].