On the YouTube channel of gotbletu I found a very nice trick (video). It explains how to replace the Caps Lock with the so-called Hyper key. And why? Because Caps Lock is pretty useless and you cannot use it for shortcuts. But if you tell the system that at the place of Caps Lock there is another key, namely the Hyper key, then you can use a new range of shortcuts.
You can find my
.Xmodmap file here. Just put it in your HOME folder and upon the next reboot it’ll be activated automatically. To activate it without a reboot, use the command “
Then, under Manjaro (XFCE), go to the Start menu, start typing “keyboard”, and open the Keyboard application. Go to the “Application Shortcuts” tab and add some new shortcuts. This time, when you press Caps Lock, it’ll be recognized as the Hyper key. I added these:
Hyper + g gedit Hyper + k konsole Hyper + f file browser (thunar)
Under Manjaro I had to create the
.Xmodmap file and it is read automatically at each boot. However, under Ubuntu it’s not the case. I tried several methods and here is what worked for me: add “
xmodmap ~/.Xmodmap” to the end of your
~/.bashrc file. Now, when you open a terminal, it’ll be activated for sure.
And if Hyper Hyper, then Scooter, of course: