ksuperkey solved my problem - https://github.com/hanschen/ksuperkey
Just follow instruction for compiling ksuperkey - https://store.kde.org/p/1081256/
Compiling from source
If there is no package for ksuperkey for your distribution, you can
compile the program from source following these instructions:
- Install dependencies. On Ubuntu:
sudo apt-get install gcc make libx11-dev libxtst-dev pkg-config
On some system you'll also have to install the build-essential
Download ksuperkey-0.4 (Source) from this page and extract the tar.gz file (using e.g. Ark).
Go to the newly extracted directory called ksuperkey, open a terminal (press F4 in Dolphin), and run:
3b. Optionally, if you want to install ksuperkey to the standard PATH
for all users:
sudo make install
- Launch ksuperkey:
or by clicking on its icon. ksuperkey will run in the background. (If
you did step 3b, you can just type "ksuperkey" from anywhere to launch
- Try to press the left Super key. If the application launcher does not show up, make sure that its shortcut is set to Alt+F1: right click
on the application launcher icon -> Application Launcher Settings ->
ksuperkey -e 'Super_L=Alt_L|F3' or add the command to autostart.
Update. Maybe it's better to use xcape instead. Because it's original, from where ksuperkey was forked.
Installation and command is the same -
xcape -e 'Super_L=Alt_L|F3'