View Full Version : HOWTO: Flashing taskbar in Gnome (use with GAIM)
zafar
June 6th, 2005, 11:50 AM
A long wanted feature in gnome is flashing taskbars, to use with programs such as GAIM for new IM notification and others. The code has been submitted in a gnome bugzilla and was submitted into the gnome cvs so I patched the current version of libwnck to handle the flashing taskbar. Thanks goes to FLeiXiuS for the 64bit version of the patched libwnck.
To get the patched version of libwnck:
For x86: wget http://z.narutochaos.com/ubuntu/libwnck16_2.10.0-0ubuntu1_i386.deb
For x86-64 (AMD64): wget http://mirror.espri.arizona.edu/debian-amd64/debian/pool/main/libw/libwnck/libwnck16_2.10.0-2_amd64.deb
This downloads the patched libwnck.
For x86: sudo dpkg -i libwnck16_2.10.0-0ubuntu1_i386.deb
For x86-64(AMD64): sudo dpkg -i libwnck16_2.10.0-2_amd64.debThis installs the patched version.
sudo echo libwnck16 hold | sudo dpkg --set-selectionsThe command keeps apt-get from overwriting it.
killall gnome-panelThis command closes the gnome panels and they automatically restart.
After this, your taskbar should flash when the window manager is sent the urgent hint.
To get GAIM to use flashing taskbar notification:
Start up GAIM and click Tools and then Preferences. Then click on the "Plugins" preference and check the checkbox beside the Message Notification plugin. After that there should be a Message Notification preference entry under the parent "Plugins". Click on that and it should give a list of options for the Message Notification plugin. Check the box for "set window manager "URGENT" hint and configure the rest of the options to your liking. Now, when you recieve a new message, your taskbar will flash to notify you.
Sionide
June 6th, 2005, 11:56 AM
Great one.. I've always wished for this, resorting till now to all the other methods to alert you of new messages! Thanks.
pdk001
June 6th, 2005, 12:07 PM
Click Tools and then Preferences. Then click on the "Plugins" preference and check the checkbox beside the Message Notification plugin. After that there should be a Message Notification preference entry under the parent "Plugins". Click on that and it should give a list of options for the Message Notification plugin. Check the box for "set window manager "URGENT" hint and configure the rest of the options to your liking. Now, when you recieve a new message, your taskbar will flash to notify you.
where is "Tools"?
zafar
June 6th, 2005, 12:12 PM
where is "Tools"?
It is in the menubar in GAIM. You can also use CTRL + P to get to the preferences.
lizardking
June 6th, 2005, 12:29 PM
Some screen? ;-)
pdk001
June 6th, 2005, 12:36 PM
It is in the menubar in GAIM. You can also use CTRL + P to get to the preferences.
thanks for quick replay
Sionide
June 6th, 2005, 12:49 PM
http://www.sionide.net/gallery/albums/pics/Screenshot.sized.png
See Nicks IM window is slightly darker, it fades in and out as well instead of just flashing like MSN on windows does. Much cooler :D
dabear
June 6th, 2005, 01:10 PM
This is great, but how do I change the color and the rapidity?
bored2k
June 6th, 2005, 01:16 PM
Beautiful. I like the subtle blink. Very nice :D
Sionide
June 6th, 2005, 01:27 PM
Would it work for highlight on xchat or any other progs?
pdk001
June 6th, 2005, 01:27 PM
im just successfully done and waiting to recieve a new one
bored2k
June 6th, 2005, 01:29 PM
Everything should flash, a terminal, a window, everything ;).
Gtaylor
June 6th, 2005, 01:34 PM
One of you KDE guys figure something out for us :)
zafar
June 6th, 2005, 01:42 PM
This is great, but how do I change the color and the rapidity?
For now, I think that is all hardcoded in, so you would have to get the sources and recompile to change it.
mike998
June 6th, 2005, 01:54 PM
This is just what I needed. Thanks for the How-To!
lizardking
June 6th, 2005, 02:16 PM
wonderful
\\:D/
moment
June 6th, 2005, 03:53 PM
man you saved my relationship :D my girlfriend is always complaining about me not paying enough attention to her :D:D
seriously thanks alot. it's very nice.
simianMiscreant
June 6th, 2005, 04:00 PM
you ROCK OUT
Sionide
June 6th, 2005, 05:21 PM
man you saved my relationship :D my girlfriend is always complaining about me not paying enough attention to her :D:D
seriously thanks alot. it's very nice.
Same! ...I still don't pay enough attention though because I'm reading these forums too much ;)
pdk001
June 6th, 2005, 05:47 PM
i've just recieved a message, show me what it does
this is awesome
MemoryDump
June 6th, 2005, 06:02 PM
works great.. thxs for the hack :p
Seth
June 6th, 2005, 06:07 PM
One of you KDE guys figure something out for us :)
I think this patch is in latest Breezy Gnomestuffs.
As for KDE, it's been able to flash taskbar items for a long time.
Michael
June 6th, 2005, 06:40 PM
This trick is pretty nice but I'm not sure I want to keep it, how do I uninstall it?
XDevHald
June 6th, 2005, 06:45 PM
OoOoOoO! I like this little trick, thanks!
zafar
June 6th, 2005, 06:50 PM
This trick is pretty nice but I'm not sure I want to keep it, how do I uninstall it?
To remove it just install the original libwnck which you can find here (http://ftp.cs.umn.edu/pub/ubuntu/pool/main/libw/libwnck/libwnck16_2.10.0-0ubuntu1_i386.deb). Then repeat the gnome panel kill step and the taskbar won't flash.
Also, thanks everyone for the kind words, I've been wanting/trying to get this to work forever and finally got it working. Glad i could help you all out.
lonewolf72
June 9th, 2005, 11:16 AM
Thanks for this. It helps a lot, especially now that I run Linux at work and my boss is using Yahoo to contact me...
i3dmaster
June 9th, 2005, 05:22 PM
Thanks for this. It helps a lot, especially now that I run Linux at work and my boss is using Yahoo to contact me...
Awesome! good stuff
Ride Jib
June 10th, 2005, 10:25 PM
Has anyone else not been able to install new software using synaptic after following this howto?
Edit: Sorry, this seems to be an archive problem tonight.
Nice feature. I love it. Colors are great too, but options are always nice.
DShafik
June 11th, 2005, 03:38 PM
Thank you so much! This has been the most annoying thing about switching to Linux from WInXP!
Now to get my Nautilus integrated SVN wrapper working...
- Davey
Deka
June 11th, 2005, 10:43 PM
Sweet How To! Thanks, I've been missing this ever since my switch from windows.
Orunitia
June 12th, 2005, 09:36 AM
Very nice. The one thing KDE was better at than gnome for me.
Sionide
June 12th, 2005, 10:57 AM
There are other ways you can get Gaim to alert you of messages but this is by far the best way. :)
FLeiXiuS
June 14th, 2005, 08:55 PM
For those of you who are 64bit Hoary All-Stars, :-D, libwnck16-i386 is solemly for the i386 arch.
For AMD 64 users, this link should be more the sufficient. You'll have to of course change the filename in each step which zafar had showed.
http://mirror.espri.arizona.edu/debian-amd64/debian/pool/main/libw/libwnck/libwnck16_2.10.0-2_amd64.deb
Great tip!
zafar
June 15th, 2005, 12:33 AM
Thanks FLeiXiuS. I'll add that to the first post.
thomerz
June 25th, 2005, 10:30 AM
I have one little problem with this patch.
when i get a message in gaim, the taskbar flashes, but it doesn't stop if i open gaim and read the message. it goes on until i write back something. any fix for this?
Pinguvin
June 25th, 2005, 10:50 AM
I have one little problem with this patch.
when i get a message in gaim, the taskbar flashes, but it doesn't stop if i open gaim and read the message. it goes on until i write back something. any fix for this?
go to plug-ins > message notification in gaim's preferences and take a look there ;-)
jaac
June 25th, 2005, 11:15 AM
Great Post :D
RuKK
June 28th, 2005, 04:33 PM
Nice trick guys, and it'll be good to see it integrated into ubuntu (hopefully!), but you do know you can just install Guifications plugin for Gaim? You dont have to recompile or anything either. Works like a charm and I like it better than a flashing window.
mikedfrwal
June 28th, 2005, 10:19 PM
its so kool looking thank you
Nasso
July 11th, 2005, 02:15 AM
sweeeet! big thanks! :D
bye bye to that annoying friccin sound :)
mike998
July 11th, 2005, 09:01 AM
Nice trick guys, and it'll be good to see it integrated into ubuntu (hopefully!), but you do know you can just install Guifications plugin for Gaim? You dont have to recompile or anything either. Works like a charm and I like it better than a flashing window.
I actually use both - If I am away from my laptop and I miss the guification (max notification time 60 seconds) The taskbar is still flashing when I come back (hours later?)
Luggy
July 19th, 2005, 12:16 AM
For x86-64 (AMD64): wget http://mirror.espri.arizona.edu/debian-amd64/debian/pool/main/libw/libwnck/libwnck16_2.10.0-2_amd64.deb
This downloads the patched libwnck.
I'm presently getting a 404 when trying to connect to that URL.
Any chance it moved or someone could host the file again?
bored2k
July 19th, 2005, 12:24 AM
I'm presently getting a 404 when trying to connect to that URL.
Any chance it moved or someone could host the file again?
http://www.ubuntu-de.org/wiki/windowmanager:gnome:blinkende_fensterleisteneintra ege
It's down :/
jcooper
August 3rd, 2005, 08:44 AM
I think this latest patch is rolled into the new Gnome release :D
(it's in Breezy now)
shanghaipi
August 4th, 2005, 06:35 PM
are all these patches going to mess up breezy when it we try to install it over Hoary? Because I think I'm becoming a patch ***** and I'm just worried that I'll forget what patches I've applied...I hope I don't have to revert all of them to install Breezy correctly.
Trojan1313
August 7th, 2005, 07:33 PM
A long wanted feature in gnome is flashing taskbars, to use with programs such as GAIM for new IM notification and others. The code has been submitted in a gnome bugzilla and was submitted into the gnome cvs
What's gnome cvs? Does this mean that these blinking things will be included in gnome from now on, or that it's already in?
Can we expect this out-of-the-box with breezy? Or any other new distro-releases for that matter?
Skel
August 10th, 2005, 06:38 PM
link is down :(
NeTo
August 11th, 2005, 12:39 AM
link is down :(
If someone has webspace to spare, I have built the package with the required patches (i386 only).
If anyone wants to build the package, the libwnck sources are needed, along with the patches at http://bugzilla.gnome.org/show_bug.cgi?id=120439
There are two patches to apply: id=46302 (http://bugzilla.gnome.org/attachment.cgi?id=46302&action=view) and id=47053 (http://bugzilla.gnome.org/attachment.cgi?id=47053&action=view), in that order. What the patches do is explained in the bugzilla page.
You can additionaly edit the debian changelog, so the version number is higher than the one in the Ubuntu repositories. I used 2.10.0-1~neto1 (the ~ should ensure that the package is upgraded if 2.10.1 or higher appears in the repositories in the future).
Three packages are built from libwnck. Of those, libwnck16 is the one to install.
Finally, if you want to tweak the glow (fade?) effect, you can modify the wnck_task_button_glow function in tasklist.c (after patching). The sine function at line 475 is the one to look at. You can easily modify the amplitude and/or the duration of the effect.
Spudgun
August 12th, 2005, 10:44 AM
Can someone host the i386 file for me? Damn address is not resolving :/
traherom
August 12th, 2005, 01:23 PM
If someone has webspace to spare, I have built the package with the required patches (i386 only). Someone volunteer!
Actually, if there are noone soon, I'll host. Just hope my ISP doesn't finally catch on to my server. http://ubuntuforums.org/images/smilies/eusa_whistle.gif PM me if you can't find someone else.
cutOff
August 12th, 2005, 01:57 PM
http://www.ubuntu.lt/render/Articles;aid,24
Hope this helps.
Spudgun
August 12th, 2005, 02:19 PM
Thanks :D And thanks for the offer, traherom!
shanghaipi
August 12th, 2005, 02:28 PM
So will this patch screw up Breezy when its October?
dryandplain
August 13th, 2005, 02:08 AM
I'll gladly host this if someone will email me the file.
dryandplain atsymbol netscape period net
dryandplain
August 14th, 2005, 01:18 AM
Hi! I'm writing in response to the HOWTO: Flashing taskbar in Gnome thread at the Ubuntu forums.
I have attached the deb file I built for the i386 platform, along with the patched sources.
The deb has a different version to the ones posted before in thread. I bumped up the version number so the hold option doesn't need to be used at all. Only dpkg -i needs to be used for the package, and it won't be replaced by the one in the hoary repos (it will be replaced by the breezy one when it comes out).
Thank you for your time and have a nice day!
This link should be remain valid for quite some time:
http://consolevision.com/members/upload/libwnck16_2.10.0-1_neto1_i386.deb
I had to rename the ~ to an underscore in the filename, as my host wouldn't support it.
traherom
August 14th, 2005, 07:02 AM
This link should be remain valid for quite some time:
http://consolevision.com/members/upload/libwnck16_2.10.0-1_neto1_i386.deb
I had to rename the ~ to an underscore in the filename, as my host wouldn't support it.Thanks!
jamesrw
August 22nd, 2005, 12:13 PM
what about a link for the amd64? that is still down. I have webspace, let me know.
Also, has anyone answered wether patches will screw up breezy!?!?
jaac
August 22nd, 2005, 12:14 PM
Also, has anyone answered wether patches will screw up breezy!?!?
I hope so :-|
NeTo
August 22nd, 2005, 03:08 PM
what about a link for the amd64? that is still down. I have webspace, let me know.
Also, has anyone answered wether patches will screw up breezy!?!?
I can send you the patched sources if you want to build them on amd64. The process should be as simple as untaring the sources and run dpkg-buildpackage -b -uc.
The package shouldn't screw up breezy, as I set the version number higher than the one in hoary, but lower than the one in breezy (I simply added a ~ to the version number). That means it'll be replaced whenever you upgrade.
gammyhand
August 22nd, 2005, 03:31 PM
I can send you the patched sources if you want to build them on amd64. The process should be as simple as untaring the sources and run dpkg-buildpackage -b -uc.
The package shouldn't screw up breezy, as I set the version number higher than the one in hoary, but lower than the one in breezy (I simply added a ~ to the version number). That means it'll be replaced whenever you upgrade.
A masterpiece! Thank VERY much. I hated not knowing if I had an IM.
jamesrw
August 22nd, 2005, 03:36 PM
I can send you the patched sources if you want to build them on amd64. The process should be as simple as untaring the sources and run dpkg-buildpackage -b -uc.
The package shouldn't screw up breezy, as I set the version number higher than the one in hoary, but lower than the one in breezy (I simply added a ~ to the version number). That means it'll be replaced whenever you upgrade.
send away, emails in the sig,
jamesrw
August 23rd, 2005, 05:04 PM
thanx for sending the files, but I had some trouble..
james@tux64:~/Desktop/libwnck_2.10.0-1~neto1.tar.gz_FILES/libwnck-2.10.0$ sudo dpkg-buildpackage -b -uc
dpkg-buildpackage: source package is libwnck
dpkg-buildpackage: source version is 2.10.0-1~neto1
dpkg-buildpackage: source maintainer is Ernesto Villarroel <villapancho@email.com>
dpkg-buildpackage: host architecture is amd64
dpkg-checkbuilddeps: Unmet build dependencies: libgtk2.0-dev (>= 2.5.4) libstartup-notification0-dev (>= 0.7-1) cdbs gnome-pkg-tools libxt-dev | xlibs-dev (<< 4.3.0)
dpkg-buildpackage: Build dependencies/conflicts unsatisfied; aborting.
dpkg-buildpackage: (Use -d flag to override.)
I went ahead and used the -d flag...
james@tux64:~/Desktop/libwnck_2.10.0-1~neto1.tar.gz_FILES/libwnck-2.10.0$ sudo dpkg-buildpackage -b -uc -d
dpkg-buildpackage: source package is libwnck
dpkg-buildpackage: source version is 2.10.0-1~neto1
dpkg-buildpackage: source maintainer is Ernesto Villarroel <villapancho@email.com>
dpkg-buildpackage: host architecture is amd64
debian/rules clean
debian/rules:3: /usr/share/cdbs/1/class/autotools.mk: No such file or directory
debian/rules:4: /usr/share/cdbs/1/rules/debhelper.mk: No such file or directory
debian/rules:5: /usr/share/cdbs/1/rules/simple-patchsys.mk: No such file or directory
debian/rules:6: /usr/share/cdbs/1/class/gnome.mk: No such file or directory
debian/rules:7: /usr/share/gnome-pkg-tools/1/rules/uploaders.mk: No such file or directory
make: *** No rule to make target `/usr/share/gnome-pkg-tools/1/rules/uploaders.mk'. Stop.
I leave something out??
NeTo
August 23rd, 2005, 11:50 PM
AFAIK, you should use -d flag if you want to force the package to build against an older version of the required libraries.
Your case is different though, as you don't have any version installed of those libraries.
To install them you just need to run:sudo apt-get install build-essential
sudo apt-get build-dep libwnckOmit the build-essential line if you already have that package installed.
After the packages are downloaded and installed you can run dpkg-buildpackage. Sorry I forgot to tell you about that :(
gorkhal
August 24th, 2005, 12:47 AM
this is so much cooler than windows...an excellent howto zafar...
i stopped talking to ppl on gaim now...just stare at the blinky taskbar...stare...stare...cant stop staring...stare... :)
npu
August 24th, 2005, 10:35 AM
great stuff! finally.
thanks!
hope x-chat will implement urgent soon.
jamesrw
August 24th, 2005, 11:17 AM
great stuff! finally.
thanks!
hope x-chat will implement urgent soon.
oh but there is, it was a little buggy for me but worked:
http://blight.altervista.org/index.php?act=Systray
arunsub
August 26th, 2005, 05:43 PM
I have AMD64, but I'm using 32-bit Ubuntu. If i want to do this, should I use x86 or x86-64?
majikstreet
August 26th, 2005, 06:03 PM
You rule.
Thank you so much.
I must read these forums like mad again.
I hate it when people im me and I don't know!!! Now I will.
Thanks.
majikstreet
dabear
August 26th, 2005, 06:53 PM
I have AMD64, but I'm using 32-bit Ubuntu. If i want to do this, should I use x86 or x86-64?
You should use x86
Trojan1313
August 27th, 2005, 01:29 PM
I have AMD64, but I'm using 32-bit Ubuntu. If i want to do this, should I use x86 or x86-64?
...why? :) Recently upgraded PC?
EnderTheThird
September 1st, 2005, 12:15 AM
Anyone know if there's a way to do this while running the i686 kernel?
LaSSarD
September 15th, 2005, 07:01 PM
Hey guys, I was using hoary and this patch was awesome, working perfect... I recently upgraded to Breezy using apt-get dist-upgrade and now the list of windows do not appear anymore... :(
I search for a breezy version of libwnck16 in packages.ubuntu.com, but it doesn't seem to exist =/
Any ideas?
Thanks :)
pgmario
September 17th, 2005, 11:03 AM
Hey guys, I was using hoary and this patch was awesome, working perfect... I recently upgraded to Breezy using apt-get dist-upgrade and now the list of windows do not appear anymore... :(
I search for a breezy version of libwnck16 in packages.ubuntu.com, but it doesn't seem to exist =/
Any ideas?
Thanks :)
If you did this after installing the patch in Hoary:
sudo echo libwnck16 hold | sudo dpkg --set-selections the package has not been updated.
Try
sudo echo libwnck16 install | sudo dpkg --set-selections
sudo apt-get update
sudo apt-get upgrade libwnck16
killall gnome-panel
LaSSarD
September 17th, 2005, 12:20 PM
Thank you very much, pgmario! It might work, but I solved it by doing the following:
sudo apt-get install --reinstall libwnck-common
wget http://ftp.cs.umn.edu/pub/ubuntu/pool/main/libw/libwnck/libwnck16_2.10.0-0ubuntu1_i386.deb
sudo dpkg -i libwnck16_2.10.0-0ubuntu1_i386.deb
EnderTheThird, I'm using kernel 686 and I've got no problems with it (except when I've upgraded to breezy, but this is no kernel related) ;)
majikstreet
September 17th, 2005, 12:40 PM
By the way, I believe that in breezy, it does this automatically... It's much nicer here in breezy :)
LaSSarD
September 17th, 2005, 12:44 PM
By the way, I believe that in breezy, it does this automatically... It's much nicer here in breezy :)
Yes, on Breezy it works exactly the same way that the modified version on Hoary does ^^
pgmario
September 17th, 2005, 12:45 PM
By the way, I believe that in breezy, it does this automatically... It's much nicer here in breezy :)
Yes, I think it's in Gnome 2.12 by default.
psylvester
September 29th, 2005, 07:02 AM
Start up GAIM and click Tools and then Preferences. Then click on the "Plugins" preference and check the checkbox beside the Message Notification plugin. After that there should be a Message Notification preference entry under the parent "Plugins". Click on that and it should give a list of options for the Message Notification plugin. Check the box for "set window manager "URGENT" hint and configure the rest of the options to your liking. Now, when you recieve a new message, your taskbar will flash to notify you.
its Doesnt Work for me. Can u help me????:rolleyes:
Superdarion
January 21st, 2007, 09:26 PM
Anyone knows how to set the notifications to urgent on aMSN?
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.