Linux - DistributionsThis forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
With a little more digging... I found the xinitrc.config which is located in the /etc/skel/.xinitrc or $user/home/xinitrc.
Note the call to /usr/X11R6/bin/wmlist... wmlist looks like a routine that detects the windows managers that are installed.
So how could you add fluxbox to this? I have it installed but it wasn't detected as an available winman.
# Sample .xinitrc for SuSE Linux
# This script is called from 'startx' when you start an X session
# In case everything goes wrong, we at least fall back to a plain xterm
failsafe="xterm -ls -T Failsave -geometry 80x24-0-0"
trap "exec $failsafe" EXIT SIGHUP SIGINT SIGPIPE SIGTERM SIGIO
# Some bash (1 and 2) settings to avoid trouble on a
# failed program call.
test -n "$BASH" && set +o posix
type shopt > /dev/null 2>&1 && shopt -s execfail
set +e > /dev/null 2>&1
# This should be the default
# choose a window manager
if test -n "$WINDOWMANAGER" ; then
WINDOWMANAGER=`type -p $WINDOWMANAGER`
if test -z "$WINDOWMANAGER" ; then
if test -x /usr/X11R6/bin/kde ; then
elif test -x /usr/X11R6/bin/startkde ; then
elif test -x /usr/X11R6/bin/fvwm2 ; then
elif test -x /usr/X11R6/bin/wmlist ; then
for i in `/usr/X11R6/bin/wmlist` ; do
WINDOWMANAGER=`type -p $i`
test -n "$WINDOWMANAGER" && break
elif test -x /usr/X11R6/bin/twm ; then
if test -z "$WINDOWMANAGER" ; then
echo "Error: Unable to find a window manager. Please make sure you installed one!"
xmessage -timeout 10 -default okay -center -file - <<-EOF
Error: Unable to find a window manager. Please make sure you installed one!
# Load system and users resources if not already done
# (XSESSION_IS_UP set by xdm in $XLIBDIR/xdm/Xsession)
if test "$XSESSION_IS_UP" != "yes" ; then
test -r $XLIBDIR/Xmodmap && xmodmap $XLIBDIR/Xmodmap
test -r $HOME/.Xmodmap && xmodmap $HOME/.Xmodmap
test -r $XLIBDIR/Xresources && xrdb -load -retain $XLIBDIR/Xresources
test -r $HOME/.Xdefaults && xrdb -I$HOME -merge $HOME/.Xdefaults
test -r $HOME/.Xresources && xrdb -I$HOME -merge $HOME/.Xresources
# Start the XIM server
test -r $HOME/.xim && source $HOME/.xim
# Add your own lines here...
# day planer deamon
# pland &
# finally start the window manager
# call failsafe
Here is the wmlist...
# SuSE wmlist 2001, last updated Jul 18
# check for installed window managers