Create Keyboard Shortcut with Razer Blackwidow

First, enable macro keys on Linux. Then, install xmacro:
    sudo apt-get install xmacro
Record a macro:
    xmacrorec2 > test.macro
Wrap it up in test.sh:
   #!/bin/bash
   cat test.macro | xmacroplay -d 0 $DISPLAY > /dev/null 2>/dev/null
Finally, go to System Settings/Keyboard/shortcuts to create a custom shortcut to run test.sh.

Comments

Popular posts from this blog

How to Change Environment Variable Using Registry Key