Click to See Complete Forum and Search --> : fluxbox...


msmdrunk
02-17-2003, 12:19 AM
ok, no problem installing at all....i tried to get it to be selectable thru the gdm, i put a script in the Xsessions folder but it still didnt show up(im sure there is some other file i have to edit to make it work). anyways i went to run level 3, then into xinit, then typed fluxbox and it came up. However in the terminal it said this...

"[root@localhost root]# fluxbox
Failed to read: session.tabs
Setting default value
Failed to read: session.slitlistFile
Setting default value
Failed to read: session.groupFile
Setting default value
Failed to load groupfile:
BScreen::BScreen: managing screen 0 using visual 0x23, depth 16
Failed to read: session.screen0.imageDither
Setting default value
Failed to read: session.screen0.maxOverSlit
Setting default value
Failed to read: session.screen0.sloppywindowgrouping
Setting default value
Failed to read: session.screen0.workspacewarping
Setting default value
Failed to read: session.screen0.desktopwheeling
Setting default value
Failed to read: session.screen0.antialias
Setting default value
Failed to read: session.screen0.rootCommand
Setting default value
Failed to read: session.screen0.toolbar.onhead
Setting default value"

and this was after i changed the style(although the style still changed even tho i got an error

"BScreen::parseMenuFile: [stylesdir/stylesmenu] error, '/root/.fluxbox/styles' do
es not exist
BScreen::parseMenuFile: [stylesdir/stylesmenu] error, '/root/.fluxbox/styles' do
es not exist"

Im running RH 8.0..... so why am i getting these errors? Sorry for being such a newbee....im learning quik tho, im loving linux...i didnt even bother with a dual boot, i said screw windows, its linux or nuttin. Im already thinking about getting a different distro already, im really not a fan of Gnome or KDE(both too damn bulky and slow), and i just want something where i pick what i want and isnt loaded with junk i dont use. Anyways, any input is appreciated.

Thanx,
Ryan

edit: i had to disable smilies :)

z0mbix
02-17-2003, 05:33 AM
You don't start fluxbox by typing fluxbox at the console. Create a file called ~/.xinitrc and just add the following line to it:

exec fluxbox

Now type startx

Don't log into X as root. If you do, you'll soon be sorry! Create a normal user and use that. You can then use the su and sudo commands to make administrating your box very easy.

z0mbix
02-17-2003, 05:35 AM
This helped me get Fluxbox and Openbox to appear in RH8.0's gdm:

http://www.linuxjunior.org/cgi-bin/pet/pet.cgi?SUBMIT=Display&id=80

msmdrunk
02-17-2003, 04:08 PM
Ok, i tried both f these things and have had luck with neither. I did the first thing you mentioned and when i typed startx it kept putting me into gnome(now for some reason it keeps putting me in twm(or whatever that is). Ok, so then i followed the link you had. I followed it to the T, it has fluxbox in my gdm, however now everytime i go to start something from the gdm i get an error. And its about line 105 where i inserted the fluxbox code....

it says unexpect character ` )' ..... yet in the little turturiol it shows this character being there....so i figured maybe i missed a semicolon(AHA!!)...i did miss a semi colon, there was no semi between the last guy and the new failsafe code i was entering. I added one and did that chmod thing again but i stilll get the same error. Im gonna look at it somemore, but now i have like 4 or 5 Xsession files, like Xsession~, Xsession~~, etc.

EDIT:: NEREMIND, i got the first way working....it was late when i was doing that stuff last night so i wasnt thinking totaly straight. I guess i will just re edit the Xsessions and take out the fluxbox stuff. That way if i do have to get into gnome or kde im not totaly screwed. Thanx for help.

noir_tux
02-17-2003, 04:54 PM
I've had luck with, in .xinitrc, having bash scripts:

#
# This should be the default
#
export TERM=xterm
export WINDOWMANAGER=blackbox
#
# choose a window manager
#
if test -n "$WINDOWMANAGER" ; then
WINDOWMANAGER=`type -p $WINDOWMANAGER`
fi
if test -z "$WINDOWMANAGER" ; then
if test -x /usr/bin/blackbox ; then
WINDOWMANAGER=/usr/bin/blackbox
elif test -x /usr/X11R6/bin/fvwm2 ; then
WINDOWMANAGER=/usr/X11R6/bin/fvwm2
elif test -x /usr/X11R6/bin/kde ; then
WINDOWMANAGER=/usr/X11R6/bin/kde
elif test -x /opt/kde2/bin/startkde ; then
WINDOWMANAGER=/opt/kde2/bin/startkde
elif test -x /usr/local/bin/fvwm2 ; then
WINDOWMANAGER=/usr/local/bin/fvwm2
elif test -x /usr/X11R6/bin/wmlist ; then
for i in `/usr/X11R6/bin/wmlist` ; do
WINDOWMANAGER=`type -p $i`
test -n "$WINDOWMANAGER" && break
done
fi
fi

if test -z "$WINDOWMANAGER" ; then
echo "Error. Can not find a window manager. Please install one."
echo "Exit for now."
xmessage -timeout 10 -default okay -center -file - <<-EOF
Error. Can not find a window manager. Please install one.
Exit for now.
EOF
exit 1
fi

#
# finaly start the window manager
#
exec $WINDOWMANAGER