Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I installed xfce4 (sudo apt-get install xfce4) and now in an ordinary Ubuntu (unity) session I'm getting light-colored (what I'm assuming are xfce's) notification bubbles. How do I revert this back to notify-osd?

share|improve this question

2 Answers 2

from http://www.techmansworld.com/2012/07/how-to-restore-unitys-notification.html

So first off, open up a terminal You can do this by accessing the applications menu from XFCE, or in Unity by opening the dash and typing in “terminal”. Once the terminal is open, paste the following line into the terminal and press enter.

gksu gedit /usr/share/dbus-1/services/org.xfce.xfce4-notifyd.Notifications.service

After pressing enter, you should receive a prompt for your password because this is modifying high level parts of your system. Just enter your password and continue. A new gedit (text editor) window should open with that config file.

All you have to do now is replace one line of text in that file. In that file, just replace following line:

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

with

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

Note For 64 bit installations replace:

Exec=/usr/lib/x86_64-linux-gnu/xfce4/notifyd/xfce4-notifyd 

with

Exec=/usr/lib/x86_64-linux-gnu/notify-osd/notify-osd

After that, save the file and log out. Log back in, and you should see Unity's notification system back. Note that after doing this, you will also get GNOME's notification system in XFCE.

If you do change your mind and want XFCE's notification system back, just edit that file again and paste the first line back to where the second line is located.

share|improve this answer

I had the same problem but, in my case (with Ubuntu 14.04 LTS - 32bit) I replaced the line

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

with this one:

Exec=/usr/lib/i386-linux-gnu/notify-osd

because the executable notify-osd was there, instead being in /usr/lib/notify-osd/.

After that, I recovered the volume and brightness OSD notifications!

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.