>Вторник, 17 ноября 2015, 9:25 UTC от Riccardo Sven Risuleo
><[email protected]>:
>
>Hi all,
>I have a problem that has been bugging me for a while, and I hope somebody
>knows how to solve it...
>
>I have a keyboard layout switch, set with
>
>setxkbmap -layout us,us -variant dvorak, -option
>caps:escape,grp:toggle,grp:alts_toggle,grp_led:caps
>
>This will allow me to toggle my layout from us to dvorak by pressing both the
>alts keys.
>This works perfectly, and the keymap switches fine, however all the bindings
>for awesome do not change. For instance if I move between the clients with
>'hjkl' in dvorak mapping, I will move with 'jcvp' in the us mapping. It is
>like the command is linked to the physical key on the keyboard and not to the
>character sent...
>
>Does anyone know a solution to this? I have been able to replicate this
>behaviour on two computers.
>
>Thanks in advance for any comments or suggestions,
>Have a splendid day
>Rsrsl
I found this blog
http://blog.ssokolow.com/archives/2011/12/24/getting-your-way-with-setxkbmap/
And this
http://unix.stackexchange.com/questions/2884/toggle-between-dvorak-and-qwerty
You can try switch between variants by this command :
setxkbmap -layout 'us(dvorak-intl),us(alt-intl)' , -option
caps:escape,grp:toggle,grp:alts_toggle,grp_led:caps
Warning I didn't check this!
---
[email protected]