Hello everyone,
I switched from windows 10 to Kubuntu 16.04 quite recently. I really like this new operating system, but there are a few things which I found comfortable on windows that I'm missing.
One is the possibility of doing a backslash with the commands Ctrl + Alt + less, which was the default way on my Swiss keyboard. Now each time that I need to do a backslash I need to press AltGr + less, which I find much less comfortable since I need to look each time at my keyboard when I do this (with the other way I don't since I feel the edge of the keyboard). I use latex extensively so it really bothers me.
With the help of someone who was more used to Linux I tried to find the same keyboard layout that I used to use on windows (Layaout: ``German (Switzerland)", variant: ``French (Switzerland)"). For the people who are a bit curious, Switzerland has several official languages, the main ones being (by decreasing order of percentage speaking it) German, French, Italian, and I come from the frenchie part. But even with this it's not the same. It looks like even for something as uncommon as this, there are several version. As clearly this keyboard is not the main stream one and that my problem with the backslash comes greatly from me coming from Windows, I gave up the idea of finding a solution to my exact situation, already solved on the net.
Then I tried to just find a way to force my keyboard to do what I wanted and some little googling hinted at xbindkeys. In particular i tried to apply the solution offered by cheneym here:
https://unix.stackexchange.com/quest...t-gr-in-ubuntu
using this page
https://wiki.archlinux.org/index.php/Xbindkeys
to help me with the creation of the config file.
But it didn't work (nothing happens when I press on Ctrl + Alt + less).
Here is precisely what I did:
- I copied an example of config file for xbindkeys into my home folder with the command cp /usr/share/doc/xbindkeys/examples/xbindkeysrc ~/.xbindkeysrc
- I edited the file with vim by adding
## Control + Alt + less returns a backslash
"xvkbd -xsendevent -text '\[backslash]'"
m:0x4 + c:37 + m:0x8 + c:64 + m:0x0 + c:94
Control + Control_L + Alt + Alt_L + less
- I entered
xbindkeys -f ~/.xbindkeysrc
in my ~ folder.
Hence my questions are:
1) Does anyone know what I did wrong?
2) Do you see another way to get this done?
And at another level:
3) Is this specific forum ``help the new guy" the right place to post it or should I go in another one? Since I'm really a newbie, and that this question comes somehow from my quitting windows and converting to linux, I have the feeling I'm in the right place, but maybe I'm wrong.
Concerning my machine I have
Kubuntu release: 16.04
KDE Plasma Version: 5.5.5
Qt Version: 5.5.1
Kernel version: 4.4.0-104-generic
OS-type 64-bit
Grub version: Version: 0.97-29ubuntu68
Other operating system: windows 10
Laptop: Lenovo T460p
Have a nice day
Comment