Ubuntu – Accidentally replaced notify-osd with xfce-notifyd, how to fix it

notify-osd

The day before yesterday, after an update, Gwibber Notifications got screwed a bit (Once I log in, they appear in bulk, for 2 seconds only while before they used appear one by one and each notification lasted 5 seconds).
Anyway, After the same update, Top Panel Notification dialogs changed their background color from Gray (Ambiance default color) to Whitey very light grey.
I can't spot where in Compiz Settings I can tweak this.
I only can set the transparency values for items like Nautilus, Dialogs, Menus…. But no background stuff.).

Someone has a clue ? How can I set the Top Panel notifiations background color back to Default? First I thought it was only Gwibber, but it applies to any app (Firefox, Banshee….Etc).

Thanks in advance.
Screenshot 1

Screenshot 2

Best Answer

I have recently fall into this problem. The other answer didn't help me much. But thanks to the answerer above, I found the package name for that quickly.

I did this to solve my problem:

  1. Opening a terminal and executing this command:

    gksu gedit /usr/share/dbus-1/services/org.xfce.xfce4-notifyd.Notifications.service
    
  2. Then replace the line:

    Exec=/usr/lib/xfce4/notifyd/xfce4-notifyd
    

    with this one:

    Exec=/usr/lib/notify-osd/notify-osd
    

    Or, if on Ubuntu 16.04:

    Exec=/usr/lib/x86_64-linux-gnu/notify-osd
    
  3. Save and exit.

Problem solved.

As an extra benefit, I get the nice notify-osd in XFCE too.