View Single Post
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: