View Single Post
qole's Avatar
Moderator | Posts: 7,070 | Thanked: 8,577 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#844
UPDATE: The hsetroot tool is a very nice command-line background image setter.

The following scripts, with qwerty12's packages installed in maemo, hsetroot installed in Easy Debian, and your background set to plain black, sets the desktop background to the image you supply as a parameter, and then lightens it enough to offset the transparent black background. Yes, I kill xcompmgr; all we want is transparency.

You set the initial image with startback and change the image with setback.

script name: /usr/bin/setback
Code:
debbie hsetroot -center $1 -brightness .1
script name: /usr/bin/startback
Code:
killall xcompmgr
xcompmgr &
transset-df -i 0x00c00003 --inc 1
transset-df -i 0x00c000af --inc 1
transset-df -i 0x00c00003 --dec .75
transset-df -i 0x00c000af --dec .75
setback $1
e.g.

Code:
startback /media/mmc1/wallpaper/lonesomehouse_800x480.jpg
finally, the screenshot.


__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 

The Following 2 Users Say Thank You to qole For This Useful Post: