1

Is it possible to set Razor Qt to use notify-osd instead of its built in notification system?

4
  • I thought notification is freedesktop standard (using dbus...). I renamed /usr/bin/razor-notificationd then killed its running daemon. then launched /usr/lib/x86_64-linux-gnu/notify-osd &. Tested from "Razor Notification Configuration", Clicked "Test Notification" button. It works! Did I miss something? or if you have tested it already, Doesn't it work with all type of notification?
    – user.dz
    May 13, 2014 at 7:35
  • @DKBose the built in system is intrusive and not consistent (sometimes notifications don't show at all, sometimes they don't go away until you click them, sometimes they let clicks pass through. And yes, it is now part of LXQt but that is irrelevant.
    – RolandiXor
    May 15, 2014 at 6:16
  • @Sneetsher I haven't tested that yet. You should have posted an answer btw.
    – RolandiXor
    May 15, 2014 at 6:16
  • @DKBose it isn't relevant because in Ubuntu 14.04 (and possibly 13.10), Razor Qt is in the repositories and thus supported. LXQt hasn't diverged enough anyway to make this question's answer be any different.
    – RolandiXor
    May 16, 2014 at 4:53

1 Answer 1

2

Desktop notification is freedesktop standard (using dbus). See Desktop Notifications Specification. It should be a easy to replace.

The following procedure works for me in Ubuntu 14.04:

  1. Rename razor-notificationd

    sudo mv /usr/bin/razor-notificationd /usr/bin/razor-notificationd.orig
    
  2. Make a symbolic link to notify-osd (to replace razor-notificationd)

    For 64bit edition:

    sudo ln -s /usr/lib/x86_64-linux-gnu/notify-osd /usr/bin/razor-notificationd
    

    For 32bit edition:

    sudo ln -s /usr/lib/i386-linux-gnu/notify-osd /usr/bin/razor-notificationd
    
  3. Kill its running daemon.

    pkill -f razor-notificationd
    
  4. Check using:

    Razor Configuration Center → Razor Notification Configuration → Click "Test Notification" button

Notification using razor-notificationd (Before)

Notification using razor-notificationd

Notification using notify-osd (After)

Notification using notify-osd

2
  • @DKBose, I have updated answer to reflect that, indicating the used Ubuntu version 14.04 and may be better with result screen-shot. Thank you
    – user.dz
    May 16, 2014 at 5:40
  • 1
    I tested it and it works perfectly. One suggestion I have is to update the answer so you provide the paths for both 32 and 64 bit systems. Otherwise, perfect.
    – RolandiXor
    May 27, 2014 at 4:59

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .