Ubuntu Forums Archive Viewer

An Aquatic Desktop - Neat Eye Candy

Archived thread 112333 from Outdated Tutorials & Tips. Markdown source: Outdated_Tutorials_&_Tips/thread_112333_An_Aquatic_Desktop_-_Neat_Eye_Candy.md

Original URL About this archive
#1

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/showimage.php?i=1681&original=1&c=2

http://ubuntuforums.org/gallery/showimage.php?i=1682&original=1&c=2

http://ubuntuforums.org/gallery/showimage.php?i=1683&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:

sudo apt-get install xdesktopwaves

Now lets try it out. Put this command in the terminal:

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.

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:

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:

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:

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:

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:

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:

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:


#!/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


#!/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:

sudo cp toggle_xdesktopwaves.bash /usr/bin/toggle_xdesktopwaves.bash

And make it work:

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:

/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:

tar -zxvf xdesktopwaves.xpm.tar.gz

Then move it to the right place with this command

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.

#2

I love this trick, thanks poofy ;)

#3

some screen?

#4

I love it, but it doesn't work without Nautilus drawing the desktop, meaning, no Water with E17...I'm sad. :(

#5

wow nice stuff :cool: thanks poofyhairguy

#6

some screen?

Added some to first post.

#7

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.

#8

wow nice stuff :cool: thanks poofyhairguy

No problem.

#9

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!

#10

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 ;)

#11

hm strange that at -quality 9 it uses 100% cpu and at -quality 8 max 40% :\

#12

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! Make it executable ;) I'm playing with mouse over half an hour.... Very nice poofyhairguy ;-)

#13

That worked! Making it executable with "sudo chmod 755 /usr/bin/toggle_xdesktopwaves.bash" worked perfect! Still keeps itself slow on moving windows, but who cares.

I'm trying all the eye candy I can until something busts.

#14

Make it executable ;) I'm playing with mouse over half an hour.... Very nice poofyhairguy ;-)

Thanks, I added that.

#15

I love it, but it doesn't work without Nautilus drawing the desktop, meaning, no Water with E17...I'm sad. :(

I assume it won't work in KDE then?

#16

I assume it won't work in KDE then?

Works fine in Kubuntu - KDE here!! Thanks poofyhairguy

#17

Works in XFCE too. It's very cool. :cool:

#18

Very cool effects Thx poofyhairguy :D xpenguins is also cool, xfishtank didnt work for me :(

#19

xfishtank didnt work for me :(

Me neither. Anyone get xsnow to work?

#20

xfishtank or xsnow running in root window. In gnome, nautilus shows the desktop. Go: Applications-->System Tools-->Configuration Editor: apps-->nautilus-->preferences and uncheck: show desktop. Open the terminal and write: xsnow or sudo xfishtank. Enjoy :) The screenshots are from Dapper, but it's the same for Breezy:

http://www.ubuntuforums.org/gallery/showimage.php?i=1689&original=1&c=2 http://www.ubuntuforums.org/gallery/showimage.php?i=1688&original=1&c=2

(sorry for my bad english)

#21

Damn, this is some really cool stuff, more ways for me to impress my windows using buddies :D , thanks poofyhairguy another of your great guides.

#22

I love it, but it doesn't work without Nautilus drawing the desktop, meaning, no Water with E17...I'm sad. :( E17 handles things a lot different from most DEs, and uses its own Evas canvases for drawing the background, etc. It's not surprising that this works for Gnome, KDE, XFCE, but not E17. Then again, an E17 module for this effect would probably be pretty trivial to write.

#23

strange:

$ xdesktopwaves
bash: xdesktopwaves: command not found

although I've got it in Synaptic marked installed...

EDIT: for some wierd reason /usr/games was not in my path...

#24

Thanks man! This eye candy is sweet!

#25

really cool, poof, you're keeping busy :D :D :D

#26

Whew! For minute there, I was afraid you'd gone and done a howto on making GNOME look like Aqua.

#27

Whew! For minute there, I was afraid you'd gone and done a howto on making GNOME look like Aqua.

Not this guy. I just say no to fake Aqua themes.

#28

really cool, poof, you're keeping busy :D :D :D

Its a busy time of year for this stuff!

#29

Thanks man! This eye candy is sweet!

No problem.

#30

Not this guy. I just say no to fake Aqua themes. Good man. I can't stand Aqua.

#31

This is amazingly cool.

Now if I could only make it my screensaver...

#32

Another bookmark from poofyhairguy---I am going to have to give you your own catagory.

Thanks a lot---great stuff!!!!!!! Our desktops would be so bland without you;)

#33

Another bookmark from poofyhairguy---I am going to have to give you your own catagory.

Thanks a lot---great stuff!!!!!!! Our desktops would be so bland without you;)

Thanks. I'm glad I am eating CPU cycles all over the place.

#34

This is really nice. Playing with the mouse has never been so fun. lol

#35

It does slow down my desktop a bit, though. Is it because I am using KDE or is the same for everyone. Does it use open gl?

#36

that is so frikkin cool!

it's a bit hard to read conky, though... and takes up alot of cpu.

conclusion: good for showing off :P

#37

It does slow down my desktop a bit, though. Is it because I am using KDE or is the same for everyone. Does it use open gl?

No, I think it just uses the CPU. Hence the slowness.

#38

conclusion: good for showing off :P

Exactly.

#39

great stuff!

#40

Awesome Poofy. Thanx for the how to on this.

#41

Awesome Poofy. Thanx for the how to on this.

No problem. We each do our part, right?

#42

This is awesome! Thanks poofyhairguy :)

#43

Oh, this great stuff...thanks.

#44

I noticed that the hit on my RAM was minimal but the CPU is running between 50-60% with my settings as follows.

Quality-8 color-2 Rain-3

I actually think this is pretty good considering the high quality setting. I just love my AMD Athlon64 3200. My old Athlon 2500 would have pegged out even overclocked at a 3200.

#45

I noticed that the hit on my RAM was minimal but the CPU is running between 50-60% with my settings as follows.

Quality-8 color-2 Rain-3

I actually think this is pretty good considering the high quality setting. I just love my AMD Athlon64 3200. My old Athlon 2500 would have pegged out even overclocked at a 3200.

Quality 9 seems to be what kills it. At quality 9 one of my cores (not a multicore app) is completely pegged!

#46

This are my settings :

xdesktopwaves -quality 8 -rain 1 -opaque -storm 1

But maybe it's more beatiful with some blue / water wallpaper (without the opaque). Does anyone have found a nice one ?

#47

worked fine and great for me thanks alot

#48

One thing I noticed: gdesklets don't play the best with this. Well...some do.

Just warning yall.

#49

Either xdesktopwaves is really old, or Enlightenment DR13 had something very similar. Because I recall playing around with something like this back when I first started using linux. Actually I think it was originally called xripple.

Anyhow, it's still really cool :D

Speaking of Enlightenment DR13, it's too bad Metacity stinks, otherwise we could have some good eye-candy like that. It kind of sucked on lower resolution screens, but now that I'm running 1600x1200, it would be damn sweet!

Couldn't find a real screenshot, but here's a wannabe clone of DR13's theme for Window blinds.

http://pcdesktops.emuunlim.com/wb21-25.shtml Just scroll down to E13

Leech

#50

Woa, this is sweet! My first candyhack. Thanks poofyhairguy! Who knows maybe I'll try adding a GRUB a graphical background next. Courage must be built a little at a time lol.

Oh, a note to those of us with wimpus minimus CPUs, this thing still runs, and runs great on lower quality settings. I have a 350 mghz cpu with 392 ram, and a TNT2 agp 2x card with 32 megs of ram on it (and the standard Ubuntu driver. Not the official Nvidia driver.) At quality lev 4 it runs great (at pegged cpu lol, but no lag). Just figured I'd let anyone who's reading this thread but is concerned about not having enough power know that. After all, even those of us who have older hardware deserve eyecandy too. :D

#51

I have a 500 mhz CPU, 256 ram, and it runs fine at normal settings, except when moving windows. It takes about half a sec to do it then. Otherwise, great!

#52

Also, instead of putting that whole complicated line starting with 'kill', it'd be easier and simpler to do "xdesktopwaves -end".

#53

Very nice, thanks ;) .

#54

Hello, I LIKE IT!! Also, after you make the initial on/off button, you can add more xdesktopwaves commands into the applications menu editor, as if adding a new application, using any xdesktopwaves command combinations , turning them on in the menu and turning them off with the original button, since only one incident of xdesktopwaves can run at a time. Very cool! Thanks Coz

#55

wow!! I bow to you this is so sweet my windows budies are all jealous! wohooooo! \\:D/ \\:D/ \\:D/ \\:D/ \\:D/

#56

How do you get this working with conky?

Or maybe the question should be: How do you get conky to work with this?

#57

hmmm, i do sudo apt-get install xdesktopwaves, but then when i type xdesktopwaves in the terminal, it says

bash: xdesktopwaves command not found. wats goin on?

#58

apt might have failed installing try reinstaĺl it

#59

this is nice.. I was suprised that I could do it with my integrated graphics..

sudo apt-get install xpenguins then do that too.. funny ! sudo apt-get install xfishtank I did that but for some reason it didn't install lol, I'm going to try it again.

#60

this is nice.. I was suprised that I could do it with my integrated graphics..

Its all on the CPU I think.

#61

ahh.. well shows what I know :D

#62

Hey guys, this is really my first linux OS, so bear with possible idiot comments, lol. I typed in the first command: sudo apt-get install xdesktopwaves , and I get this response: Reading package lists... Done Building dependency tree... Done E: couldn't find package xdesktopwaves

so, did I do something wrong, or what?

#63

Hey guys, this is really my first linux OS, so bear with possible idiot comments, lol. I typed in the first command: sudo apt-get install xdesktopwaves , and I get this response: Reading package lists... Done Building dependency tree... Done E: couldn't find package xdesktopwaves

so, did I do something wrong, or what?

You have to enable the Universe. I always just assume that people do that in my guides.

#64

ChaosEsper, read this. It doesn't really explain what repositories are, just how to enable them, if you want to know what they are (and you probably should) google will explain it all

#65

Make it executable ;) I'm playing with mouse over half an hour.... Very nice poofyhairguy ;-)

haha, its adictive isn't it?

Thanks Poofyhairguy, Cheers!!!

#66

Ya know what would really set this off? It would even legitimize it as something more than mere eyecandy, too...

If you could somehow link weather service information (like the gnome-applet or other favorite source) to have it come on when it's scheduled to rain.

Kinda like being in Nethack, and having the game recognize actual moon phases. It just adds something for me, ya know?

#67

umm just 1 prob- it comes up with nothing when I type xdesktopwaves at my terminal and I'm running gnome whick might have been the problem :-k

#68

Nice Post! Thanks! =)

#69

awesome!! there are more options. just do

man xdesktopwaves

awesome!!

#70

hI I've followed the instructions on the first post carefully and everything seems to be running smooth but I want to ask one question: if i want to stop the aquatic effect what can i do (except log-out) i tried ctrl-c but it doesn't work. thanks

#71

If you started it from inside a terminal, you need to select the terminal window and hit 'ctrl+c' in the terminal window. Ctrl+c is a standard shortcut to kill an application running from within a terminal window.

#72

Thanks I started it from an icon I now discovered that clicking again on the icon stops it so ...problem solved...

#73

Are you sure cause I don't think there is such function in xdesktopwaves builtin so if it really does work as you say, either I am wrong or you have some toggle script that launches xdesktopwaves or nothing makes sence until you understand it LOL :-P

If you do find out that it doesn't work as you say, you could use a toggle script that does the job.

#74

hey there, I just did this neat little trick and it was awesome!! Only mine is blood red, but this is great, i been looking for an animated desktop and this isnt too bad. One day i hope to create and animate my own background but hey, this is awesome!

good looks

#75

I'm sorry, but the screen shots are not loading...

#76

Okay, this is SO cool! Works like a charm, but I would suggest these options:

xdesktopwaves -t -i -si 4 -vs 2 -rain 2 -colortheme 3 -quality 6 -storm 3

It's a little CPU intensive, but you just need to change quality for that. The -t adds transparency and gets rid of desktop icons while running. I found them to look glitchy. -i forces idle mode to actually work. -si changes sky intensite (0 - 10, 10 means light reflection from virtual 'sun' is stronger) and -vs changes the viscosity (1-5).

Anyway, great guide! I also love xpenguins, but that's REALLY glitchy. I can't get xFishtank or Xearth to work. But still, this is so cool.

