Go Back   maemo.org - Talk > Software > Applications
 
Register FAQ Community Calendar Today's Posts Search

Notices

Reply
 
Thread Tools
  #1  
Old 2008-12-08, 08:03
qole's Avatar
qole qole is offline
Moderator
 
Join Date: Oct 2007
Location: Vancouver, BC, Canada
Posts: 7,109
Thanks!: 7,369
Thanked 8,820 Times in 2,918 Posts
Smile Random Wallpaper + Transparent Desktop

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
Reply With Quote
The Following 13 Users Say Thank You to qole For This Useful Post:
  #2  
Old 2008-12-08, 08:47
qwerty12's Avatar
qwerty12 qwerty12 is offline
 
Join Date: Sep 2007
Location: Looking at y'all and sighing
Posts: 4,274
Thanks!: 5,528
Thanked 5,358 Times in 1,954 Posts
Default Re: Random Wallpaper + Transparent Desktop

Here's some other stuff you can do with compositing:





Reply With Quote
The Following 5 Users Say Thank You to qwerty12 For This Useful Post:
  #3  
Old 2008-12-08, 09:17
pycage's Avatar
pycage pycage is offline
 
Join Date: Oct 2005
Location: Germany
Posts: 3,404
Thanks!: 2,562
Thanked 4,474 Times in 1,452 Posts
Default Re: Random Wallpaper + Transparent Desktop

xcompmgr on the tablet. This will open up completely new possibilities.
Reply With Quote
  #4  
Old 2008-12-08, 16:36
Laughing Man Laughing Man is offline
 
Join Date: Dec 2007
Posts: 4,556
Thanks!: 558
Thanked 1,624 Times in 956 Posts
Send a message via Skype™ to Laughing Man
Default Re: Random Wallpaper + Transparent Desktop

Sweet.. I was wondering when changing wallpaper automatically was going work.

Any reason why your first screenshot has a black box?
__________________
Quote:
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...
Reply With Quote
  #5  
Old 2008-12-08, 17:20
qole's Avatar
qole qole is offline
Moderator
 
Join Date: Oct 2007
Location: Vancouver, BC, Canada
Posts: 7,109
Thanks!: 7,369
Thanked 8,820 Times in 2,918 Posts
Default Re: Random Wallpaper + Transparent Desktop

Quote:
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!
Reply With Quote
  #6  
Old 2008-12-08, 17:23
qwerty12's Avatar
qwerty12 qwerty12 is offline
 
Join Date: Sep 2007
Location: Looking at y'all and sighing
Posts: 4,274
Thanks!: 5,528
Thanked 5,358 Times in 1,954 Posts
Default Re: Random Wallpaper + Transparent Desktop

Quote:
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
Reply With Quote
The Following User Says Thank You to qwerty12 For This Useful Post:
  #7  
Old 2008-12-08, 17:32
thopiekar thopiekar is offline
 
Join Date: Feb 2008
Location: Solingen; Germany
Posts: 88
Thanks!: 52
Thanked 63 Times in 25 Posts
Send a message via Skype™ to thopiekar
Default Re: Random Wallpaper + Transparent Desktop

thanks nice work!
Reply With Quote
  #8  
Old 2008-12-08, 17:34
YoDude's Avatar
YoDude YoDude is offline
 
Join Date: Feb 2007
Location: Po' Bo'. PA
Posts: 2,869
Thanks!: 2,113
Thanked 1,784 Times in 817 Posts
Default Re: Random Wallpaper + Transparent Desktop

Could a Web page or image be used with a modified script???
Reply With Quote
  #9  
Old 2008-12-08, 17:50
qole's Avatar
qole qole is offline
Moderator
 
Join Date: Oct 2007
Location: Vancouver, BC, Canada
Posts: 7,109
Thanks!: 7,369
Thanked 8,820 Times in 2,918 Posts
Default Re: Random Wallpaper + Transparent Desktop

Quote:
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!
Reply With Quote
  #10  
Old 2008-12-08, 17:53
qole's Avatar
qole qole is offline
Moderator
 
Join Date: Oct 2007
Location: Vancouver, BC, Canada
Posts: 7,109
Thanks!: 7,369
Thanked 8,820 Times in 2,918 Posts
Default Re: Random Wallpaper + Transparent Desktop

Quote:
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 With Quote
Reply

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


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 18:42.