You are not logged in.

#1 2012-08-26 17:31:08

thillux
Member
Registered: 2012-08-26
Posts: 3

Simple Arch Linux Wallpaper Generator

Hello everyone. I was always annoyed about nice looking, but old wallpapers not available in my resolution. So I wrote a wallpaper generator in C, which can create the same, sharp impression of my simplistic wallpaper on nearly every possible screensize.
You can grab the code at https://github.com/thillux/WPGenerator and create my wallpaper in your favourite resolution.

For a first look, visit http://img705.imageshack.us/img705/553/wallpaperrj.png (1920x1200, 2 MB) or
http://img210.imageshack.us/img210/8862/wallpapersk.png (1920x1200, 161 KB).

Last edited by thillux (2012-08-27 23:06:23)

Offline

#2 2012-08-26 20:08:23

sulvaat
Member
Registered: 2012-06-16
Posts: 2

Re: Simple Arch Linux Wallpaper Generator

Anyway to change the output other than the resolution?

Offline

#3 2012-08-27 08:45:37

thillux
Member
Registered: 2012-08-26
Posts: 3

Re: Simple Arch Linux Wallpaper Generator

I implemented only one wallpaper. You can only change the amount of lines and circles.

Edit:
I've made some parameters for that in the recent version.

./WPGenerator --width WIDTH --height HEIGHT --circles NUM_CIRCLES --waves NUM_WAVES

With

./WPGenerator --width WIDTH --height HEIGHT --random

you can choose them randomly.
I wrote this to get myself in touch with the cairo library. Thought it would be nice to have the possibility to create the wallpaper in your resolution without asking the wallpapers creator to do it for you, even in some years with new screen resolutions. I'm not pleased to see cool stuff created in 2001 only in 1280x1024. For sure, such a generator may never can output what others are capable of to do with Gimp, Photoshop and friends. If you are interested in other wallpapers, I can generate some more.
It would also be possible implement a feature to create a wallpaper with a monthly calender or a field for news from something like an RSS feed and call the program every $(your time here) to update it.

So if you like the basic idea, please let me hear about your criticism or provide feature requests.

Last edited by thillux (2012-08-27 10:44:32)

Offline

#4 2012-08-27 09:43:53

pilotkeller
Member
From: Canada
Registered: 2011-12-22
Posts: 513
Website

Re: Simple Arch Linux Wallpaper Generator

This could be so much fun to set as a cronjob with xpmroot to have my background change once ever 10-20 minutes.

Offline

#5 2012-08-31 12:34:27

th3voic3
Member
Registered: 2012-03-20
Posts: 92

Re: Simple Arch Linux Wallpaper Generator

Hey I really do like this, but in your preview pictures the logo is aligned to the right and when I use your script it is always centered.
How do I get it to look like your preview pictures?

Offline

#6 2012-08-31 12:49:33

mzneverdies
Member
Registered: 2012-02-04
Posts: 147

Re: Simple Arch Linux Wallpaper Generator

Someone put this into AUR, NOW! smile

Offline

#7 2012-08-31 17:12:12

thillux
Member
Registered: 2012-08-26
Posts: 3

Re: Simple Arch Linux Wallpaper Generator

Let me answer th3voic3's question. First I positioned the logo at the right side, then I coded it hard to the center of the background. In the recent commit I changed this behaviour. After checking out again you can call my little tool like this now:

./WPGenerator --width 1920 --height 1200 --quads --logopos right

Last edited by thillux (2012-09-01 20:19:02)

Offline

#8 2012-08-31 21:45:50

th3voic3
Member
Registered: 2012-03-20
Posts: 92

Re: Simple Arch Linux Wallpaper Generator

thillux wrote:

Let me answer th3voic3's question. First I positioned the logo at the right side, the I coded it hard to the center of the background. In the recent commit I changed this behaviour. After checking out again you can call my little tool like this now:

./WPGenerator --width 1920 --height 1200 --quads --logopos right

Awesome! smile

Offline

Board footer

Powered by FluxBB