ubuntu:mouse:mouse_shortcuts_with_xbindkeys:keyboard_shortcuts
This is an old revision of the document!
Ubuntu - Mouse - Mouse shortcuts with xbindkeys - Keyboard shortcuts
The first example in the generated $HOME/.xbindkeysrc file shows how to define a hotkey:
control+shift + q
NOTE: A list of modifiers is included in the comments:
- Release, Control, Shift, Mod1 (Alt), Mod2 (NumLock),
- 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.
By defaults, xbindkeys does not pay attention with the modifiers NumLock, CapsLock and ScrollLock.
- Raw keycodes can be used too, for example:
c:41 + m:0x4
- Find the keycodes with the --key option.
xbindkeys -k
- A window should pop up.
- Press the desired hotkey and you should get an output similar to this:
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
- 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.
ubuntu/mouse/mouse_shortcuts_with_xbindkeys/keyboard_shortcuts.1635183864.txt.gz · Last modified: 2021/10/25 17:44 by peter