User Tools

Site Tools


ubuntu:mouse:mouse_shortcuts_with_xbindkeys:emulate_key_presses

This is an old revision of the document!


Ubuntu - Mouse - Mouse shortcuts with xbindkeys - Emulate key presses

Emulate CTRL+F8

Emulate CTRL+F8

The following command should then activate the effect:

xte 'keydown Control_L' 'key F8' 'keyup Control_L'

NOTE: Control_R could be used instead of Control_L.


Associate an Emulation with a Mouse Click

Add the following to the $HOME/.xbindkeysrc file.

$HOME/.xbindkeysrc
"xte 'keydown Control_L' 'key F8' 'keyup Control_L'"
b:8

NOTE: There are some differences here than above.

  • The first line is within double quotes, which is mandatory.
  • The second line refers to a mouse button, in this case button 8.
ubuntu/mouse/mouse_shortcuts_with_xbindkeys/emulate_key_presses.1635200261.txt.gz · Last modified: 2021/10/25 22:17 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki