Re: getting rid of gnome

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

 





Andras Simon wrote:
What is the official way to get rid of either gnome, or just its
default WM (metacity?) (I'm not sure where one ends and the other
begins) and replace it (or just the WM) with another, lightweight WM?

Andras


Funny you should ask this as I just went thru the pain today of replacing GDM and GNOME with XDM and fluxbox. I found that (in Fedora 8) I needed to create a /etc/sysconfig/desktop file with the following entries:

DESKTOP="FLUXBOX"
DISPLAYMANAGER="XDM"


Then I needed to modify /etc/X11/xinit/Xclients and make it read this way:


GSESSION="$(which gnome-session 2>/dev/null)"
STARTKDE="$(which startkde 2>/dev/null)"
# New line FLUXBOX
FLUXBOX="$(which startfluxbox 2>/dev/null)"

# check to see if the user has a preferred desktop
PREFERRED=
if [ -f /etc/sysconfig/desktop ]; then
   . /etc/sysconfig/desktop
   if [ "$DESKTOP" = "GNOME" ]; then
       PREFERRED="$GSESSION"
   elif [ "$DESKTOP" = "KDE" ]; then
       PREFERRED="$STARTKDE"
# Following 2 lines are new
   elif [ "$DESKTOP" = "FLUXBOX" ]; then
       PREFERRED="$FLUXBOX"
   fi
fi

Then I also, for my user, created a ~/.xsession file that says:

exec startfluxbox &


You should be able to duplicate this with whatever you need.

Let us know how things go.

Kevin

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux