Linux: xvkbd tutorial
xvkbd is command line tool that lets you send a keyboard key signal or mouse click.
# install xvkbd sudo apt-get install xvkbd
xvkbd Command Example
# this command sends the key control+c xvkbd -no-jump-pointer -xsendevent -text '\Cc'
# this command sends mouse left click xvkbd -no-jump-pointer -xsendevent -text '\m1'
xvkbd key syntax
|Print Screen (Print Screen)|
|Scroll Lock (Scroll Lock)|
|Shift (modify the next character)|
|Ctrl (modify the next character)|
|Alt (modify the next character)|
|Meta (modify the next character)|
|keysym is X11's key syntax. (For example, |
|mouse left click|
|mouse middle click|
|mouse right click|
|mouse click of the specified mouse button. [see Linux: X11 Mouse Button Numbering]|
[see Linux: X11 Keyboard Key Names]
Bind Keys to Command
For xvkbd to be useful, you need to bind keys to command.
For example, make F2 do Ctrl+c.
Linux Keybinding How-to
If you have a question, put $5 at patreon and message me.