Hot answers tagged keyboard
You said that you changed it with xmodmap -e "keycode 54 shift = numbersign asciitilde". To change this back, you can run xmodmap -e "keycode 54 shift = c C" Since you can't type "c" and "C", you can either copy-paste the command from here, or press Ctrl+Shift+U, then either "63" for lowercase "c", or "43" for uppercase "C", and finally Enter.
To show events from keyboards, but also other input devices, there is also evtest. It can not block or create keypresses, though. It shows events on a lower level than xev would, for example. Also, it shows which events can be created by the device. Example output of evtest /dev/input/event4 from pressing aB: [ ... ] Event: time 1429316964.681508, ...
Solution #1: Create a new shortcut in System Settings -> keyboard -> shortcuts tab -> custom shortcuts, click + in the lower left, and name it whatever you like. For command type `firefox yoururl.com. Next , assign the buttons by clicking on the right side once, and pressing the buttons you want Solution #2 Make sure you enable "Run executable files" ...
To remap the Capslock to something like Control, Esc, I'd recommend using the gnome-tweak-tool. Open the Tweak Tool application or press Alt-F2 and run gnome-tweak-tool. Select the "Typing" tab, and change the dropdown for Caps Lock key Behaviour. Here's how it looks on my system: Now for making a key combination to type "outlongdomain.com": I have ...
If you can be satisfied with it just being disabled, here's what you can do. Run sudo apt-get install gnome-tweak-tool. Open Tweak Tool by searching for it in the Dash. Select the Typing menu and change Caps lock key behavior to Disabled. Source: https://mkaz.com/2014/02/08/disable-caps-lock-in-ubuntu/
Only top voted, non community-wiki answers of a minimum length are eligible