Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Replacing Metacity with Sawfish in Gnome 2.2
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Khan
Tux's lil' helper
Tux's lil' helper


Joined: 19 Feb 2003
Posts: 96

PostPosted: Thu Feb 20, 2003 3:31 am    Post subject: Replacing Metacity with Sawfish in Gnome 2.2 Reply with quote

Ok, I've read a number of posts here prior to this and none have worked so here goes. From a clean emerge of Gnome 2.2, I unmerged Metacity and emerged Sawfish. Prior to that, I had set my WM in the GConf editor to Sawfish. When I log in, it seems like there isn't a WM running. I would like it if anyone can give me a step-by-step of getting Sawfish to work in Gnome 2.2 Or better yet, if someone knows of a utility that replaces the needed values automagically. Thanks.
Back to top
View user's profile Send private message
spendabuck
Apprentice
Apprentice


Joined: 28 Apr 2002
Posts: 256

PostPosted: Thu Feb 20, 2003 4:43 am    Post subject: Reply with quote

I'm using sawfish and I didn't have to unmerge metacity for it to work. all I did was emerged sawfish and the sawfish themes (not that it matters) then I type in the terminal "gnomecc &" selected "window manager" select "sawfish" and clicke "try" button at the bottom, and that should switch your WM. Then I went into GConf and replaced metacity with sawfish.

hope that helped.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Thu Feb 20, 2003 5:05 am    Post subject: Reply with quote

Metacity -> Sawfish howto? doesn't help? Not even where it links to the "official" answer at Gnome?
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Khan
Tux's lil' helper
Tux's lil' helper


Joined: 19 Feb 2003
Posts: 96

PostPosted: Thu Feb 20, 2003 5:21 am    Post subject: Reply with quote

If I do the gnomecc way, and pick Sawfish, it tries to load then croaks and reverts back to Metacity. If I try the killall -9 method, I am left without a WM and I have to start Metacity back up. It's very, very strange. This is a clean build of Gnome. No LiveCD stuff. Any other thoughts? :?:
Back to top
View user's profile Send private message
cevans
n00b
n00b


Joined: 06 Jan 2003
Posts: 1

PostPosted: Thu Feb 20, 2003 6:02 am    Post subject: gconf-editor. Reply with quote

Try using gconf-editor. The setting is somewhere in /gnome/
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Thu Feb 20, 2003 6:40 am    Post subject: Reply with quote

What about
Code:
killall -9 metacity; sleep 5; sawfish &
Then, save the session?
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Khan
Tux's lil' helper
Tux's lil' helper


Joined: 19 Feb 2003
Posts: 96

PostPosted: Thu Feb 20, 2003 11:34 am    Post subject: Reply with quote

kanuslupus wrote:
What about
Code:
killall -9 metacity; sleep 5; sawfish &
Then, save the session?


I tried this also and the results were Gnome without any WM at all. That's when I had to restart Metacity. Are there any specific USE codes I should be compiling with for Sawfish? Maybe I overlooked one.
Back to top
View user's profile Send private message
Swishy
Guru
Guru


Joined: 06 Jun 2002
Posts: 491
Location: NZ

PostPosted: Thu Feb 20, 2003 11:39 am    Post subject: Reply with quote

Does Sawfish run happy as a WM without gnome running ...maybe the sawfish install is broken ...?

Cheers
Dale.
_________________
Theres no substitute for C.I.
Back to top
View user's profile Send private message
Khan
Tux's lil' helper
Tux's lil' helper


Joined: 19 Feb 2003
Posts: 96

PostPosted: Thu Feb 20, 2003 3:13 pm    Post subject: Reply with quote

Swishy wrote:
Does Sawfish run happy as a WM without gnome running ...maybe the sawfish install is broken ...?


Hmm....not sure exactly how to do that. Can you give me and example of how to start Sawfish without Gnome? Thanks.
Back to top
View user's profile Send private message
Swishy
Guru
Guru


Joined: 06 Jun 2002
Posts: 491
Location: NZ

PostPosted: Thu Feb 20, 2003 4:19 pm    Post subject: Reply with quote

add the executable to your home .xinitrc file assuming your using gdm youll have to remove xdm from the default runlevel ...

# rc-update del xdm default

add

exec sawfish (im assuming ive never used it to be honest)

to the .xinitrc file in your home user dir ....

reboot and once it comes back up just type

#startx ...and sawfish should be running ...

Cheers
Dale.
_________________
Theres no substitute for C.I.
Back to top
View user's profile Send private message
Swishy
Guru
Guru


Joined: 06 Jun 2002
Posts: 491
Location: NZ

PostPosted: Thu Feb 20, 2003 4:39 pm    Post subject: Reply with quote

just emerged it to confirm ....the above should be a happening thing :)

Cheers
Dale
_________________
Theres no substitute for C.I.
Back to top
View user's profile Send private message
Khan
Tux's lil' helper
Tux's lil' helper


Joined: 19 Feb 2003
Posts: 96

PostPosted: Fri Feb 21, 2003 11:57 am    Post subject: Reply with quote

Swishy wrote:
just emerged it to confirm ....the above should be a happening thing :)

Cheers
Dale


Dale, thank you for all your help but Sawfish still refuses to start up. No dbout, there is something that it's not liking. As it stands, I am about 1 step away from ditching Gnome altogether since they have made the magnanimous decision that I want to only run Metacity in Gnome. Making it this difficult to switch out WM is a total waste and goes against the principles of individual useabillity. Basically, screw them. Thanks again to all for trying to help me.

-alex
Back to top
View user's profile Send private message
maKKus
Guru
Guru


Joined: 07 Aug 2002
Posts: 356
Location: /Universe/Milky Way/Sol/Earth/Europe/EEC/The Netherlands/Limburg/Beek/Neerbeek

PostPosted: Fri Feb 21, 2003 12:15 pm    Post subject: Reply with quote

Sorry you feel that way, but I've to correct you on some things. If

killall -9 metacity; sleep 5; sawfish &

Doesn't give you sawfish as windowmanager then there is something wrong with your sawfish install. Gnome has nothing do to with it!

If it does give you sawfish as windowmanager then a logout and a check on 'save current session' should bring sawfish back the next time as windowmanager.

The last step is Gnome's doing. But as far as I can see you're failing on the first step. gnomecc by the way has nothing to do with gnome 2.x as it is the gnome 1.x configuration centre, which you're not running.
Back to top
View user's profile Send private message
TenPin
Guru
Guru


Joined: 26 Aug 2002
Posts: 500
Location: Kansas City

PostPosted: Fri Feb 21, 2003 5:00 pm    Post subject: Reply with quote

Run gnome-session-properties and remove MetaCity then add Sawfish as style restart.

You could also put export WINDOW_MANAGER=/usr/bin/sawfish in your ~/.bash_profile.
Back to top
View user's profile Send private message
Khan
Tux's lil' helper
Tux's lil' helper


Joined: 19 Feb 2003
Posts: 96

PostPosted: Sat Feb 22, 2003 4:32 am    Post subject: Reply with quote

maKKus wrote:
Sorry you feel that way, but I've to correct you on some things. If

killall -9 metacity; sleep 5; sawfish &

Doesn't give you sawfish as windowmanager then there is something wrong with your sawfish install. Gnome has nothing do to with it!


maKKus,
Perhaps you should try reading my post before replying. I clearly stated that it looks like I am having problems with Sawfish the Window Manager under my current build of Gentoo. My gripe with the Gnome programmers is their choice of BRAIN DEAD window managers that they have forced upon us, the users that have supported them in the past when more than enough people were stating "Gnome sucks compared to KDE". I have been using Gnome since v1.0 and have preferred it over KDE everytime. The gnomecc was an attempt by me to try and correct what I see as a group of developers ego's running amok and dictating to me, as an end user, what I should be running for a WM. If I wanted to take that kind of asshole thinking from a programmer, I would still be running windoze. I'll try this again once Gentoo 1.4 final is released. Right now, KDE 3.1 is owning anything that the Gnome n00bs could ever hope to become. Nuff said.
Back to top
View user's profile Send private message
Khan
Tux's lil' helper
Tux's lil' helper


