My @ or 2 key is not working. I want to set it like, if user press Alt + a or something the 2 should be inserted to the active window. I have achieved this in windows using Auto It. In ubuntu i saw some solutions but couldn't do it. Any help would be appreciated. Or else i will be forced to move back to windows 🙁
Ubuntu – Map a key to another key as keyboard damaged
keyboardshortcut-keys
Related Question
- Shortcut Keys – Quickly Move Window to Another Screen Using Keyboard
- Ubuntu – How to change the window movement key when using Unity 2D
- Ubuntu – Remapping keyboard shortcuts (copy, paste etc) to Alt key instead of Ctrl
- Ubuntu – Send or Move a window from one monitor to another with a shortcut key under Ubuntu 12.04 and nvidia 8600 GT without proprietary nvidia drivers
Best Answer
First install
xbindkeys
andxte
by running:Create the
xbindkeys
configuration file:xbindkeys --defaults > $HOME/.xbindkeysrc
Next we need to edit the file. Run
gedit .xbindkeysrc
Add this to the bottom of the file:
Save the file.
Open "Startup Applications" from the dash, and click "Add".
Put
/usr/bin/xbindkeys
and click "Add".Restart the computer.
Your 2 key should now be bound to Alt + a.