Notify-osd breaks after critical msg

Please post suggestions for improvement of Cinnamon on:
https://github.com/linuxmint/Cinnamon
Post Reply
igel_au
Level 1
Level 1
Posts: 5
Joined: Thu Apr 05, 2012 10:34 pm

Notify-osd breaks after critical msg

Post by igel_au »

I have a strange bug where after a "critical" message goes through notify-osd, no further messages will ever be displayed. The critical messge appears to be displayed correctly, but it disappears almost immediately.

How to reproduce:

Code: Select all

notify-send "beer" #works
notify-send -u critical "beer" #briefly flashes up
notify-send "Anything else" #will not work
If cinnamon is restarted, notify-send will work again (until the next critical message occurs).

Any ideas?
Mint 12 x64 cinnamon

igel_au
Level 1
Level 1
Posts: 5
Joined: Thu Apr 05, 2012 10:34 pm

Re: Notify-osd breaks after critical msg

Post by igel_au »

I had a thought: is it possible to capture an error stream from libnotify/NotifyOSD? So for example if I were to launch firefox from the terminal, I'd get all the stdout text in that terminal window until I Ctrl-C'd or closed firefox.

Is there some way of doing that for NotifyOSD so I can at least see what's going on there? To my knowledge there's no CLI way to launch the NotifyOSD process, it just magically appears whenever something tries to send a notification.

Duckeh
Level 1
Level 1
Posts: 4
Joined: Fri Feb 10, 2012 9:32 am

Re: Notify-osd breaks after critical msg

Post by Duckeh »

Nobody?
I'm having the same problem with libnotify and it's driving me up the wall.

Also, plugging in a USB flash drive causes notifications to not be shown.
Then, when I eject my flash drive, I get spammed with all the notifications.

Amitola85
Level 1
Level 1
Posts: 1
Joined: Thu Sep 22, 2011 10:03 pm

Re: Notify-osd breaks after critical msg

Post by Amitola85 »

I can confirm these behaviors. 1. A critical message briefly flashes and disappears, all future notifications fail. 2. Notifications suppressed while USB drive connected until USB drive is ejected (then suppressed messages appear in order).

Using Mint 13 Maya, Cinnamon.

swm
Level 1
Level 1
Posts: 4
Joined: Thu May 10, 2012 8:14 am

Re: Notify-osd breaks after critical msg

Post by swm »

Can confirm the no notifications while USB drive plugged in

rj.adams
Level 1
Level 1
Posts: 24
Joined: Sat Nov 19, 2011 7:45 pm

Re: Notify-osd breaks after critical msg

Post by rj.adams »

Hi,

I've proposed a fix for this issue to the Cinnamon team. If you like you can apply it by hand, it's just a one line change.

See https://github.com/linuxmint/Cinnamon/pull/788/files

To apply it, open up a terminal, edit the file with superuser privileges and make the change as shown

Code: Select all

gksudo pluma /usr/share/cinnamon/js/ui/messageTray.js
Cheers!

Post Reply

Return to “Cinnamon”