‘ Info ’ Category

Gentoo running notify-osd

View Comments // Written on Jul 30, 2009 // Info

notify osd gentoo Gentoo running notify osdI really liked the new Ubuntu notification system so I decided to install it on Gentoo too.

At first I found this overlay but it’s not updated and fails to download packages. Then I decided to compile it myself and found the process terribly easy… Here’re my steps

Download

Notify-osd is hosted on launchpad , and got lots of releases. I found that latest ones failed to compile on my environment so I chose the 0.9.12.

cd /opt/
sudo wget http://launchpad.net/notify-osd/0.9/0.9.12/+download/notify-osd-0.9.12.tar.gz
sudo tar xvf notify-osd-0.9.12.tar.gz
sudo rm -f notify-osd-0.9.12.tar.gz
sudo mv notify-osd-0.9.12/ notify-osd/
sudo chown -R ${USER}:${USER} notify-osd/
cd  notify-osd/

Installation

I preferred not installing on common folders but keeping everything under /opt instead. So no make install this time.

./configure
make

Quick Test

To check everything went fine let’s try killing the common daemon and use the new one instead.

killall notification-daemon 
/opt/notify-osd/src/notify-osd

I got a bunch of glib warning but I didn’t care so much. Now let’s try a notification (you might need to emerge x11-libs/libnotify if you don’t have it):

notify-send 'hello gentoo'

There it is! A cool black bubble on the top-right of the screen…

hellogentoo Gentoo running notify osd

System start

Obviously as I wanted to install it I don’t want to start it manually so let’s do something to make everything automatic on gnome start. This blog was my source for this step.

First of all let’s create the script needed to kill the notification daemon and start the new one.

touch /opt/notify-osd/startup.sh
chmod +x /opt/notify-osd/startup.sh
$EDITOR /opt/notify-osd/startup.sh

Paste these lines inside the file

#!/bin/bash
killall notification-daemon
sleep 1
/opt/notify-osd/src/notify-osd

Now let’s create the startup script. On Gnome they live under .config/autostart/ on every user’s home. So…

$EDITOR ~/.config/autostart/notify-osd.desktop

And paste following code

[Desktop Entry]
Type=Application
Name=notify-osd
Exec=/opt/notify-osd/startup.sh
Icon=system-run
Comment=
X-GNOME-Autostart-enabled=true

Ok I’m done! Next X reboot we got our brand new notification daemon up&running

Finishes

I had some bad visual effects with Evolution and mail-notification panel applet, opening gtk dialogs instead of using the notificaitons.

I disabled Evolution messages (kept the icon) just setting it from Edit -> plugins -> Notifications. Disabled everything but show icon.

Mail notification can use the new notifications but has to be set up from gconf-editor. Navigate in apps -> mail notification -> popups -> double click on actions and delete all.

Related services

View Comments // Written on Feb 09, 2009 // Info

Recently I added some extra services to my web space, with the purpose to improve some aspects of developing/publishing/spreading applications, which in my opinion are difficult to be handled by a blog.

For this reasons I opened a tiny wiki, based on doku wiki, in which I will gather all guides / codes that needs a clean syntax and some wide space. This blog’s graphic is not so relaxing for code reading…

Also I started managing an svn repo. Right now there’s just Afisufi Theme code, but I manage to move there all my previous works to have just one place where to find everything.

Connected to the svn repo, I installed websvn, a very nice web interface to browse, view and download svn repositories. You can find it on dev.andreaolivato.net.

I really hope this will help people to browse my code and get what they need.

Growing fast!

View Comments // Written on Oct 15, 2008 // Info, Net, Open Source

Yes that’s what I mean by : ‘LinuxFeed is growing fast

Linux Feed is Growing

Future Whish List :

  • English Version
  • Offering a blogging host ( WordPress Based )
  • Owning an in-server built OpenId service