File :-(, x, )
Anonymous
so.... what wallpaper program does /w/ use? I use the one built into Nvidia drivers it can't change the wallpaper automatically at a certain set time though
>> theRat
I use wallpaper changer, set at 15 minutes intervals
>> Haplo
     File :-(, x)
I use the KDE desktop in GNU/Linux, and it has built-in support for changing wallpapers. I can even set different a different wall for each virtual desktop.
>> Anonymous
HTML wallpaper. Rigged it to link to applications and it even has a power off button.
>> Anonymous
This is my wallpaper changer:

#!/usr/local/bin/bash

if [ -e $HOME/.bg/bg-$1.* ]; then
FIX_SUFFIX="_"
OLD_SUFFIX=""
else
FIX_SUFFIX=""
OLD_SUFFIX="_"
fi

FILE=`find $2 -name "*.jpg" -or -name "*.png" -or -name "*.bmp" | rl -c 1`
if echo "$FILE" | grep "\.png$" > /dev/null; then
EXT='png'
else
EXT='jpg'
fi
FILE2="$HOME/.bg/bg-$1$FIX_SUFFIX.$EXT"

RESULT=`nice -n 20 gimp -i --batch-interpreter 'plug_in_script_fu_eval' -b "(fix-$EXT \"$FILE\" \"$FILE2\" 1920 1200)" "(gimp-quit 0)" 2>&1`
if ! echo "$RESULT" | grep "error"; then
if nice -n 20 wmsetbg -display :0.0 -b black -e -w $1 "$FILE2"; then
rm -f $HOME/.bg/bg-$1$OLD_SUFFIX.*
echo $FILE > $HOME/.bg/$1.txt
exit 0;
fi
fi

echo $FILE
echo $FILE2
echo $RESULT
rm -f $FILE2
exit 1
>> Anonymous
>>253100
This only works for Window Maker, by the way, but presumably it could be adapted for any window manager that has a way to set a wallpaper from the command line.

An example of running the script (called 'bg'): "./bg 2 $HOME/pics/anime" would pick a random .jpg, .png or .bmp from my anime images folder and set it to the wallpaper of my third virtual desktop.

I use cron jobs to switch the backgrounds on my four virtual desktops every hour, staggered so that there's a new image every fifteen minutes.

The script also uses a couple of custom Gimp scripts to scale the image to the right resolution and to do a couple other things. I could post them if anyone actually cares.
>> Anonymous
>>253104
Pease do. I somewhat interested in having something like this going for my notebook.
>> Anonymous
>>253125
This script takes an image in any format and outputs a .jpg, scaled to the max height or width specified, with a black background filling in any black parts. You can see how to run it by looking at the 'bg' script I already posted.

Note that I know very little about Gimp scripting, so this may be poorly written. Also I don't know how to make 4chan not strip the indentation, so it's a bit hard to read.

(define (fix-jpg infile outfile max-width max-height)
(let*
(
(image (car (gimp-file-load RUN-NONINTERACTIVE infile infile)))
(drawable (car (gimp-image-get-active-layer image)))
(width (car (gimp-drawable-width drawable)))
(height (car (gimp-drawable-height drawable)))
(ratio (min (/ max-width width) (/ max-height height)))
)
(if (= ratio 1) nil (gimp-drawable-transform-scale (car (gimp-image-get-active-layer image)) 0 0 (* width ratio) (* height ratio) TRANSFORM-FORWARD INTERPOLATION-CUBIC 1 3 0))
(file-jpeg-save RUN-NONINTERACTIVE image drawable outfile outfile 1 0 1 0 "" 0 0 0 0)
)
)
>> Anonymous
>>253137
Er, ignore the part that says "with a black background filling in any black parts." That's for the PNG version, which does basically the same thing except it fills in the transparent parts of the PNG with black, due to Window Maker not liking transparent PNGs.
>> Anonymous
>>253100
A couple more things about the 'bg' script:

1) You need a utility called 'rl', which takes some lines of input and spits them out in a random order.

2) You must also create a directory called '.bg' in your home directory. I suppose I should have the script do this automatically, but I'm lazy.

3) The 'echo' statements at the end are for debugging purposes: if the script fails, it will output the name of the original image, the name of the converted image, and the error message from the Gimp script, if any.
>> Anonymous
     File :-(, x)
Just wondering, the program QuickChanger would do the same task, yes?
>> Anonymous
>>253144
Never heard of it. Guessing it's Windows-only, though. (In case it wasn't obvious, the 'bg' script above is a Unix shell script. It could work on Windows via Cygwin, but then I doubt Windows has a way to change the desktop background from the command line.)
>> Anonymous
>>253100
Basically, the meat of the script is this:

1) Use 'find' to get all of the potential background images from a certain directory.

2) Use 'rl' to randomize the results of 'find', and pick the first entry.

3) Use Gimp to convert the images into the desired format (helps if your window manager is bad at scaling, or has other issues like Window Maker has with transparent PNGs).

4) Set the desktop background using 'wmsetbg'. This part will only work for Window Maker; otherwise you have to figure out the command to change desktop images, and modify the script accordingly.
>> Anonymous
>>253150
Thanks for the scripts. I'll see if I can get it to work out
>> Haplo
     File :-(, x)
Man, using GIMP to process images in console is crazy, use ImageMagick, that's its purpose. To convert a PNG into JPG:

convert --quality 95 file.png file.jpg
>> Anonymous
You bunch of inconsiderate bastards, she'll get burned with that melted cheese and you're discussing changing wallpapers. ;_;
>> Anonymous
     File :-(, x)
>>253216Man, using GIMP to process images in console is crazy
Why?
>> TheAnalogKid
Webshots.com
>> Anonymous
www.wallpaperchanger.de
just get that and become happy.
>> Anonymous
>>253000
I use "Wallpaper Changer". I have over 1000 high-res Tokyo photos in a folder and set it to change in 30 minute intervals.

I just set it to autorun on Windows startup with the /h option ("wallpaperchanger.exe /h") and it will minimize to the system tray and run.

http://www.wallpaperchanger.de/
>> Anonymous
     File :-(, x)
Well, my wp-changer script is quite long, so i can't post it here. But if somebody is really interested about it, here is a link:
http://nose.laidun.info/wp-changer.txt

I use fluxbox as my window-manager, and this script makes a text-file that i include to my menu. From my menu, i can change my wallpaper very easily. The script uses Esetroot to change the wallpaper. Check my screenshot so you get the idea. And obviously im using GNU/Linux.
>> Anonymous
Unfortunately Wallpaper Changer is not free (just gratis), so a lot of people refuse to use it. Rightly so, since even in Windows it's not hard to write a script that changes your wallpaper. Nevermind that Debian has all the required functionality built-in.
For those of you using Gimp to resize images, I have heard that Greycstoration (http://www.greyc.ensicaen.fr/~dtschump/greycstoration/demonstration.html) contains a better resizer. Don't know anything about scriptability though.
>> ??
wallpaperizer
google it
be satisfied
>> Haplo
     File :-(, x)
>>253250
Because GIMP is heavy and GUI oriented. ImageMagick is faster, you don't have to wait for it to load and its much much much easier to use for script programming.
>> Anonymous
>>253522
wtf are you talking about "not free (just gratis)"?
Wallpaper Changer is a FREEWARE Windows 9x/NT/2000/XP wallpaper manager that can change your background images on every startup, once a day or at regular intervals. It features JPEG, PNG, GIF and BMP support. Several options are provided, including the ability to change your images in random order.

Knowing howe to write your own scripts and shit is cool yeah, but wallpaper changer resisez images beautifully, selects appropriate background colours when you have a non-wallpaper sized image, changes walls at user chosen intervals in order or randomly has an interface that allows you to preview walls. Sorry but it's just fucking easier to use this program than a script.
>> Anonymous
>>253596
i have wallpaper changer (www.wallpaperchanger.de) currently handling a directory with 5246 wallpapers in 289 sub-folders with ease.
>> Anonymous
>>252990

i see u liek pizza. u r not loli.
>> Anonymous
System > Preferences > Desktop Background

I win.
>> Anonymous
>>253620
you do this every 5 minutes?
gtfo failure
>> Anonymous
>>253624

I have no need to change my wallpaper every 5 minutes. I am content with a still image for up to several weeks at a time.
>> Anonymous
>>253626
then how the fuck is that relevant to this thread?
just GTFO
>> Anonymous
>>253552
If by "GUI oriented" you mean it has a GUI, then yes. Obviously you don't use the GUI when using Gimp from a script, though.

And you don't have to "wait for it to load" since you're calling it from a script that runs automatically.

It is heavier than ImageMagick, more so than you need for wallpaper switching, but that's only relevant if you didn't already have Gimp installed on your machine.

The difficulty of scripting, though, I can agree to. Not many people know Lisp (though I bet scripting engines exist for scripting Gimp in Python, etc.).
>> SilentCaay
Is there anything that's free that supports both true dual monitor walls and two different single monitor walls at the same time? I use WireChanger right now. It's a little buggy when you try to make a new theme but restarting the program works fine. The free version supports multiple single monitor walls for dual monitor but I haven't been able to get a free copy of the registered version that supports true dual montior...
>> Anonymous
>>253596
"Free" in this context means open source, as opposed to zero cost. That may be irrelevant to you, but there are people (like me) who do care, for various reasons.
>> Anonymous
>>253152
Oh, and one more thing to the guy who was going to try to use the 'bg' script I posted: right now it's hard-coded for 1920x1200 resolution, but it shouldn't be hard to change. (I know, I know, I should just make the script take another argument. But I wasn't intending to distribute it when I wrote it, and posted it on a whim.)
>> Anonymous
>>252990
I use a MacBook. MacOS X comes with a desktop switcher built-in, no need to download fancy programs. ^_^
>> Anonymous
too many windows/mac/solaris/linux fags here
>> Ludwig Van Beefoven !Tlm8GzjL4.
ITT a bunch of faggots.
>> Anonymous
>>253710
>>ITT a bunch of faggots.
>>a bunch of faggots.
>>faggots.
Go back to bed, namefag.
>> Anonymous
>>253647
sage for faggotry
>> StorminNorman
I had problems with wallpaperchanger.de in Vista, so I had to find something else. Luckily, someone wrote a sidebar widget that does it, which is nice. It even handles over 10000 images, subfolders, resizing, all that jazz. If you have Vista, you should search for it on the sidebar widgets site. I think it's just called "Desktop Wallpaper".