You are not logged in.
Hi! I have three keyboard layouts (us, ru, fi) and want to make layout switching unique for every language. So far I found one solution: custom system keyboard shortcuts (Ctrl+1, Ctrl+2) with the following command:
setxkbmap -layout usfor the first layout etc.
The problem is, in the non-Latin layout (Russian in my case) global shortcuts, i.e. Ctrl+C, Ctrl+V don't work. They work if I switch layouts with the default Ctrl+Shift, but not after custom Ctrl+2.
The question: how should I modify command for global shortcut to make other shortcuts work with non-Latin layouts? Or is there any better solutions for separate layout switching shortcuts?
Offline
setxkbmap will generate an event that most clients will respond to by re-allocating shortcuts and there's no "C" in cyrillic - well… that's awkward ;-)
At least not on keycode 54.
Try https://aur.archlinux.org/packages/xkb-switch/ to cycle/select groups.
Sidenote: Ctrl+c/v (copy/paste) are typically not global shortcuts, but implemented in each client.
That's however not relevant here.
Offline