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 was looking for a way to get gnome style notifications in Unity. Or at least, if there´s a way of making the default Unity notifications interactive and clickable? As it is by default only a notification pops up and the user needs to find the relevant window, which I find very counterproductive.

share|improve this question
    
This is very nearly a duplicate of this question. Also this one which points to this Webupd8 post. Have you tried any of these? If you did, what didn't work? –  Tom Brossman Feb 8 '12 at 18:18
1  
"this one" mentioned relates to changing display duration, not making them "interactive and clickable". The Webupd8 solution requires adding a PPA, while a simpler solution exists, see below –  Stéphane Gourichon Jan 11 '13 at 11:54

2 Answers 2

up vote 6 down vote accepted
+50

Sorry, this is not possible.

Ubuntu's notification system, NotifyOSD, as used by Unity, is designed to be un-clickable, in order to simplify the experience and not confuse users. There is no way to change that.

Gnome Shell, on the other hand, uses another built-in notification system that behaves differently to NotifyOSD, as explained in this LXNews article

share|improve this answer
    
Link to "gnome-shell-notifications-explained" is broken. I was really interested to follow it. Can we fix it? Thanks! –  Pablo Nov 6 '12 at 14:58
    
I'm sorry, I couldn't find the article online anymore –  Gabriel Mazetto Nov 12 '12 at 11:24
1  
It's mirrored on Internet Archive –  Cas Nov 21 '13 at 16:26

You can have clickable notification with Unity (tested with 12.10).

What we want

Notification are supposed to non-obstrusive, non-disrupting of your train of thought, and provide a shortcut when relevant.

Problem in Unity (, at least)

Default notification engine is notify-osd.

  • notifications are not clickable (which hurts efficiency for those that offer to quickly bring you to the place of interest).
  • when several happen quickly, they queue and appear only one after the other : no way to see them quickly, you just have to ... wait.

Solution

Current XFCE notifications on the other hand implement just that, and they can be used with Unity. I just tested it with a separate account (default config) to rule out any user-specific settings.

Howto

Here's how install and use XFCE4's notifications instead of Unity's:

sudo apt-get install xfce4-notifyd ; sudo apt-get purge notify-osd

To get immediate effect this may help (else logout/login):

killall -v notify-osd
/usr/lib/*/xfce4/notifyd/xfce4-notifyd &

You might want to test and adjust appearance:

xfce4-notifyd-config

Feedback welcome (Did it work for you ? Then Vote or comment).

share|improve this answer
    
+1 This looks interesting. I'm afraid to try it just now as I'm on 12.04 and in the middle of another project. Thanks for posting it though! I'd really like to switch to this soon. –  Tom Brossman Jan 11 '13 at 12:17
    
@tom-brossman Thanks for your feedback. I changed the order of the apt-get : first install new daemon, then remove other, to ensure dependencies are met at all times. –  Stéphane Gourichon Jan 14 '13 at 9:04
    
@StéphaneGourichon is there any way, that when you click on notification, it would open/focus that program where notification came from? –  Ville Rouhiainen Feb 4 at 12:40
2  
@Ville Rouhiainen From what I understand, it's the sending application's job to ask for a specific "action" doing this (and hope the notifyd supports it, which is not always). It may be possible to modify xfce4-notifyd (or other implementations) to offer such an action for all applications. Reference people.gnome.org/~mccann/docs/notification-spec/… . Suggestion : open a wish on bugzilla.xfce.org/buglist.cgi?product=Xfce4-notifyd –  Stéphane Gourichon Feb 4 at 18:10

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.