notify-osd launch assumes GDM

Bug #404026 reported by Jonathan Riddell
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
notify-osd (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Binary package hint: notify-osd

The bit of shell in /usr/share/dbus-1/services/org.freedesktop.Notifications.service to decide if notify-osd or notification-daemon should be run bases its decision on the $GDMSESSION variable, which is specific to GDM. I don't use GDM but I still want a full Ubuntu session with Ayatana bling.

KDM sets $DESKTOP_SESSION=gnome which is probably a better cross desktop variable to check.

Revision history for this message
Mirco Müller (macslow) wrote :

I think this needs this "gnome-vanilla" or "gnome-straciatella" thing in order to trigger notify-osd being used instead of notification-daemon. Afaik, pitti wrote this session variation differentiation, he should be the best person to talk to regarding this.

Changed in notify-osd (Ubuntu):
importance: Undecided → Low
Revision history for this message
Victor Vargas (kamus) wrote :

Dear Jonathan,
what version of notify-osd and ubuntu do you use? because I ran "echo $DESKTOP_SESSION" and "echo "GDMSESSION", both returns me 'gnome' (actually I use gnome). I try to reproduce this in Jaunty with notify-osd 0.9.13 and Karmic Alpha 3 with notify-osd 0.9.16.

Changed in notify-osd (Ubuntu):
status: New → Incomplete
Revision history for this message
Victor Vargas (kamus) wrote :

I'm sorry, I made a mistake in last comment, command that I ran was: "echo $GDMSESSION" and "echo $DESKTOP_SESSION"

Revision history for this message
Aurélien Gâteau (agateau) wrote :

@Kamus: To reproduce the bug, you must be running KDM, not GDM.

Revision history for this message
Victor Vargas (kamus) wrote :

@Aurélien, I am upgrading and installing kdm ( I am sorry, I reproduce this only in gdm) in this moment I will back and leave a comment about this problem and by the way what version of ubuntu do you use? is your system up to date?

Regards!

Revision history for this message
Aurélien Gâteau (agateau) wrote :

Attached patch fixes the bug. It checks the value of $DESKTOP_SESSION instead of $GDM_SESSION and also runs notify-osd if $DESKTOP_SESSION is "kde".

Changed in notify-osd (Ubuntu):
status: Incomplete → In Progress
assignee: nobody → Ken VanDine (ken-vandine)
Revision history for this message
Ken VanDine (ken-vandine) wrote :

Is this still a problem?

Revision history for this message
Aurélien Gâteau (agateau) wrote :

Yes it is.

Revision history for this message
Omer Akram (om26er) wrote :

marking triaged to reflect the current status.

Changed in notify-osd (Ubuntu):
status: In Progress → Triaged
Changed in notify-osd (Ubuntu):
assignee: Ken VanDine (ken-vandine) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.