Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ 1 [2] 3 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: set wallpaper< Next Oldest | Next Newest >
jpeters Offline





Group: Members
Posts: 804
Joined: April 2006
Posted: Dec. 02 2007,16:45 QUOTE

Quote (mikshaw @ Dec. 01 2007,15:25)
I wonder why you need to copy the file?
This single line should do as well as the two you have:
xsri --scale-width=100 --scale-height=100 $1

In any case, that's a handy tip. thanks

I believe the --scale-width=100 --scale-height=100 options are assigned by default.

Edit: after trying it, it seems you need it!

BTW/ very cool! Thanks   (now here's an excellent use for icons /drag & drop...(put the script in the wallpaper folder and its only one desktop icon))
Back to top
Profile PM 
humpty Offline





Group: Members
Posts: 655
Joined: Sep. 2005
Posted: Dec. 02 2007,18:43 QUOTE

Quote (roberts @ Dec. 02 2007,08:56)
So using this scheme every window manager has the same wallpaper?

well, every window manager that has the xsri command in the .inc file will load it at X startup.
infact, thinking about it, it's probably best if the .inc file just call set_wallpaper instead of the xsri command.

anyway, i have combined set_wallpaper and reload_wallpaper into one script;
/home/dsl/.dfmdesk/wallpaper/set_wallpaper
Code Sample

#!/bin/bash

#set_wallpaper <file>

#copy the wallpaper to a file called 'default' inside the desktop wallpaper folder and load it.
#if no <file> is given, just reload 'default'

if [ "$1" != "" ]; then
cp $1 /home/dsl/.dfmdesk/wallpaper/default
fi
xsri --scale-width=100 --scale-height=100 /home/dsl/.dfmdesk/wallpaper/default



just double click set_wallpaper to reload it.
Back to top
Profile PM 
jpeters Offline





Group: Members
Posts: 804
Joined: April 2006
Posted: Dec. 03 2007,04:19 QUOTE

I'm having lots of fun with this script

http://jpeters.net/apps/screenshot.png
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Dec. 03 2007,07:10 QUOTE

Nice. Seeing various wallpapers, reminds me of the difficulty that I have with my vision and aterm's transparency. While transparency is a cool feature it can, for me, be difficult to read when overlayed on some backgrounds. The transparency can be easily turned off by changing the .Xdefaults file in your home directory.

Aterm*transparent: false
Back to top
Profile PM WEB 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Dec. 03 2007,15:55 QUOTE

re: aterm -tr: for lighter/mixed backgrounds, I like to increase the shade amount i.e. with -sh
Back to top
Profile PM 
11 replies since Dec. 01 2007,16:48 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ 1 [2] 3 >/
reply to topic new topic new poll
Quick Reply: set wallpaper

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code