S
S
ssurrokk2019-10-19 05:05:28
linux
ssurrokk, 2019-10-19 05:05:28

How to change the keyboard layout in Linux like this - left Shift one layout, right Shift another?

I got used to such work with switching layouts on Windows with Punto Switcher.
I tried Tweaks, there is such an option in the settings but it does not work (other similar options that are there also do not work). Tried LoLo Switcher - didn't work.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
planc, 2019-10-19
@planc

as an option, bind to different buttons:

setxkbmap -layout ru
setxkbmap -layout us

https://wiki.archlinux.org/index.php/Xbindkeys_(%D...

C
CityCat4, 2019-10-20
@CityCat4

man xmodmap
You will most likely need to bind ISO_NextGroup to one button and ISO_PrevGroup to another. And do not listen to the "honorary bubuntovodov". Bubunta has a harmful effect on the brain - you start thinking about how to solve the problem with the help of some whistles and tweeters instead of figuring out how it works.
At startup, X loads the keyboard plan. This is a plain text file, you can change it yourself - if you know how. Or do it via setxkbmap, but I prefer to change directly in the keyboard plan - for example, I don’t like that X makes a distinction between Enter and Gray Enter (the "Enter" key on the right edge of the keyboard behind the number pad. It has such a name because before, when the keys were only white, the digital group was made gray) and I always change the plan so that Gray Enter generates the same code as normal Enter :)

X
Xintrea, 2021-01-12
@webhamster

LoLo Switcher has detailed documentation in the readme file:
https://github.com/xintrea/LoLoSwitcher/blob/maste...
If everything is done according to it, it will work. The main question is to register the correct keyboard device in the config file, like this:

InputDevice=/dev/input/by-id/usb-SIGMACH1P_USB_Keykoard-event-kbd

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question