ubuntu:keyboard:assign_a_keyboard_code_to_perform_an_action
This is an old revision of the document!
Table of Contents
Ubuntu - Keyboard - Assign a keyboard code to perform an action
Create or edit file ~/.xmodmap and populate with:
<file bash ~/.xmodmap> keycode 67 = XF86Calculator </code>
NOTE: This sets the F1 key to run the Calculator.
- Determine keycodes by running
xev
- SEE https://wiki.linuxquestions.org/wiki/XF86_keyboard_symbols for a list of multimedia key symbols supported by XFree86.
Enable the keybindings
xmodmap $HOME/.xmodmap
Test
Press F1
This should start the calculator.
References
ubuntu/keyboard/assign_a_keyboard_code_to_perform_an_action.1663884105.txt.gz · Last modified: 2022/09/22 22:01 by peter