/home/bill/System_maintenance/keyboard macros.txt https://ubuntuforums.org/showthread.php?t=299524 November 14th, 2006 #1, grizzly, Join Date Oct 2005, Location India HOWTO keyboard macros macro in linux Yup, its indeed possible to have system-wide application independent macros in unix! thanks to xmacros and whoever who wrote a guide somehere i don't remember. Step 1. Install the app aptitude install xmacro Step 2. Record the macro: xmacrorec -d 1400 > ~/quote wait... Step 3. xmacro isn't perfect so open ~/quote for editing, as many lines are repeated and need to be removed. Step 4. Replay the macro cat ~/quote | xmacroplay ":0.0" Basically xmacroplay plays the commands from a text file.The text file can be written manually or by the above recording method. Reading the examplbelow should make it all very easy. # enddoc