Joined: 19 Feb 2003
Posts: 96

PostPosted: Sat Feb 22, 2003 4:35 am    Post subject: Reply with quote

TenPin wrote:
Run gnome-session-properties and remove MetaCity then add Sawfish as style restart.

You could also put export WINDOW_MANAGER=/usr/bin/sawfish in your ~/.bash_profile.


TenPin,
Thank you very much for the suggestion but it's looking like it's definetly something with my install of Sawfish. Perhaps I'll try again another time when I have the opportunity of compiling Gnome from scratch again. Thanks for all your help.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Sat Feb 22, 2003 4:44 am    Post subject: Reply with quote

If you're still interested, you can try and capture some errors. With sawfish still setup to run in your .xinitrc (as mentioned earlier), run startx by doing:
Code:
startx 2>&1 > ~/startxerr.log
Anything interesting there?
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
TenPin
Guru
Guru


Joined: 26 Aug 2002
Posts: 500
Location: Kansas City

PostPosted: Sat Feb 22, 2003 7:23 am    Post subject: Reply with quote

All I did to change was to:

emerge -C metacity
emerge /usr/portage/x11-wm/sawfish/sawfish-1.2.ebuild

Then add the line to my .bash_profile as I said.

I'm not sure it worked 1st time but I think I just ran sawfish manually the 1st time then added it to the session as I said. This is with Gnome 2.0.3. Sorry I should have said all this last time. If that doesnt work then something odd is going on :)
Back to top
View user's profile Send private message
maKKus
Guru
Guru


Joined: 07 Aug 2002
Posts: 356
Location: /Universe/Milky Way/Sol/Earth/Europe/EEC/The Netherlands/Limburg/Beek/Neerbeek

PostPosted: Sat Feb 22, 2003 7:42 am    Post subject: Reply with quote

I did read your posts correct. You reply shows that clearly. Success with your DE of choise
Back to top
View user's profile Send private message
mallchin
l33t
l33t


Joined: 21 Jan 2003
Posts: 655
Location: United Kingdom

PostPosted: Sun Feb 23, 2003 6:33 pm    Post subject: Reply with quote

maKKus wrote:


If 'killall -9 metacity; sleep 5; sawfish &' doesn't give you sawfish as windowmanager then there is something wrong with your sawfish install. Gnome has nothing do to with it!


Hmmm, on my box sleep 5 gave metacity enough time to respawn (usually after a few seconds) so this might not work.

I usually do this:

Code:
killall metacity; sawfish &


Works for me. Note - Gnome 2.0 used to remember the last WM in use, Gnome 2.2 doesn't. Logging out & in will spwan metacity again :(

I tried
Code:
export WINDOW_MANAGER="/usr/bin/sawfish"

too but it still loads metacity?
_________________
6700 @ 2.66GHz, 4Gb RAM, 2 x 500Gb, 8800 GTX, PhysX, X-Fi, 24" Widescreen, Tux mascot
Back to top
View user's profile Send private message
mallchin
l33t
l33t


Joined: 21 Jan 2003
Posts: 655
Location: United Kingdom

PostPosted: Sun Feb 23, 2003 6:36 pm    Post subject: Reply with quote

maKKus wrote:
gnomecc by the way has nothing to do with gnome 2.x as it is the gnome 1.x configuration centre, which you're not running.


gnomecc still has some functionality under Gnome 2.2, particulary for pilot conduits etc.
_________________
6700 @ 2.66GHz, 4Gb RAM, 2 x 500Gb, 8800 GTX, PhysX, X-Fi, 24" Widescreen, Tux mascot
Back to top
View user's profile Send private message
frippz
Guru
Guru


Joined: 22 Aug 2002
Posts: 460
Location: Sweden

PostPosted: Sun Mar 09, 2003 2:45 pm    Post subject: Reply with quote

I just noticed that if you want to keep setting up themes with Gnome 2.2, you've got keep metacity. I'm sure somewhere there's a setting for this, I just haven't found it! :wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum