Getting libnotify popups to work in Xfce took a while for me to get running. While it workd more or less out of the box on ubuntu with gnome, and on many of the other window managers that I had running, nothing from the official repos could give them to me on xubuntu.
Now, libnotify popups are an important thing for me, if only because of gaim-libnotify. gaim-guifications could have bben an option but when I tried them last time I couldnt really stand them, so I figured I'll google around to make libnotify work. I was able to get the gaim-libnotify package straight from the debuntu repos, and they installed without any effort. But then, they wouldnt work. Some looking around showed me that the notification-daemon, which is built for gnome, isnt supported on Xfce. There is, however, a port of it to Xfce
http://goodies.xfce.org/projects/applications/notification-daemon-xfce
All i had to do was get the sources from there (download links are somewhere to the bottom of the page) and compile the notification-daemon-xfce. ./compile went smoothly enough. While I had to get the development headers for some things that were needed during compile, all of them were pretty easy to find via apt-cache search. For most of them, if the error says you need xyz, the package in the repos was xyx-dev.
After the make and make-install, I had to run the daemon using (I later added that to /etc/rc.local so that I dont have to do it every time)
/usr/local/libexec/notification-daemon-xfce &
And my popups are back. Not as beautiful as the ones in gnome, I concede, but I'm still trying to figure out how to customize that.
EDIT : I realize the comment on the way it looks was very premature. Now that I've gotten used to it, the 'bubble' theme that used to come with notification-daemon on gnome seems ugly ugly.
EDIT : The thing works on fluxbox as well, assuming you also have xfce installed. Just remember to turn the daemon on. Gnome's notification-daemon also would work on fluxbox, provided you have the necessary gnome packages installed. apt-get does NOT handle those dependencies, though.
Water wars are very near
1 week ago












4 comments:
I was googling for he answer to this problem and stubbled upon your blog.
However I've found a far easier method: Just look in Synaptic Package Manager. You'll need to install "notification-demon" and "libnotify" (there's 4 packages, library/bin/python/etc, I installed all of them - but I'm lazy). To test if it works type this in the console
notify-send “Test notification”
if you get a pop-up its working :)
I was googling for the answer to this problem and stubbled upon your blog.
However I've found a far easier method: Just look in Synaptic Package Manager. You'll need to install "notification-demon" and "libnotify" (there's 4 packages, library/bin/python/etc, I installed all of them - but I'm lazy). To test if it works type this in the console
notify-send “Test notification”
if you get a pop-up its working :)
Naveed, I found that method as well. However, that had gnome dependencies (which apt would have installed automatically) which I did not want to have at that point, and I didnt like the popup theme that came with *ubuntu's notification daemon.
Im kinda confused cause after switching to xfce i can do the test notify-send blah and get it to work but in irssi my notifications get this error:
libnotify-Message: Unable to get session bus: Failed to connect to socket /tmp/dbus-y8AQ9GAr9C: Connection refused
Post a Comment