LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to send keystrokes in Ubuntu? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-send-keystrokes-in-ubuntu-899913/)

QueenZ 08-28-2011 09:50 AM

How to send keystrokes in Ubuntu?
 
I would like my computer to press the Esc key every 2 minutes. How can I do this? With and app or shell script or otherwise?

Thanks!

eSelix 08-28-2011 10:23 AM

You can use
Code:

xvkbd -window "some_name" -text "\e"
with cron for this. The -window can be ommited of course.


All times are GMT -5. The time now is 02:05 AM.