-Metroid48

PS- Thanks for bringing my CPU to 100% strain and making me spend hours on eyecandy foolin'!:D Love all these eyecandy threads!

#77

I typed sudo apt-get install xdesktopwaves and it came up with this.

Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package xpenguins

Shouldn't it be there?

#78

As the screenshots in the first post no longer work, can someone upload some more please?

#79

Yeah, it is a neat little FSA, thanks for the button script. Colorscheme 2 works great with my green theme, and my roomate is saying OMG! WTF! where did you get that?

#80

This works great. It's really nice.

However I'm using one of those terminals in the background that look real snazzy from HOWTO: Terminal as the desktop background.. Is there a way to make xdesktopwaves run "on top" of this window? Currently, the ripples just go around it.

Thanks again, this is just beautiful.

#81

It's the greatest. Better then anything I've ever seen.

#82

Screenshot for _simon_

The screenshot doesn't really do it much justice, it looks a LOT better on the screen for some reason!

EDIT: you have to make sure you zoom in on that screenshot otherwise it looks terrible!

#83

Is this any way we could get some more screenshots? The orig ones don't work anymore.

#84

A pretty maniac. Far better than other configs, incl. mine! :-D

#85

It needs some work to smooth it out but as a concept, it is awesome. This is where it is at people. Cheers muz

#86

rashid@rashid-desktop:~$ sudo apt-get install xdesktopwaves

Reading package lists... Done Building dependency tree... Done E: Couldn't find package xdesktopwaves rashid@rashid-desktop:~$

:S

-Rashid

#87

hey everyone...i still have a lot of problems with tthis plug-in...when i write sudo apt-get... the terminal is asking me for a passwor...i just insert my sistem password and after nothing is happening...when i try to write xdesktopwaves the console is saying that command not found...what i can do?!??! plz!

#88

you need to have the dapper/universe repositories enabled to install xdesktopwaves

add the line:

deb http://archive.ubuntu.com/ubuntu/ dapper universe multiverse main restricted

to your sources.list

sudo gedit /etc/apt/sources.list

and that should do the trick...as well as giving you access to nearly every extra package known to man lol

#89

thanks man! but i still have a big problem! sorry but im a nubs with linux...where should i write this line...because if i try to write it in the console is not working...where i must write it? im getting crazy!!! ](*,) ](*,)

#90

Totally awesome! From what i see:). I'm going to try it out when i go home.

#91

you're links of the screenshots don't show you screenshots. they show you some kind of weird ubuntu forum home page that's all white and not any screenshots. sounds cool but i'd like to see it first. thanks for the info none-the-less

#92
#93

thanks everyone but i still have 2 problems...how can i use it with the 3d desktop? is possible? the water effect with a radeon 9600pro is working? because on my pc is not working!

#94

Thanks a ton for this very cool guide that adds yet one more really cool visual to an already awesome desktop!

#95

Just given this a whirl on top of Beryl, and it looks great- I can't use the 'water' plugin with beryl due to a lack of Pixel Shaders on my graphics.

Unfortunately, due to the CPU overhead, it's not really suitable for fulltime use.

However, it WOULD make a nice screensaver replacement (GL screensavers go wonky on me with beryl) Is there any way to adjust the script for this so when it's run, it serves the same purpose as locking the desktop? I.e. click the icon to run it, cue the pretty water and locking, and upon mouse movement/keyboard input, you get a password entry box, enter password, turn off effect?

#96

Wow! awesome - cheers for the info...

#97

Installed the package, but the command:

xdesktopwaves

doesn't respond at all :confused:

#98

is it compatible with beryl ??

-ron-

#99

have tried xpenguins.. love them, they're so cute. I still have to try the aquatic desktop. Thanks for the tut :D

#100

This is a fairly old program. Does anyone think they can modify the code to make it truly transparent?

Thanks.

#101

Programs like this (and new games) are what make me want to build a new computer and replace this two year old laptop.

Has anyone tried using this on a top-of-the-line PC with all the settings at maximum? :popcorn:

#102

Kevf said: Installed the package, but the command:

xdesktopwaves

doesn't respond at all :confused:

Yeah, I thought that was happening on my computer as well.

Actually, this program has no effect unless the desktop is actually visible. Run the the command, and then minimize all your windows.