User Tools

Site Tools


slideshow

To create a browser slide show you will need to install xdotool to run the key commands to cycle tab's.

sudo apt-get install xdotool

Once it is installed, create a sh file e.g. slideshow.sh

In the file enter: DISPLAY=:0.0 xdotool key ctrl+Tab

The “DISPLAY=:0.0” will tell the command to run on the active X session Then the xdotool command is the actual key combo

Once the file is created and saved, you will want to navigate to /etc/xdg/lxsessions/LXDE then type sudo nano autostart

Make a new line at the bottom and enter the following: /usr/bin/screen -dmS slideshow watch -n 15 sh /path/to/slideshow.sh

/usr/bin/screen -dmS slideshow This creates a GNU screen name “slideshow” that you can attach to to see the command watch -n 15 This will run the command following every 15 seconds.

slideshow.txt · Last modified: 2013/01/16 15:08 by 87.194.165.154