:: Re: [DNG] How to change default ses…
Top Page
Delete this message
Reply to this message
Author: Steve Litt
Date:  
To: dng
Subject: Re: [DNG] How to change default session
On Tue, 24 May 2016 07:39:00 +0200
Irrwahn <irrwahn@???> wrote:

> On Tue, 24 May 2016 07:05:30 +0200, Emninger wrote:
> > Am Tue, 24 May 2016 00:42:55 +0000
> > schrieb Adam Borowski <kilobyte@???:
> >
> >> update-alternatives --config x-session-manager
> >
> > That's it!! :)
>
> No, it's not. But see below.
>
> > Now, there remains the question:
> >
> > How can i add JWM to the recognized sessions?f 'update-alternatives
> > --config x-session-manager' only sees lxsession, startlxde and
> > openbox but not JWM.
>
> Since JWM does not come with its own session manager, probably
> only by messing with the X session startup scripts in /etc/X11.
> Unless you _really_ know what you are doing, that's an excellent
> way to mess up your system. And even if you succeed will it
> probably break on every other future X update.


Why can't he just hard-code jwm or its session into .xsessionrc ?

I don't boot straight into GUI (I use startx) so my experience is
slightly different, but I just put my desired window manager session
program into my .xinitrc. Here it is for my Openbox Daily Driver
Desktop:

================================================
#!/bin/sh
xrdb -load /home/slitt/.Xdefaults
#exec startlxde
#gconftool-2 --set /apps/nautilus/preferences/show_desktop --type boolean false
exec /usr/bin/openbox-session
================================================

SteveT

Steve Litt
May 2016 featured book: Rapid Learning for the 21st Century
http://www.troubleshooters.com/rl21