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 Garry :D |
GT do you have KDE and Gnome installed?
|
: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.
|
Thanks Acid that worked fine! Oh and thanks nautilus for trying to help!
Garry :D |
Mine is in /root/.xinitrc ( exec fluxbox )
|
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 |
Ok i'll move it now...but i won't try it till a bit later....(homework)
Garry :D |
I am having one week holiday now....hehehe
|
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 |
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 exec fluxbox Or possibly the entire path, as I have if you do not have the directory in your path. Cool |
So when i do that will that make Fluxbox start automatically....or will it allow it to be selected?
Garry |
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 |
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 |
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 |
Man, no one has a slight idea?
I have been going through a billion configuration files and i can't find what i want...... |
Hi GT! Well the only thing I can think of is that you can create a xinitrc.fluxbox file and put the:
exec fluxbox line in it. And then put the file in your /etc/X11/xinit directory. Good luck! |
Alright. There's a file /etc/X11/xdm/Xsession. Find the section where the file mentions the other wm's and try adding fluxbox to the file. And make it similar to those already written there only type:
exec fluxbox Well, good luck!! P.S. You must have created the Fluxbox entry with your KDE Control Center in order for this to work. |
Hey Wonderpun,
Yeh i have checked that out as well...sooo many times hehe heres what it contains.... Code:
#!/bin/sh Garry :D |
Hi Garry :) Well, I must say that your Xsession file doesn't look like mine, that's for sure :) I'm sorry that I can't help you much, never used Mandrake. But I have a question to you. When kdm loads, it asks you for your username the password and then what? It lets you choose what wm you want to load? If yeah then I have an idea :) You see at the end of the Xsession file there's a section that starts:
# Argh! Nothing good is installed. Fall back to icewm Try to change the: /usr/X11R6/bin/icewm to /usr/local/bin/fluxbox Then when you select icewm from the menu it should load flux. If I'm right and this worked then post back and will try to think out a way how to add flux to the menu :) If not, then sorry I couldn't help you much :) Good luck GT! |
Ok thanks, i'll get straight onto it.....
Garry |
Nope sorry, didn't work, it just loaded Ice....thanks for your help anyway...
Garry |
GT, /usr/local/bin/fluxbox is rather a suggested path, you would actually find the one that is on your system and use it. I am thinking this might be your problem :confused:
Do this: whereis fluxbox Note the location, then wherever you are editing these files, use that location. Example: whereis fluxbox /opt/wm/whoknows/nowhere/fluxbox /usr/man/man1/fluxbox.gz So you see that fluxbox is in /opt/wm/whoknows/nowhere/fluxbox So this will be your flux path. Cool |
Yeh thats my correct path....checked it first hehe
Code:
[root@localhost root]# whereis fluxbox |
All i need to know is how to make flux a selectable wm at the login screen....geeez didn't think it would be this hard :p
Garry :D |
Post here the contents of ~/.xsession and/or ~/.Xclients
Cool |
Well here's the deal I think so far...
I am basically newbie with a kagillion posts, so my experience is my knowledge. Most of my "experience" comes from Slack. I could easily tell you how to do this on slack, but for Mandy it's not the same. I am thinking pretty much the same boat for other's trying to help so far. So instead of LQ Addict, I could still have "newbie" as my title and it'd be more fitting :D Anyway, let's see if we can get this one going, I will do some searching after I see whats in those 2 files above. Cool |
Xsession is up above ^
Xclients is.... Code:
#!/bin/bash |
Living dangerously now, I'd try this:
Place a # sign in front of exec /etc/X11/Xsession in your Xclients file. Place a line below it with: exec /path/to/fluxbox replacing /path/to/fluxbox with the correct path. So your Xclients should now look like: #!/bin/bash #exec /etc/X11/Xsession exec fluxbox Again, only if you wanna live dangerously, because I really don't know what effect this will produce. You might wanna post a few more things here instead first. Maybe the contents of your /etc/X11/xinit directory (if it exists). At worst I think that would not allow you to enter X, you could probably still enter the file via command line and edit back to normal, but I really don't know. Good Luck |
Hmmm i don't think i wanna try that just yet hehe
heres /etc/X11/xinit Code:
[root@localhost xinit]# ls -al Garry :D |
Ok, so, what is in that file there xinitrc? Post the contents of /etc/X11/xinit/xinitrc
Then, from there you might symlink this file to your user's home directory... hmm, might be on to something... Anyway post the contents of that first ;) Cool |
Code:
#!/bin/sh Garry :D |
Ok, so comment out that line, place a new line:
exec /usr/local/bin/fluxbox Save and exit, symlink that to your home directory: ln -s /etc/X11/xinit/xinitrc ~/.xinitrc And then startx... Cool |
Yeh but the thing is i don't do a startx.....i do a GUI login...i think it's KDM....and i want flux to be a selectable WM...
Garry |
Yeah, I am still working on that one for ya...
Cool |
Hey, I think I found it... Just so you can see what I am reading:
http://www.mandrakeuser.org/docs/xwin/xstart.html#conf Cool |
Ok, so...
It looks like you need to locate: '/usr/share/config/kdm/kdmrc' And find an area to add Fluxbox in there. If you post the contents I will see if I can help. Also, to start fluxbox from the command line I understand you have to type: startx fluxbox And it's supposed to start. No need to comment any lines in any file. If you want to use flux as your default wm, then you would make the entry in: ~/.desktop And the entry should look like: DESKTOP=fluxbox Cool |
/usr/sbin/chksession -l
Also, you might need to run this to see what X options you have. Good Luck, and read that link I provided above, good info there. Cool |
Ok thanks i will read that, then post up the things you requested....
Thanks again Garry :D |
Hmmm this is kmrc
Code:
[Desktop0] Garry :D |
See this line:
SessionTypes=KDE,IceWM,failsafe,default I think if you add fluxbox there, that might be your ticket. Cool |
Ok i'm gonna think of switching to GDM instead of KDM...since they say its high configurable....etc etc
Garry :D |
Also, what does:
/usr/sbin/chksession -l return? I think this would all make alot more sense if I followed along with ya, then I could explain things better. Anway, I think if the chksession returns flux then you should be good to go... Cool |
Hmmmmm in GDM's Login Session tab there is KDE and IceWM...when i click on add session i type in fluxbox....and i can't enter what command to execute...but for KDE and Ice there already are commands...
#!/bin/sh exec /etc/X11/xdm/Xsession KDE and #!/bin/sh exec /etc/X11/xdm/Xsession IceWM i can edit and chnage those etc. But i cannot edit flux's....the window to type the command isn't editable... hope this made sense.. Garry :D |
Might be a button you missed or something... Poke around a bit more, seems like it's always something little on things like that.
Cool |
Ok i think i'm onto something...i'm gonna make an executable in /etc/X11/gdm/Sessions where Kde and Ice are...
i'll post when i'm done.... Oh yeh and sorry MasterC i never saw that post, i tried that before...and it didn't execute...nothing happened... Garry :D |
How do i make something executable chmod x+? or something like that?
Garry :D |
Ahhhhh -x hhahaha i figured out myself...
well i hope it's right heheh :p |
-x makes it no longer executable, to make it executable it's +x
So: chmod +x /path/to/executable will make it executable. If you no longer want it executable: chmod -x /path/to/executable will make it no longer executable. Cool |
Hahha it turned into a shell icon though, well thats not whats worrying me now.......i got fluxbox to load....by editing the IceWm setting....so instead of Ice it's now flux....so that's sweet, but i can't get Ice back (not that i use it) and also KDE doesn't load anymore....geeeez i didn't even TOUCH KDE settings....
Hmmmmm any ideas, i know i don't have much info about it, but i can't find it, well i don't know where to start finding it.... Garry :D |
What did you edit? And when you say can't get it back, you mean you can't even select it? Or when you do select it, flux starts?
|
All times are GMT -5. The time now is 08:01 PM. |