You are not logged in.

#1 2009-06-29 18:12:33

Tg
Member
Registered: 2008-04-23
Posts: 35

[Solved][Awesome3] Keybinding to change keyboard layout ?

I have some problem config awesome3. I tried to make widget and add to status bar using http://awesome.naquadah.org/wiki/Change_keyboard_maps as a guide.  I got a functional keyboard layout widget that can change layout on click but I want to make a shortcut to change layout like in windows ( alt + shift to change keyboard layout ). How to make such a shortcut ?

Last edited by Tg (2009-06-30 02:47:11)

Offline

#2 2009-06-29 19:08:02

anrxc
Member
From: Croatia
Registered: 2008-03-22
Posts: 834
Website

Re: [Solved][Awesome3] Keybinding to change keyboard layout ?

If you are using that exact widget, just call the same function as in the mouse binding.

-- global keys
-- ...
awful.key({ "Mod1" }, "Shift_R", function () kbdcfg.switch() end),

Btw see the discussion page on that wiki article, where you will find the same widget but updated - the button binding syntax has changed.

Last edited by anrxc (2009-06-29 19:09:27)


You need to install an RTFM interface.

Offline

#3 2009-06-30 02:46:54

Tg
Member
Registered: 2008-04-23
Posts: 35

Re: [Solved][Awesome3] Keybinding to change keyboard layout ?

anrxc wrote:

If you are using that exact widget, just call the same function as in the mouse binding.

-- global keys
-- ...
awful.key({ "Mod1" }, "Shift_R", function () kbdcfg.switch() end),

Btw see the discussion page on that wiki article, where you will find the same widget but updated - the button binding syntax has changed.

Thanks you.  I was trying "Shift" but it failed many time.. Never knew that I have to define right/left for it .. -- --

Offline

#4 2009-06-30 15:36:56

anrxc
Member
From: Croatia
Registered: 2008-03-22
Posts: 834
Website

Re: [Solved][Awesome3] Keybinding to change keyboard layout ?

Never knew that I have to define right/left for it

When you need to identify a key use xev.


You need to install an RTFM interface.

Offline

Board footer

Powered by FluxBB