You are not logged in.

#1 2017-03-19 16:53:21

deoxys
Member
Registered: 2017-02-03
Posts: 9

shortcuts does not work on different layouts in awesome wm

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

#2 2017-03-19 17:27:31

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,433

Re: shortcuts does not work on different layouts in awesome wm

How you are defining shortcuts?? Use keycodes in place of keysms

Offline

#3 2017-03-19 17:42:29

deoxys
Member
Registered: 2017-02-03
Posts: 9

Re: shortcuts does not work on different layouts in awesome wm

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

#4 2017-03-19 18:06:56

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: shortcuts does not work on different layouts in awesome wm

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).


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2017-03-19 18:13:15

deoxys
Member
Registered: 2017-02-03
Posts: 9

Re: shortcuts does not work on different layouts in awesome wm

I've specified ("awesome wm default shortcuts"), I use awesome.

Last edited by deoxys (2017-03-19 18:13:30)

Offline

#6 2017-03-19 20:07:40

deoxys
Member
Registered: 2017-02-03
Posts: 9

Re: shortcuts does not work on different layouts in awesome wm

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

Board footer

Powered by FluxBB