Step 1 - Download Or Prepare  one image ,which you want to see in full
screen

Step 2 -- sudo apt-get install eog xdotool

Step3 -

touch ~/Launch.sh
chmod +x ~/Launch.sh
gedit ~/Launch.sh
---------------Copy Paste Following -----
#!/bin/bash

FileName="/home/narendra/eye/eye-exercises-to-improve-vision.jpg"
eog $FileName
xdotool key F11
WinID=$(xdotool search $(basename $FileName))
xdotool  key --window $WinID F11

exit 0
-------------------------------------------------------------

now Set CronJob

$crontab -e
Use editor to set following cronjob

0,30 * * * * /home/narendra/Launch.sh

=================================
make sure, your Image path and Launch.sh path is correctly set !!




-- 
┌─────────────────────────┐
│    Narendra Sisodiya
│    http://narendrasisodiya.com
└─────────────────────────┘

-- 
Mailing list guidelines and other related articles: http://lug-iitd.org/Footer

Reply via email to