PDA

View Full Version : [ubuntu] How to switch backgrounds automatically



mahorrocks
December 19th, 2009, 11:28 PM
I have been looking around and came across a nice idea in Mandriva.

Can Ubuntu have its background switching every hour and if so, how?

Also how do I turn of my touchpad everytime my mouse goes into the laptop??

Thanks

Mark

(I have Ubuntu 9.10)

hariks0
December 19th, 2009, 11:41 PM
Install wallpaper-tray. Or try wallpapoz.

kadok0520
December 20th, 2009, 10:18 AM
I have been looking around and came across a nice idea in Mandriva.

Can Ubuntu have its background switching every hour and if so, how?

Also how do I turn of my touchpad everytime my mouse goes into the laptop??

Thanks

Mark

(I have Ubuntu 9.10)

try to see my blog article

http://kadok0520.pixnet.net/blog/post/25520798

it written by english and chinese.

mahorrocks
December 23rd, 2009, 12:45 AM
Seen that but what about Desktop Drapes, any way of making that startup with the ubuntu?

falconindy
December 23rd, 2009, 05:55 AM
A lightweight solution would be to use 'feh' with a cronjob. Select a file at random from a directory by doing something such as:

#!/bin/sh
WP="/path/to/wallpapers"
feh --bg-scale "$WP/`ls '$WP' | sort -r | tail -1`"
Save it, make it executable, and then set that in your crontab as:

30 * * * * /path/to/script.sh > /dev/null