You are not logged in.
I have a problem that shortcuts does work on us layout and does not work on ru, ua layouts.
After using xkb to swap layout
setxkbmap -layout ua
any shortcuts that language specific keys become ignored.
After moving back to us layout
setxkbmap -layout us
they work again.
I've looked at setxkbmap options and haven't found any to fix it.
Is it an easy way to make shortcuts working on all layouts?
Last edited by deoxys (2017-03-19 22:04:54)
Offline
How you are defining shortcuts?? Use keycodes in place of keysms
Arch is home!
https://github.com/Docbroke
Offline
Not shortcuts I've created by myself, but the default ones. Like firefox, urxvt, awesome wm default shortcuts. I expect them to work independent of current layout being used.
How can I force applications to use keycodes and ignore the particular group?
Last edited by deoxys (2017-03-19 18:41:03)
Offline
What "default wm shortcuts"? You haven't specified what DE/WM you are using. I'm guessing Gnome, so you probably need to configure keyboard layouts in the control centre (or whatever it is called).
Offline
I've specified ("awesome wm default shortcuts"), I use awesome.
Last edited by deoxys (2017-03-19 18:13:30)
Offline
As explained here changing
kbdcfg.layout = { "us", "ua", "ru" }
to the
kbdcfg.layout = { "us", "ua,us", "ru,us" }
in rc.lua did the job.
And now almost all shorcuts work on multiple layouts (only awesome wm shortcuts with Meta key are still ignored).
Last edited by deoxys (2017-03-19 20:08:21)
Offline