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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux