Click to See Complete Forum and Search --> : Fluxbox help needed


Ahimsa
07-16-2002, 04:13 AM
Hello
I'd post this to the Fluxbox forum, but for whatever reason I keep getting a server error when I try to connect, and since this LNF has been so helpful to me in the past, this seemed like a good place to post.
Now with the prelims out of the way:
I downloaded Fluxbox-0.1.10 as a tarball. Logged in as root and compiled the program. So far so good. Now the snag:
The prog docs suggest that I either find or create the file called ".xinitrc", and I created it as user (should I do this as root?), and added the line "exec /usr/local/bin/fluxbox" as per direction (which is the correct path on my machine). This is the only line in this newly created ".xinitrc" file. I also followed the direction and created a directory called ".fluxbox", again as user (although I noticed that there is a file called this in my root directory also??), and moved the 'init', 'menu' and 'keys' files into the /home/ahimsa/.fluxbox directory as directed. I made the necessary changes to the .fluxbox/init file and changed references to ~/.fluxbox.
OK: When I went to run it, I got the following error message:
"ahimsa@localhost ahimsa]$ ./.xinitrc
Warning: Failed to open catalog, using default messages.
Faild to read: session.tabs
Setting default value
Faild to read: session.slitlistFile
Setting default value
BScreen::BScreen: an error occured while querying the X server.
another window manager already running on display :0.0.
Fluxbox::Fluxbox: no managable screens found, aborting.

So my questions are:
1. Did I make a mistake in this process (maybe should have been done entirely as root or not at all? Did I overlook a file? Make an incorrect reference? ,etc.)
2. How will I be able to load Fluxbox, when my current windows manager is the default wm (Sawfish)? If someone can give me some baby-steps directions this would be most excellent.I don't appear to have an ".xsession" file in my home directory.I only have ".Xauthority" and "/.xauth".
3. At what point do I load the themes, and can someone give me a clue as to how to do that. I might be having a brain fugue but for some reason the directions on that part don't seem very clear.
4. Once everything is loaded and set, when I login, will fluxbox be offered as a session as kde and gnome are presently, or will it be listed under 'default', in which case I would need to change my default.

I'd appreciate any help you can offer, because I've gone over my steps several times, read and re-read the scant docs available, but am still stuck.

mrBen
07-16-2002, 06:10 AM
Originally posted by Ahimsa
So my questions are:
1. Did I make a mistake in this process (maybe should have been done entirely as root or not at all? Did I overlook a file? Make an incorrect reference? ,etc.)

Yes - you need to use a complete .xinitrc - it shouldn't be a blank file. You need to find the skeleton version, its probably in /etc/X11/ somewhere, and might be something like /etc/X11/xinitrc.kde
Just copy it to your home directory as .xinitrc and then edit it so that the other window manager stuff doesn't load, but Fluxbox does.


2. How will I be able to load Fluxbox, when my current windows manager is the default wm (Sawfish)? If someone can give me some baby-steps directions this would be most excellent.I don't appear to have an ".xsession" file in my home directory.I only have ".Xauthority" and "/.xauth".

Once you've done (1) then just startx.


3. At what point do I load the themes, and can someone give me a clue as to how to do that. I might be having a brain fugue but for some reason the directions on that part don't seem very clear.


The default theme is selected in ~/.fluxbox/init, you can select other themes from the right-click main menu.


4. Once everything is loaded and set, when I login, will fluxbox be offered as a session as kde and gnome are presently, or will it be listed under 'default', in which case I would need to change my default.


Using a graphical login manager is another kettle of fish completely. You'll need to fiddle with it's settings to get the desired result. Login managers bypass your .xinitrc file completely. If it's KDM then I would recommend changing it from within KDE Control Center.

fancypiper
07-16-2002, 08:25 AM
If you aren't booting into text mode, that file is ignored. You will have to put that in the file that gdm or whatever gui boot thingy you use.

It will work, however, if you boot runlevel 3 (command line).