[Howto] move mouse / press key automatically in X

posted in: computer | 0

you have to install the package xautomation

apt-get install xautomation

 

now you can customize or script your automation

#move the mouse cursor relative x+1 and y+1
xte 'mousermove 1 1'

#press and release the left shift button
xte 'key Shift_L'