ubuntu:mouse:mouse_shortcuts_with_xbindkeys:emulate_key_presses
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ubuntu:mouse:mouse_shortcuts_with_xbindkeys:emulate_key_presses [2021/10/25 22:15] – created peter | ubuntu:mouse:mouse_shortcuts_with_xbindkeys:emulate_key_presses [2021/10/26 08:51] (current) – [Enhanced Options] peter | ||
---|---|---|---|
Line 2: | Line 2: | ||
===== Emulate CTRL+F8 ===== | ===== Emulate CTRL+F8 ===== | ||
- | |||
- | Emulate **CTRL+F8** | ||
- | |||
- | The following command should then activate the effect: | ||
<code bash> | <code bash> | ||
Line 19: | Line 15: | ||
===== Associate an Emulation with a Mouse Click ===== | ===== Associate an Emulation with a Mouse Click ===== | ||
- | Add the following to the | + | Add the following to the **$HOME/ |
- | <code bash> | + | <file bash $HOME/ |
"xte ' | "xte ' | ||
b:8 | b:8 | ||
- | </code> | + | </file> |
<WRAP info> | <WRAP info> | ||
- | **NOTE: | + | **NOTE: |
+ | |||
+ | | ||
+ | | ||
</ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Enhanced Options ===== | ||
+ | |||
+ | <file bash $HOME/ | ||
+ | # History Back & Forward. | ||
+ | "xte ' | ||
+ | b:6 + Release | ||
+ | |||
+ | "xte ' | ||
+ | b:7 + Release | ||
+ | |||
+ | # Page down. | ||
+ | "xte 'key Next' " | ||
+ | b:8 | ||
+ | |||
+ | # Page up. | ||
+ | "xte 'key Prior' " | ||
+ | b:9 | ||
+ | |||
+ | # Open links in new tab. | ||
+ | "xte ' | ||
+ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | |||
+ | List of modifier: | ||
+ | |||
+ | * Release, Control, Shift, Mod1 (Alt), Mod2 (NumLock), | ||
+ | * Mod3 (CapsLock), Mod4, Mod5 (Scroll). | ||
+ | |||
+ | * The **release** modifier is used to catch __release__ events instead of __press__ events. | ||
+ | |||
+ | * By default, xbindkeys ignores NumLock, CapsLock and ScrollLock. | ||
+ | |||
+ | |||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== Restart xbindkeys ====== | ||
+ | |||
+ | If any changes are made to the config file then xbindkeys needs to be restarted: | ||
+ | |||
+ | <code bash> | ||
+ | killall xbindkeys | ||
+ | xbindkeys | ||
+ | </ | ||
+ | |||
+ | ---- | ||
ubuntu/mouse/mouse_shortcuts_with_xbindkeys/emulate_key_presses.1635200104.txt.gz · Last modified: 2021/10/25 22:15 by peter