LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   X libraries & headers for fluxbox (https://www.linuxquestions.org/questions/linux-software-2/x-libraries-and-headers-for-fluxbox-33888/)

GT I.N.C 10-27-2002 02:23 AM

X libraries & headers for fluxbox
 
Hey all, i'm thinking of converting to fluxbox....

Well anyway i tried compiling it and i got this....

Code:

checking for X... no
configure: error: Fluxbox requires the X Window System libraries and headers.

Kinda weird...i do have X installed...well how else am i on this :p, and ummm i tried searching for x libraries headers etc. in rpmdrake and i can't seem to find anything....anyone can give me some pointers?

Garry :D

nautilus_1987 10-27-2002 02:36 AM

GT do you have KDE and Gnome installed?

acid_kewpie 10-27-2002 03:35 AM

:confused: well it's not looknig for kde or gnome is it?? it's looking for X. just install the Xfree860devel packaeg, and you'll be fine.

GT I.N.C 10-27-2002 03:49 AM

Thanks Acid that worked fine! Oh and thanks nautilus for trying to help!

Garry :D

nautilus_1987 10-27-2002 04:05 AM

Mine is in /root/.xinitrc ( exec fluxbox )

GT I.N.C 10-27-2002 04:10 AM

Ok now i can't seem to install it...i followed the instructions on the site...unless i created .xinitrc in the wrong directory....i made it in /home (it said in the home directory) is this wrong? Because when i logged out fluxbox wasn't there as a selectable window manager....

Garry :D

GT I.N.C 10-27-2002 04:25 AM

Ok i'll move it now...but i won't try it till a bit later....(homework)

Garry :D

nautilus_1987 10-27-2002 04:37 AM

I am having one week holiday now....hehehe

GT I.N.C 10-27-2002 11:17 PM

Ok that didn't work, fluxbox isn't a selectable window manager.....

What else am i doing wrong?

Is it because i have .xinitrc in the wrong directory...

Garry :D

MasterC 10-28-2002 08:58 AM

Yes, you want it in your USER home, not the system home. So ~ rather than /home

Your xinitrc should be found by typing this:
~/.xinitrc

If that makes sense. ~ means to go to the home of whatever user you are logged in as. Not the /home but a deeper directory of something like /home/gtinc
So:
/home/gtinc/.xinitrc
would be correct.

Here's a peek at mine so you can see what one looks like:
Code:

#!/bin/sh
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $
 
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap

# merge in defaults and keymaps
   
if [ -f $sysresources ]; then
    xrdb -merge $sysresources
fi
   
if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
fi
   
if [ -f $usermodmap ]; then
    xmodmap $usermodmap
fi
   
# Start the window manager:
exec root-tail /var/log/messages,red /var/log/xferlog,white /var/log/proftpd.lo$
exec gkrellm -w &
exec /opt/fluxbox/bin/fluxbox

But all you really need in there is simply:
exec fluxbox

Or possibly the entire path, as I have if you do not have the directory in your path.

Cool

GT I.N.C 10-29-2002 12:16 AM

So when i do that will that make Fluxbox start automatically....or will it allow it to be selected?

Garry

GT I.N.C 10-29-2002 12:39 AM

Ok i tried it.....putting .xinitrc in /home/gt and /root

They don't work.....when Mandrake starts up it's not selectable......

Garry :D

MasterC 10-29-2002 02:22 PM

No it's not, that's for 'startx' rather than having it be in your list of choices at your KDM screen. If that's what you are looking to have/do you might want to find the actual Mandrake RPM for it, this will set everything up for you, and place the entries in the correct file for that.

If you wanna do it yourself, I believe the setting is in the KDE control Center, not the Mandrake Control center. Poke around in there, find the section for login, and see if you can make a new entry for Flux.

If you have more problems, or don't have a clue what I mean, post back, I will be happy to walk you through it better, and I will boot into Mandy and give you some screenshots to help.

Cool

GT I.N.C 10-29-2002 07:44 PM

I'm at school now, geeez how slow is the network hehe

Yeh ummmm i went around KDE Control center last night, and from memory i found a session or window manager option and it had IceWm etc. i added fluxbox....but i couldn't do anything else it just added it to it's list, it didn't ask me what command to use or anything, so when i logged out 'fluxbox' was in the list but when i selected it and logged in it just went to IceWm....

Thanks

Garry :D

GT I.N.C 10-31-2002 01:40 AM

Man, no one has a slight idea?

I have been going through a billion configuration files and i can't find what i want......


All times are GMT -5. The time now is 06:18 PM.