Just found out what was wrong. I remapped my Caps Lock to Ctrl with
xmodmap and this:

remove Lock = Caps_Lock
remove Control = Control_L
keysym Caps_Lock = Control_L
add Lock = Caps_Lock
add Control = Control_L

If I use the actual Ctrl key, everything works fine. I popped up xev
and I guess it's a problem with

XKeysymToKeycode returns keycode: 37

because the actual keycode for the Caps Lock is 66.

Why would this only bug that one special case with viewing tags?


On Fri, Jun 22, 2012 at 7:27 PM, Adrian C. <an...@sysphere.org> wrote:
> On Mon, 18 Jun 2012, Hong Shick Pak wrote:
>
>> What do you mean strange layouts?
>
> I ment strange keyboard layouts, not tiling layouts :)
>
> The least you can do is add some debug print() statements to those
> bindings to see if it's being executed at all maybe it thinks there is
> no tag 2 on that screen. Start like this
>
> awful.key({ modkey, "Control" }, "#" .. i + 9, function ()
>    local screen = mouse.screen
>    if tags[screen][i] then
>        print("Found tag " .. tags[screen][i])
>        awful.tag.viewtoggle(tags[screen][i])
>    else
>        print("Did not find tag " .. tags[screen][i])
>    end
> end),
>
>
>
> --
> Adrian C. (anrxc) | anrxc..sysphere.org | PGP ID: D20A0618
> PGP FP: 02A5 628A D8EE 2A93 996E  929F D5CB 31B7 D20A 0618
>
> --
> To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.

--
To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.

Reply via email to