15.12.2011 20:33, basilio пишет:
> In my almost default rc.lua I got keybindings that only work in latin
> layouts. Is there a way to define them somehow without making non-latin
> doubles?
> 
> Thanks ahead.
> 
> 
16.12.2011 09:00, Dmitry Lavnikevich пишет:
> On Fri, Dec 16, 2011 at 9:53 AM, Dmitry Lavnikevich <h...@midgard.by>
wrote:
>
>     On Thu, Dec 15, 2011 at 9:33 PM, basilio <basi...@gmx.com> wrote:
>
>         In my almost default rc.lua I got keybindings that only work
in latin
>         layouts. Is there a way to define them somehow without making
non-latin
>         doubles?
>
>         Thanks ahead.
>
>
>         --
>         To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.
>
>
>     You can use scan-codes instead of symbols for specifying
keybundings. For example part of my rc.lua
>
>         -- User defined keys
>         awful.key({ modkey,           }, "#26", function ()
awful.util.spawn("emacsclient -c", false)  end),  -- #26 = 'e'
>         awful.key({ modkey, "Control" }, "#26", function ()
awful.util.spawn("emacs",          false)  end),  -- #26 = 'e'
>         awful.key({ modkey, "Shift"   }, "#26", function ()
awful.util.spawn("gksu emacs",     false)  end),  -- #26 = 'e'
>         awful.key({ modkey,           }, "#54", function ()
awful.util.spawn("chromium",       false)  end),  -- #54 = 'c'
>
>
> Scan codes can be finded with xev utility.

Thanks a lot. That's what I wanted. It's definitely better than doubling
keybindings with a possibility of introducing new errors (which is high
for such a newcomer like me).


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

Reply via email to