Bug 82107 - gnome-theme-manager crashes
Summary: gnome-theme-manager crashes
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: control-center
Version: 1.0
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
Assignee: Jonathan Blandford
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks: 79578
TreeView+ depends on / blocked
 
Reported: 2003-01-17 16:38 UTC by Nathan G. Grennan
Modified: 2013-04-02 04:17 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-01-21 20:34:30 UTC
Embargoed:


Attachments (Terms of Use)

Description Nathan G. Grennan 2003-01-17 16:38:52 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.7 (X11; Linux i686; U;) Gecko/20021216

Description of problem:
If using sawfish as the window manager instead of metacity gnome-theme-manager
crashes on startup. It does this with control-center-2.1.6-2 and
control-center-2.1.3-1 that came with Phoebe. I would expect it to handle lack
of metacity gracefully.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. run killall -9 metacity ; sawfish
2. run gnome-theme-manager

    

Actual Results:  gnome-theme-manager crashes

Expected Results:  gnome-theme-manager to load either grey out the window
manager theme tab, give a warning, or integrate with sawfish as it does with
metacity

Additional info:

Comment 1 Need Real Name 2003-01-19 16:11:44 UTC
You can select what window manager to use from .xsession by using
"export WINDOW_MANAGER=sawfish" (or metacity, or whatever you want).
It puzzled me as well at first when suddenly it seemed I was stuck
with metacity (without decent themes) instead of sawfish, until I
figured out that it's the /usr/bin/gnome-wm script that actually
starts the window manager. When I use the above way of selecting
the window manager and then starting "gnome-session &", the theme
manager works okay (except for some irrelevant warnings about FAM
and a metacity theme).

Comment 2 Nathan G. Grennan 2003-01-19 18:07:20 UTC
I tried as you suggested and it hasn't helped.

I made ~/.Xclients and it has these contents:

#!/bin/bash

WINDOW_MANAGER=sawfish
export WINDOW_MANAGER

/usr/bin/gnome-wm &
exec /usr/bin/gnome-session


gnome-theme-manager still crashes. I think the crash is slightly different with
the newer version of control-center. It used to come up half way and then crash,
now it crashes instantly. It doesn't crash with metacity.

gnome-wm which uses WINDOW_MANAGER is really meant for running Gnome without
session management.

Comment 3 Need Real Name 2003-01-20 08:38:41 UTC
What I meant is that you start gnome-session without starting gnome-wm first. At
least, that works for me. Also, I have those lines in ~/.xsession, not
~/.Xclients. I don't know if that should make a difference.
These are the relevant lines from my ~/.xsession:
#!/bin/zsh
export WINDOW_MANAGER=sawfish
gnome-session &
WM_PID=$!
wait $WM_PID

Comment 4 Nathan G. Grennan 2003-01-20 09:02:57 UTC
I just tried exactly what you suggested and I ended up no window manager. I
think tried gnome-theme-manager after running sawfish, it crashed.

I am running Phoebe beta.

Comment 5 Nathan G. Grennan 2003-01-20 13:53:16 UTC
Just fresh installed phoebe2, now gnome-theme-manager crashes even with metacity.

Comment 6 Need Real Name 2003-01-20 15:32:11 UTC
You need to select the 'Default' session in gdm instead of the 'GNOME' one to
have it run ~/.xsession (or ~/.Xclients; it uses that as fallback when
~/.xsession doesn't exist) from /etx/X11/xdm/Xsession. If you choose the 'GNOME'
session, /etc/X11/xdm/Xsession will run gnome-session itself directly, without
setting $WINDOW_MANAGER.

Comment 7 Nathan G. Grennan 2003-01-20 15:52:06 UTC
Tried what you suggested, got no window manager again.

Comment 8 Jonathan Blandford 2003-01-21 20:34:30 UTC
The theme manager no longer crashes when sawfish is present, but doesn't really
support it.  Moving upstream to gnome.org.


Note You need to log in before you can comment on or make changes to this bug.