"Wallpaper" module Thread last updated on 2007-11-29 07:58:27

Posted by member 317786 on 2007-11-26 12:42:40

Hi,
i need a module that will give me ability to display wallpaper in label (or something similar). Thanks in advice

Posted by member 1 on 2007-11-26 17:36:19 link

ermmm...can you explain a little better what you are trying to do?

Posted by member 317786 on 2007-11-27 06:57:30 link

I wanna make a label (xlabel is prefered) with a image of wallpaper (thumbnail) dinamicly taken from system settings.

Posted by member 1 on 2007-11-27 09:32:09 link

so you want a mini version of your active wallpaper and that is all? if that is the case I would make a 1x1 VWM window that displays the background.

Posted by member 317786 on 2007-11-27 09:45:05 link

Yes, that's correct :). Let's go futher :). I wanna make button from it, when you click "mini wallpaper" it show you desktop (minimalize all windows). Any VWM support that action? Or maybe I could use hotspot (but I don't know which module would be on top)?

Posted by member 1 on 2007-11-27 10:30:07 link

Setting the hotspot on top shouldn't be a problem but won't do what you want. hrmmmmm.... The only way I could think of doing it would be having users define the wallpaper in your theme and then using that information to script something to shrink the image down, or use a thumbnail, so you can get a label background. Sounds like a lot of work though.

Posted by member 305666 on 2007-11-27 17:06:21 link

im thinking the easiest way to do this is to manually take your wallpaper, scale it down, and make it the label background. then just do LabelOnLeftClick !minimizewindows

i say this cause I don't think there is a global setting for xlabel that is $currentwallpaperimage$ or something to that effect.

Posted by member 1 on 2007-11-27 20:30:21 link

Right...but then you would have to manually setup the thumbnail every time you changed wallpapers.

Posted by member 305666 on 2007-11-28 10:37:07 link

right, but as far as i know its the only way to get the result he wants. and really how hard is it to resize one image, name it, and copy it to the image folder? and do you change wallpapers everyday? if he was planning to release the theme he could just make a little default image with a question mark or something... i dunno, but like i said thats the only way i can see it happening.

Posted by member 1 on 2007-11-28 12:06:57 link

My wallpaper changes every 30 minutes actually.

Posted by member 317786 on 2007-11-28 14:07:25 link

Sorry, splizzle but your idea won't work for me. I want to place this theme on site. Everybody can have any wallpaper.
About DeViLbOi idea... i've spend some time on it and that's what i've figured out:
I'm gonna need lswchanger-1.2 (it gives bang to change wallpaper) and comdlgls-0.7 (it provides "open file" dialog). Let's say "" is wallpaper you want(addres to picture).
1. User clicks button that open "open file" dialog and chooose
2. Wallpaper is changed with
3. is send to label and shows miniature
... but how make label (miniature) to check if wallpaper is changed automaticly??
I hope this is understand-able :)

Posted by member 305666 on 2007-11-29 07:58:27 link

you could just ass a !labelrefresh to the bang for your button