Notices


Reply
Thread Tools
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#1
qwerty12 posted a very cool set of toys over in "Show Off Your Screenshots," including a way to make any window transparent. I wanted a way to change my wallpaper easily (and quickly), so I put together a couple of scripts that use qwerty12's stuff to make this happen.

You must set your desktop background to BLACK for this to work!

This little package includes four things:

1. A script, setback, that will make your desktop transparent and then put a picture of your choice on the background.

2. A script, rndback, that (fake) randomly chooses an image from a supplied list of directories, and then calls setback to make that picture your background.

3. A menu item, "Set Random Wallpaper" (which calls rndback); this displays a new wallpaper each time you choose it.

4. A menu item, "Make Window Transparent" (which calls transsset-df); this makes the next window you click on 25% transparent.

A cool side effect: If you return to the desktop from a fullscreen app using the switch (home) key, you can see the app behind the desktop. So start a slideshow in Quiver, then go back to your desktop, and you now have a slideshow for wallpaper!

Use the /home/user/.wallpaper file to set the directory list for your wallpapers. Separate the directories with a space. There's also a way to add image types to the list of types that are searched for, use the template in the .wallpaper file to add more types.

Every time you reboot, your desktop background will be plain black and opaque until you run the "Set Random Wallpaper" (or call setback in a startup script).

Pre-requisites:

UPDATE: If you add my repository, this is easy to install.

NEW Pre-requisite Instructions:

You can now do it from the Application Manager!

Add this to Application Manager;
Tools -> Application Catalogue -> New button

Code:
Catalogue name: Qole
Web address: http://qole.org/repository/
Distribution: maemo
Components: main
Now, when you go to Browse installable applications -> Other, you'll be able to install setback 0.1.0 and all the other stuff will be installed automagically...

Old Pre-requisite Instructions:

Two libraries from Chinook repositories:

libimlib2
libxmu6

The composite stuff from qwerty12:

libxcomposite1
xcompmgr
transset-df

Some extra stuff qwerty12 compiled for me:

hsetroot
wmctrl

Finally, here is the little package that uses all the above stuff.

setback 0.4.0

You might be able to get this to work just by coming here on your tablet and clicking then installing each link in this post.

If you don't add my repository, you will have to save all these files to a folder, gain root, then use "dpkg -i <packagename>" to install them.

Screenshot:






I'm typing this all on my tablet; I don't have the patience to do more now. Ask me questions, I will answer them.
__________________
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!

Last edited by qole; 2010-03-19 at 16:38. Reason: moved the links to point to my new repository
 

The Following 13 Users Say Thank You to qole For This Useful Post:
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#2
Here's some other stuff you can do with compositing:





 

The Following 5 Users Say Thank You to qwerty12 For This Useful Post:
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#3
xcompmgr on the tablet. This will open up completely new possibilities.
 
Posts: 4,556 | Thanked: 1,624 times | Joined on Dec 2007
#4
Sweet.. I was wondering when changing wallpaper automatically was going work.

Any reason why your first screenshot has a black box?
__________________
Originally Posted by ysss View Post
They're maemo and MeeGo...

"Meamo!" sounds like what Zorro would say to catherine zeta jones... after she slaps him for looking at her dirtily...
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#5
Originally Posted by Laughing Man View Post
Any reason why your first screenshot has a black box?
I assume you mean around the top icon panel? It was an early screenshot, and I still hadn't figured out the best transparency settings yet, so the top panel isn't transparent in that image. But there is a distinct box around that panel when you start playing with transparency, no matter how transparent you make it...
__________________
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!
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#6
Originally Posted by qole View Post
I'm typing this all on my tablet; I don't have the patience to do more now.
You typed that from an N800? Hehe, nice work, I don't type properly even when sitting in front of my computer screen. :P
 

The Following User Says Thank You to qwerty12 For This Useful Post:
Posts: 88 | Thanked: 63 times | Joined on Feb 2008 @ Solingen; Germany
#7
thanks nice work!
 
YoDude's Avatar
Posts: 2,869 | Thanked: 1,784 times | Joined on Feb 2007 @ Po' Bo'. PA
#8
Could a Web page or image be used with a modified script???
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#9
Originally Posted by YoDude View Post
Could a Web page or image be used with a modified script???
I guess so, you could use wget to grab an image from the web first, then display it...

I'm using hsetroot to display the image on the root X window. You might be able to find another tool that puts web pages there. Look around the Debian repos for something...

Heck, you could have hang gliders flying around, or fireworks, or the phase of the moon, or Scottish tartans. Feel free to experiment, I recommend Easy Debian to find stuff that works.
__________________
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!
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#10
Originally Posted by qwerty12 View Post
You typed that from an N800? Hehe, nice work, I don't type properly even when sitting in front of my computer screen. :P
I had a bluetooth keyboard. My wife was on the kitchen laptop, so I used the tablet. It seems to be important to hit "Preview Post" frequently, because some unknown key combination causes the tablet's browser to jump back a page, losing everything I've typed. "Preview Post" saves my work.
__________________
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!
 
Reply

Tags
background, hildon-desktop, qwerty12, transparent, wallpaper


 
Forum Jump


All times are GMT. The time now is 05:05.