LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-23-2004, 02:58 AM   #1
DR_K13
LQ Newbie
 
Registered: Jun 2004
Distribution: Ubuntu/Gentoo/Suse
Posts: 19

Rep: Reputation: 0
Fluxbox not working with RH9


ok so i downloaded the rpm for redhat9, installed it. stopped x, started x.
now it shows in my sessions menu at boot up. I switch to it, but when the windows manager starts, flux box dosent run, the TWM starts. I read up on configuring fluxbox, if I was on flux I should be able to right click on the desktop to bring up the menu. I can only left mouse click and start a term.

here is how my XINITRC file looks
----------------------------------------------------------------

#!/bin/sh
# (c) 1999-2002 Red Hat, Inc.

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
userxkbmap=$HOME/.Xkbmap

sysresources=/etc/X11/Xresources
sysmodmap=/etc/X11/Xmodmap
sysxkbmap=/etc/X11/Xkbmap

# merge in defaults
if [ -f "$sysresources" ]; then
xrdb -merge "$sysresources"
fi

if [ -f "$userresources" ]; then
xrdb -merge "$userresources"
fi

# merge in keymaps
if [ -f "$sysxkbmap" ]; then
setxkbmap `cat "$sysxkbmap"`
XKB_IN_USE=yes
fi

if [ -f "$userxkbmap" ]; then
setxkbmap `cat "$userxkbmap"`
XKB_IN_USE=yes
fi

if [ -z "$XKB_IN_USE" -a ! -L /etc/X11/X ]; then
if grep '^exec.*/Xsun' /etc/X11/X > /dev/null 2>&1 && [ -f /etc/X11/XF86Config ]; then
xkbsymbols=`sed -n -e 's/^[ ]*XkbSymbols[ ]*"\(.*\)".*$/\1/p' /etc/X11/XF86Config`
if [ -n "$xkbsymbols" ]; then
setxkbmap -symbols "$xkbsymbols"
XKB_IN_USE=yes
fi
fi
fi

# xkb and xmodmap don't play nice together
if [ -z "$XKB_IN_USE" ]; then
if [ -f "$sysmodmap" ]; then
xmodmap "$sysmodmap"
fi

if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
fi

unset XKB_IN_USE

# run all system xinitrc shell scripts.
for i in /etc/X11/xinit/xinitrc.d/* ; do
if [ -x "$i" ]; then
. "$i"
fi
done

# The user may have their own clients they want to run. If they don't,
# fall back to system defaults.
# set up ssh agent environment if available.

if [ -f $HOME/.Xclients ]; then
[ -x /usr/bin/ssh-agent -a -z "$SSH_AGENT_PID" ] && \
exec ssh-agent $HOME/.Xclients || \
exec $HOME/.Xclients
elif [ -f /etc/X11/xinit/Xclients ]; then
[ -x /usr/bin/ssh-agent -a -z "$SSH_AGENT_PID" ] && \
exec ssh-agent /etc/X11/xinit/Xclients || \
exec /etc/X11/xinit/Xclients
else
# failsafe settings. Although we should never get here
# (we provide fallbacks in Xclients as well) it can't hurt.
xclock -geometry 100x100-5+5 &
xterm -geometry 80x50-50+150 &
if [ -x /usr/bin/netscape -a -f /usr/share/doc/HTML/index.html ]; then
netscape /usr/share/doc/HTML/index.html &
fi
if [ -x /usr/X11R6/bin/fvwm2 ]; then
exec fvwm2
else
exec fluxbox
fi
fi
exec /usr/share/fluxbox

-----------------------------------------------------------------------------------------
the binary file is at
Code:

/usr/X11R6/bin/fluxbox

and the folder is at
Code:

/usr/share/fluxbox

-------------------------------------------------------------------------------------------

Here are things That I did to the XINITRC file none worked. ( changes at the bottom)

/usr/X11R6/bin/fluxbox at the bottom

(then)

if [ -x /usr/X11R6/bin/fvwm2 ]; then
exec fvwm2
else
exec fluxbox
fi
fi
exec /usr/share/fluxbox

(then replaced that with)

exec /usr/X11R6/bin/fluxbox

-------------------------------------------------------------------------------------

there is no .xinitrc file in my home directory ( / ) i found some info on this and maybe I need to create one??? I dont know

any help out there? thanks!!

DR_K13
 
Old 11-24-2004, 06:00 AM   #2
DR_K13
LQ Newbie
 
Registered: Jun 2004
Distribution: Ubuntu/Gentoo/Suse
Posts: 19

Original Poster
Rep: Reputation: 0
Unhappy

no one/?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Pixmaps on FluxBox Not Working... tavilach Linux - Software 3 07-20-2004 12:16 AM
fluxbox and KDE and RH9.0 failed execution SiriusAB Linux - Software 2 02-15-2004 08:38 AM
Can't get fluxbox working in RH9 Hotdog Linux - Newbie 9 09-29-2003 06:23 PM
RH9 & Fluxbox (from sources) KaZeR Red Hat 1 09-03-2003 10:55 PM
starting fluxbox in rh9.0 shiny Linux - Software 6 05-31-2003 01:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration