Notify-osd breaks after critical msg

Please post suggestions for improvement of Cinnamon here
https://github.com/linuxmint/Cinnamon

Notify-osd breaks after critical msg

Postby igel_au on Thu Apr 05, 2012 11:46 pm

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

Linux Mint is funded by ads and donations.
 

Re: Notify-osd breaks after critical msg

Postby igel_au on Sun Apr 08, 2012 9:09 pm

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.
igel_au
Level 1
Level 1
 
Posts: 5
Joined: Thu Apr 05, 2012 10:34 pm

Re: Notify-osd breaks after critical msg

Postby Duckeh on Mon Apr 16, 2012 8:44 am

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.
Duckeh
Level 1
Level 1
 
Posts: 4
Joined: Fri Feb 10, 2012 9:32 am

Re: Notify-osd breaks after critical msg

Postby Amitola85 on Sat May 26, 2012 5:22 pm

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.
Amitola85
Level 1
Level 1
 
Posts: 1
Joined: Thu Sep 22, 2011 10:03 pm

Re: Notify-osd breaks after critical msg

Postby swm on Thu May 31, 2012 9:20 pm

Can confirm the no notifications while USB drive plugged in
swm
Level 1
Level 1
 
Posts: 3
Joined: Thu May 10, 2012 8:14 am

Re: Notify-osd breaks after critical msg

Postby rj.adams on Tue Jun 19, 2012 4:37 am

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!
rj.adams
Level 1
Level 1
 
Posts: 23
Joined: Sat Nov 19, 2011 7:45 pm


Return to Cinnamon

Who is online

Users browsing this forum: No registered users and 11 guests