Session Management HowTo

Biju Chacko botsie at myrealbox.com
Fri Jan 31 06:24:23 CET 2003


This didn't seem to reach the list so I am resending.

-- b

On Wed, 2003-01-29 at 16:13, Biju Chacko wrote:
> Hello:
> 
> I have managed to get session management working using gnome session.
> Seems to be working OK, but I think it needs further testing.
> 
> Here's how to go about it.
> 
> 1. First, add the following lines in your
> /usr/share/gnome/default.session or ~/.gnome2/session. I recommend that
> you modify the former rather than the latter.
> 
> [xfce4]
> num_clients=5
> 0,id=xfce0
> 0,Priority=30
> 0,RestartCommand=xfce-mcs-manager --sm-client-id xfce0
> 1,id=xfce1
> 1,Priority=40
> 1,RestartCommand=xfwm4 --daemon --sm-client-id xfce1
> 2,id=xfce2
> 2,Priority=50
> 2,RestartCommand=xfdesktop --sm-client-id xfce2
> 3,id=xfce3
> 3,Priority=60
> 3,RestartCommand=xfce4-panel --sm-client-id xfce3
> 4,id=xfce4
> 4,Priority=20
> 4,RestartCommand=gnome-smproxy --sm-client-id xfce4
> 
> 2. Put the following line (may wrap) in your .xinitrc. Don't start any
> other applications before this.
> 
> #!/bin/bash
> exec gnome-session --choose-session=xfce4 --purge-delay=2000 --warn-delay=2000 --suicide-delay=2000
> 
> Voila -- you have session management.
> 
> Jasper, you may want to add this to the resource page since many ppl
> have mentioned it.
> 
> -- b
> 
> -- 
> -----------------------------------------------------------------------
> Biju 'botsie' Chacko                        biju_chacko at vsnl dot net
> http://www.symonds.net/~botsie          Public Key available on request
> -----------------------------------------------------------------------
-- 
-----------------------------------------------------------------------
Biju 'botsie' Chacko                        biju_chacko at vsnl dot net
http://www.symonds.net/~botsie          Public Key available on request
-----------------------------------------------------------------------
-- 
-----------------------------------------------------------------------
Biju 'botsie' Chacko                        biju_chacko at vsnl dot net
http://www.symonds.net/~botsie          Public Key available on request
-----------------------------------------------------------------------



More information about the Xfce4-dev mailing list