Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to migrate to gnome-session-2.26
View unanswered posts
View posts from last 24 hours

Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message

Joined: 09 Feb 2007
Posts: 4

PostPosted: Wed Jun 10, 2009 8:51 am    Post subject: how to migrate to gnome-session-2.26 Reply with quote


I had some trouble after upgrading gnome-session to 2.26 and I haven't seen the solution mentioned anywhere, so I'll put it here in case anybody else needs it. For what it's worth, I have the policykit and consolekit USE flags turned on.

My environment on my laptop consists of fvwm running under gnome-session. In earlier versions, gnome-session only started what I told it to start in its configuration utility. If I wanted to replace the running window manager in the session, I just had to replace it and save the session. This doesn't work with the new version, which starts nautilus, gnome-panel, and metacity automatically. They don't appear in gnome-session-properties.

Gnome appears to have changed the way applications started at the beginning of a session are handled. ~/.gnome2/session doesn't seem to be looked at anymore; instead, sessions start .desktop files that reside in ~/.config/autostart/. In addition, there are gconf keys that specify the window manager, panel, and file manager gnome-session should know about and start automatically.

I like fvwm-crystal. In order to start it, I had to change the gconf keys in desktop/gnome/session/required_components to reflect what I wanted: no nautilus, no panel, and fvwm-crystal replacing metacity as the window manager. Unfortunately, when I started a gnome session, I didn't get a window manager; this is different than the way it started metacity automatically. To fix it, I logged in at a VT and ran "DISPLAY=:0 fvwm-crystal". Then I could use the gnome-session-properties tool to add fvwm-crystal as a new startup application.

I have what I used to again: gnome-session with fvwm-crystal and no nautilus stealing my desktop clicks.

I hope somebody finds this useful. :)
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