Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Tutorials & Tips
The place to find Ubuntu related Tips & Tricks.

 
Thread Tools Display Modes
Old January 4th, 2006   #1
poofyhairguy
SADFL's Commando
 
poofyhairguy's Avatar
 
Join Date: Nov 2004
Location: Texas
Beans: 2,351
Send a message via AIM to poofyhairguy
An Aquatic Desktop - Neat Eye Candy

I have sat on this into for too long. Its time to tell the tale about some pretty neat eye candy.

I will let the author explain it:

" xdesktopwaves is a cellular automata setting the background of your X Windows desktop under water. Windows and mouse are like ships on the sea. Each movement of these ends up in moving water waves. You can even have rain and/or storm stirring up the water."

Sounds cool huh? Here is some screenshots:

http://ubuntuforums.org/gallery/show...original=1&c=2

http://ubuntuforums.org/gallery/show...original=1&c=2

http://ubuntuforums.org/gallery/show...original=1&c=2


Bonus is that its REALLY stable for me. Downside is that is uses CPU power (you determine how much though).

If you want to try it, pull out the terminal and type in:

Code:
sudo apt-get install xdesktopwaves
Now lets try it out. Put this command in the terminal:

Code:
xdesktopwaves
There is the effect. Press control and C to stop it. Now to make it better. First I like to improve the quality. This command is an example of how to do that.

Code:
xdesktopwaves -quality 8
That is my favorite level of quality. It might make it too slow for you. So replace the "8" with any number from one to nine, with one being the lowest. Keep experimenting with the numbers until you hit the balance of performance and looks for your machine. Its your CPU power at work, so choose wisely.

Next we will play with the color. Here is an example command:

Code:
xdesktopwaves -colortheme 3
Now change the "9" to any number one through nine. Each is very different. Fun to try out. One looks like toxic waste, another like blood. I like 3 the best, but 1 is the most blue. 7 and 9 are cool too.

Now for the fun stuff. To add rain use this example command:

Code:
xdesktopwaves -rain 2
Cool huh? Again you can change "2" to any number one through nine but I find after "3" it gets too busy for my own tastes.

Now is the worst effect- the storm. It adds wind as an element. To try use this example command:

Code:
xdesktopwaves -storm 2
Again replace the "2" with any number one through nine if you wish. I never use this one because I find it makes my desktop too busy.

Now if you REALLY like this trick and you are willing to give up your desktop for it (it does not get deleted, it is just hidden) then try this command:

Code:
xdesktopwaves -opaque
Its a safe command, so everyone should try it once.

Now figure out what commands you like and try stacking them. Here is an example and good default:

Code:
xdesktopwaves -quality 7 -opaque -rain 1 -colortheme 7
Order does not matter, just put a space in between each. Try it.

Here is the command I use:

Code:
xdesktopwaves -quality 8 -rain 1 -colortheme 3
Now armed with your favorite setup (or mine) lets make a launcher on your desktop;

Put this command in the terminal:

gedit toggle_xdesktopwaves.bash

Fill the empty file by copying and pasting this:
Code:
#!/bin/bash
a=`ps -aef | grep -i xdesktopwaves | awk ' {if ($8 == "xdesktopwaves"){printf "2"}} '`
if  [[ $a = "" ]]
then
	yourcommand 
else
	kill -9 `ps -aef | grep -i xdesk | awk ' {if ($8 == "xdesktopwaves"){printf $2}} '`
fi
The part I bolded is where to put your custom command. Here is the one I use
Code:
#!/bin/bash
a=`ps -aef | grep -i xdesktopwaves | awk ' {if ($8 == "xdesktopwaves"){printf "2"}} '`
if  [[ $a = "" ]]
then
	xdesktopwaves -quality 8 -rain 1 -colortheme 3 
else
	kill -9 `ps -aef | grep -i xdesk | awk ' {if ($8 == "xdesktopwaves"){printf $2}} '`
fi
Now lets move the file:

Quote:
sudo cp toggle_xdesktopwaves.bash /usr/bin/toggle_xdesktopwaves.bash
And make it work:

Quote:
sudo chmod 755 /usr/bin/toggle_xdesktopwaves.bash
Now right click on your desktop or panel. Choose the " Create (custom) launcher."

For name put "xdesktopwaves" In the "command" blank put:

Code:
/usr/bin/toggle_xdesktopwaves.bash
Pick whatever icon you want, I attached the real one to this thread. To use it first download it to you home folder. Then untar it with this command:

Code:
tar -zxvf xdesktopwaves.xpm.tar.gz
Then move it to the right place with this command

Code:
sudo mv xdesktopwaves.xpm /usr/share/pixmaps/xdesktopwaves.xpm
And then select the icon.

There you go. You now have a on off button for these neat effect. I hope you enjoy, and spread the love to your friends and family.
Attached Files
File Type: gz xdesktopwaves.xpm.tar.gz (2.6 KB, 590 views)
__________________
Quote:
Those folks who try to impose analog rules on digital content will find themselves on the wrong side of the tidal wave.
- Mark Shuttleworth

Last edited by poofyhairguy; January 4th, 2006 at 09:18 AM..
poofyhairguy is offline   Reply With Quote
Old January 4th, 2006   #2
frodon
Ubuntu French Roast
 
frodon's Avatar
 
Join Date: Jun 2005
Location: France
Beans: 6,250
Ubuntu 9.04 Jaunty Jackalope
Re: An Aquatic Desktop - Neat Eye Candy

I love this trick, thanks poofy
__________________
| Quake Wars fan inside | Ubuntu Backports |
frodon is offline   Reply With Quote
Old January 4th, 2006   #3
lizardking
Way Too Much Ubuntu
 
lizardking's Avatar
 
Join Date: Jan 2005
Location: Signa, Florence
Beans: 261
Hardy Heron (Ubuntu Development)
Send a message via ICQ to lizardking Send a message via MSN to lizardking Send a message via Yahoo to lizardking Send a message via Skype™ to lizardking
Re: An Aquatic Desktop - Neat Eye Candy

some screen?
__________________
iAc alias Lizardking - Ubuntu Artwork Team
web: www.iacopomasi.net
mail: iacopo.masi@gmail.com
lizardking is offline   Reply With Quote
Old January 4th, 2006   #4
Havoc
A Carafe of Ubuntu
 
Havoc's Avatar
 
Join Date: Mar 2005
Location: Greece!
Beans: 123
Ubuntu 7.04 Feisty Fawn
Re: An Aquatic Desktop - Neat Eye Candy

I love it, but it doesn't work without Nautilus drawing the desktop, meaning, no Water with E17...I'm sad.
__________________
"Ubuntu" is an ancient African word, meaning: "I can't configure Debian."
Havoc is offline   Reply With Quote
Old January 4th, 2006   #5
ricka
5 Cups of Ubuntu
 
Join Date: Dec 2005
Location: Lithuania
Beans: 12
Dapper Drake Testing/
Re: An Aquatic Desktop - Neat Eye Candy

wow nice stuff
thanks poofyhairguy
ricka is offline   Reply With Quote
Old January 4th, 2006   #6
poofyhairguy
SADFL's Commando
 
poofyhairguy's Avatar
 
Join Date: Nov 2004
Location: Texas
Beans: 2,351
Send a message via AIM to poofyhairguy
Re: An Aquatic Desktop - Neat Eye Candy

Quote:
Originally Posted by lizardking
some screen?
Added some to first post.
__________________
Quote:
Those folks who try to impose analog rules on digital content will find themselves on the wrong side of the tidal wave.
- Mark Shuttleworth
poofyhairguy is offline   Reply With Quote
Old January 4th, 2006   #7
poofyhairguy
SADFL's Commando
 
poofyhairguy's Avatar
 
Join Date: Nov 2004
Location: Texas
Beans: 2,351
Send a message via AIM to poofyhairguy
Re: An Aquatic Desktop - Neat Eye Candy

Quote:
Originally Posted by Havoc
I love it, but it doesn't work without Nautilus drawing the desktop, meaning, no Water with E17...I'm sad.

Hmmm...thanks for telling me. I will make this a Gnome guide then.
__________________
Quote:
Those folks who try to impose analog rules on digital content will find themselves on the wrong side of the tidal wave.
- Mark Shuttleworth
poofyhairguy is offline   Reply With Quote
Old January 4th, 2006   #8
poofyhairguy
SADFL's Commando
 
poofyhairguy's Avatar
 
Join Date: Nov 2004
Location: Texas
Beans: 2,351
Send a message via AIM to poofyhairguy
Re: An Aquatic Desktop - Neat Eye Candy

Quote:
Originally Posted by ricka
wow nice stuff
thanks poofyhairguy
No problem.
__________________
Quote:
Those folks who try to impose analog rules on digital content will find themselves on the wrong side of the tidal wave.
- Mark Shuttleworth
poofyhairguy is offline   Reply With Quote
Old January 4th, 2006   #9
Mr_J_
A Carafe of Ubuntu
 
Mr_J_'s Avatar
 
Join Date: Jul 2005
Location: EU - Portugal - Vendas de Azeitão
Beans: 115
Send a message via MSN to Mr_J_
Re: An Aquatic Desktop - Neat Eye Candy

I'm pretty sure i followed everything you said. but i still get permission denied on using the launcher.
I should change the location of the .bash file to my home folder?

Anyway... I love the effects!
Mr_J_ is offline   Reply With Quote
Old January 4th, 2006   #10
mcduck
Big cup of plunger coffee
 
mcduck's Avatar
 
Join Date: Apr 2005
Location: Finland
Beans: 6,475
Ubuntu 9.10 Karmic Koala
Re: An Aquatic Desktop - Neat Eye Candy

That's a nice one. Thanks.

Have you tried xpenguins too? It's also available in repositories.

I also tried xsnow, but that doesn't seem to work, I suppose it doesn't like nautilus. It's a bit sad as some snow would have looked great on my January desktop
__________________

42
mcduck is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

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 -4. The time now is 09:30 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry