User Tools

Site Tools


ubuntu:mouse:mouse_shortcuts_with_xbindkeys:keyboard_shortcuts

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ubuntu:mouse:mouse_shortcuts_with_xbindkeys:keyboard_shortcuts [2021/10/25 17:43] peterubuntu:mouse:mouse_shortcuts_with_xbindkeys:keyboard_shortcuts [2021/10/26 08:22] (current) peter
Line 1: Line 1:
 ====== Ubuntu - Mouse - Mouse shortcuts with xbindkeys - Keyboard shortcuts ====== ====== Ubuntu - Mouse - Mouse shortcuts with xbindkeys - Keyboard shortcuts ======
  
-The first example in the generated .xbindkeysrc shows how you can define a hotkey:+The **$HOME/.xbindkeysrc** file contains examples of mapping Keyboard shortcuts.
  
-<code bash> +See: [[Ubuntu:Mouse:Map Mouse Buttons to Arbitrary Functions:Identify the key codes to use|Identify the key codes to use]]
-control+shift + q +
-</code>+
  
-<WRAP info> +---- 
-**NOTE:**  A list of modifiers is included in the comments:+ 
 +===== modifiers ===== 
 + 
 +xbindkeys also support modifiers, including:
  
   * Release, Control, Shift, Mod1 (Alt), Mod2 (NumLock),   * Release, Control, Shift, Mod1 (Alt), Mod2 (NumLock),
   * Mod3 (CapsLock), Mod4, Mod5 (Scroll).   * Mod3 (CapsLock), Mod4, Mod5 (Scroll).
  
-The release modifier is not a standard X modifier, but you can use it if you want to catch release events instead of press events.+<WRAP info> 
 +**NOTE:**  The **release** modifier is can catch __release__ events instead of __press__ events.
  
-By defaults, xbindkeys does not pay attention with the modifiers NumLock, CapsLock and ScrollLock.+  * By defaults, xbindkeys does not pay attention with the modifiers NumLock, CapsLock and ScrollLock.
  
-  * Raw keycodes can be used too, for example: <code bash> +</WRAP>
-    c:41 + m:0x4 +
-</code>     +
-  * Find the keycodes with the **<nowiki>--key</nowiki>** option. <code bash> +
-xbindkeys -k +
-</code>+
  
-  * A window should pop up. +----
-  * Press the desired hotkey and you should get an output similar to this: <code> +
-    Press combination of keys or/and click under the window. +
-    You can use one of the two lines after "NoCommand" +
-    in $HOME/.xbindkeysrc to bind a key. +
-    "(Scheme function)" +
-     m:0x15 + c:34 +
-     Control+Shift+Mod2 + q +
-</code> +
-  * By pressing **Ctrl+Shift+Q**.  +
-  * Mod2 corresponds to Numlock which is ignored by default, as explained in the earlier text about modifiers. +
-  * Apparently the  keycodes for this hotkey are m:0x15 + c:34.+
  
-</WRAP> 
  
ubuntu/mouse/mouse_shortcuts_with_xbindkeys/keyboard_shortcuts.1635183804.txt.gz · Last modified: 2021/10/25 17:43 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki