User Tools

Site Tools


ubuntu:keyboard:assign_a_keyboard_code_to_perform_an_action

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ubuntu:keyboard:assign_a_keyboard_code_to_perform_an_action [2022/09/22 22:01] – created peterubuntu:keyboard:assign_a_keyboard_code_to_perform_an_action [2022/09/22 22:43] (current) peter
Line 5: Line 5:
 <file bash ~/.xmodmap> <file bash ~/.xmodmap>
 keycode 67 = XF86Calculator keycode 67 = XF86Calculator
-</code>+</file>
  
 <WRAP info> <WRAP info>
-**NOTE:** This sets the F1 key to run the Calculator.+**NOTE:** This sets the **F1** key to run the Calculator.
  
   * Determine keycodes by running <code bash>xev</code>   * Determine keycodes by running <code bash>xev</code>
  
-  * SEE https://wiki.linuxquestions.org/wiki/XF86_keyboard_symbols for a list of multimedia key symbols supported by XFree86.+  * SEE these for a list of multimedia key symbols supported by XFree86. 
 +    * https://wiki.sharewiz.net/doku.php?id=ubuntu:keyboard:xf86_keyboard_symbols 
 +    * SEE https://wiki.linuxquestions.org/wiki/XF86_keyboard_symbols 
 </WRAP> </WRAP>
  
Line 27: Line 29:
 ===== Test ===== ===== Test =====
  
-Press F1+Press **F1**.
  
 This should start the calculator. This should start the calculator.
 +
 +----
 +
 +===== To make permanent =====
 +
 +Put /usr/bin/xmodemap and $Home/.xmodmap into .xinitrc or .xprofile.
 +
  
 ---- ----
Line 36: Line 45:
  
 https://wiki.linuxquestions.org/wiki/XF86_keyboard_symbols https://wiki.linuxquestions.org/wiki/XF86_keyboard_symbols
 +
 +https://www.cl.cam.ac.uk/~mgk25/ucs/keysymdef.h
 +
 +https://wiki.linuxquestions.org/wiki/Configuring_keyboards
 +
 +https://wiki.linuxquestions.org/wiki/List_of_keysyms
 +
 +https://wiki.linuxquestions.org/wiki/List_of_Keysyms_Recognised_by_Xmodmap
 +
ubuntu/keyboard/assign_a_keyboard_code_to_perform_an_action.1663884105.txt.gz · Last modified: 2022/09/22 22:01 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki