Go to ...


A Better Technical Repository

RSS Feed

Linux: A simple script to start and application and send a keystroke using xdotool

I want to start Shotwell and then send the F5 key to it to start the Slideshow.

vim startshotwell

shotwell &
sleep 5
xdotool key F5
exit 0

Be sure to make the file executable