notify-osd starts automatically in gnome session and prevents gnome-shell from owning notifications dbus service
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
notify-osd (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
When I log into Ubuntu 11.10's gnome-shell session, notify-osd is started first when I attempt to run a program that calls notifications. I have to manually kill notify-osd and restart gnome-shell, every time I log in. I mentioned this problem in LP #830467 but that bug is technically not the same issue, and that bug received no traffic or attempts to fix the bug in the last four months.
Expected behavior:
-Log into Gnome, open quodlibet, see gnome-shell notification on the bottom of the screen
Actual behavior:
-Log into gnome, open quodlibet, see notify-osd notification in upper right corner and notify-osd appears in the process list
Since removing notify-osd from Ubuntu is not possible, configuring the code that is run when notify-osd is started, presumably when there is a call made on dbus for notifications, such that if gnome-shell is running it is always favored over notify-osd. In the meantime it seems the only workaround for gnome-shell users is to remove notify-osd.
description: | updated |
thank you for your bug report, what login manager do you use? could you echo $GDMSESSION?
the dbus service uses: notification- daemon/ notification- daemon ] || [ "$GDMSESSION" = guest-restricted ] || [ "$GDMSESSION" = gnome-classic- guest-restricte d ] [ "$GDMSESSION" = default -a "$(basename `readlink /etc/alternativ es/x-session- manager` )" = gnome-session ] || [ "$GDMSESSION" = ubuntu ] || [ "$GDMSESSION" = ubuntu-2d ]; then exec /usr/lib/ notify- osd/notify- osd; else exec /usr/lib/ notification- daemon/ notification- daemon; fi'"
"Exec=/bin/sh -c 'if [ ! -x /usr/lib/
so it should start only in ubuntu (unity) sessions