← Back to team overview

desktop-packages team mailing list archive

[Bug 885939] Re: notify-osd causes the gnome classic session to fail

 

>From ~/.xsession-errors:
gnome-session[22010]: WARNING: Unable to find default provider 'notify-osd' of required provider 'notifications'

To get more details, start a "Recovery Console" session and type this in the terminal:
source .gnomerc
gnome-session --session=gnome-classic --debug &>gnome-session.log

>From the resulting gnome-session.log:
gnome-session[22946]: DEBUG(+): fill: *** Getting session 'gnome-classic'
[...]
gnome-session[22946]: DEBUG(+): fill: provider 'notifications' looking for component: 'notify-osd'
gnome-session[22946]: DEBUG(+): GsmUtil: Looking for file 'notify-osd.desktop'
gnome-session[22946]: DEBUG(+): GsmUtil: Looking in '/home/johndoe/.config/autostart'
gnome-session[22946]: DEBUG(+): GsmUtil: Looking in '/usr/share/xterm/gnome/autostart'
gnome-session[22946]: DEBUG(+): GsmUtil: Looking in '/usr/local/share/gnome/autostart'
gnome-session[22946]: DEBUG(+): GsmUtil: Looking in '/usr/share/gnome/autostart'
gnome-session[22946]: DEBUG(+): GsmUtil: Looking in '/etc/xdg/xdg-xterm/autostart'
gnome-session[22946]: DEBUG(+): GsmUtil: Looking in '/etc/xdg/autostart'
gnome-session[22946]: DEBUG(+): GsmUtil: Looking in '/home/johndoe/.local/share/applications'
gnome-session[22946]: DEBUG(+): GsmUtil: Looking in '/usr/share/xterm/applications'
gnome-session[22946]: DEBUG(+): GsmUtil: Looking in '/usr/local/share/applications'
gnome-session[22946]: DEBUG(+): GsmUtil: Looking in '/usr/share/applications'
gnome-session[22946]: WARNING: Unable to find default provider 'notify-osd' of required provider 'notifications'
[...]
gnome-session[22946]: DEBUG(+): fill: *** Getting session 'gnome-fallback'

So it seems the file notify-osd.desktop is missing or just incorrectly assumed to exist. apt-file says there is no such file in any package:
apt-file search notify-osd.desktop

Note that gnome-classic.session can be copied to the home directory and edited there instead if you don't have write access to the system file:
cp -ai /usr/share/gnome-session/sessions/gnome-classic.session ~/.config/gnome-session/sessions/

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-session in Ubuntu.
https://bugs.launchpad.net/bugs/885939

Title:
  notify-osd causes the gnome classic session to fail

Status in “gnome-session” package in Ubuntu:
  Confirmed
Status in “notify-osd” package in Ubuntu:
  Invalid

Bug description:
  I have noticed several other users that are having this issue as well
  in  in Ubuntu 11.10.  Most of these users believe they are running the
  gnome classic session and that compiz failed to start.  The fact is
  that notify-osd is causing the gnome-classic session to fail entirely,
  and the gnome-fallback session is loaded instead (which of course does
  not load compiz).  The gnome-classic session works fine after removing
  notify-osd from the RequiredProviders line of the file /usr/share
  /gnome-session/sessions/gnome-classic.session.  It should be noted
  that notify-osd still starts after removing it from the
  RequiredProviders, and seems to still be working.  So most likely it
  is just an error in communication between notify-osd and the gnome
  session (inverted boolean return value perhaps?).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/885939/+subscriptions


References