Bug#553343: gnome-session: after upgrading, something continuously sends data to gconfd making it occupy 100% of the CPU

Vasilis Vasaitis v.vasaitis at sms.ed.ac.uk
Mon Nov 2 17:45:07 UTC 2009


On Mon, Nov 02, 2009 at 05:31:58PM +0100, Josselin Mouette wrote:
> Le lundi 02 novembre 2009 à 16:00 +0000, Vasilis Vasaitis a écrit : 
> > If I remove compiz from my session then metacity starts and I don't
> > have the 100% CPU issue any more. But now I have a wrong window
> > manager issue.
> > 
> >   I tried setting the WINDOW_MANAGER environment variable to
> > /usr/bin/compiz, as the gnome-wm manpage suggests, but it appears to
> > have no effect whatsoever. 
> 
> Where do you set it? It should work.

  Ok, this is weird. I tried setting WINDOW_MANAGER both through my
.xsession, and through /etc/environment. Both appear to set it
correctly; if I then do 'echo $WINDOW_MANAGER' in a terminal, I get
/usr/bin/compiz as I had set it. In addition, if I execute gnome-wm by
hand from the terminal, it does start compiz as it should. However,
the gnome-wm that's executed by gnome-session does not; it starts
metacity. Does gnome-session perform environment variable scrubbing
perhaps? Is there a way to check the environment of a running process?

> > I also tried setting
> > /desktop/gnome/session/required_components/windowmanager and
> > /apps/gnome-session/rh/window_manager to "compiz" (anything that
> > seemed relevant, basically), again with no effect. Any suggestions?
> 
> The first one should work as well, but only for WMs with a
> correct .desktop file; I don’t know whether compiz.desktop has the
> correct fields.

  Would these be the .desktop files in /usr/share/app-install/desktop/
or in /usr/share/app-install/desktop/? In any case, in both locations
compiz.desktop has, among others, the following lines that seem
relevant:

# name of loadable control center module
X-GNOME-WMSettingsModule=metacity
# autostart phase
X-GNOME-Autostart-Phase=WindowManager
X-GNOME-Provides=windowmanager
# name we put on the WM spec check window
X-GNOME-WMName=compiz
# back compat only
X-GnomeWMSettingsLibrary=compiz

> I’ll consider re-adding compiz to the list of default WMs (before
> metacity, that is) but frankly I’m not sure. GNOME upstreams have
> completely abandoned the idea to do anything correct with compiz, and
> development now focuses on mutter.

  I don't know, as long as there's a way to configure the window
manager that GNOME uses, I'm happy. Ideally it would be a nice GUI
dialog, but I'll take what I can get. The problem is that I can't seem
to be able to make any of this work just now. :^) Any further hints
would be appreciated.

Regards,
Vasilis

-- 
Vasilis Vasaitis
"A man is well or woe as he thinks himself so."








More information about the pkg-gnome-maintainers mailing list