Click to See Complete Forum and Search --> : Fluxbox problem..please help.


ludwig1
05-09-2003, 04:51 PM
Hi,
I read the install notes and it said that:
If X11 is started the former way (via startx), the file that is important is called .xinitrc and resides in your home directory. In the case of starting via a display manager, the file is .xsession which resides at the same location.

Well,I don't have either a .xinitrc file nor an .xsession file. What should I do.
I 've had a look on the fluxbox forum and mailing list,but I can't se this topic covered at all



cheers
Ludwig

Red Hat 8

serz
05-09-2003, 05:10 PM
Make a .xinitrc file in your home directory and add this line:

exec fluxbox

viperlin
05-09-2003, 05:11 PM
pretty simple:
make a ~/.xinitrc

put in it

exec fluxbox

and when you type startx it will execute that file starting fluxbox

ludwig1
05-09-2003, 05:38 PM
so the file .xinitrc only has the text:

exec fluxbox

In it.Is that it?

Resident_Geek
05-09-2003, 05:45 PM
That will work. If, however, you want to do other stuff while starting x suck as start up gkrellm or set your background, you'll add other stuff. The Fluxbox help has some good stuff on it. I'm not sure how to get to it directly, but most of the links in their FAQ lead to it.

viperlin
05-09-2003, 05:46 PM
yes thats it

although i had a little more

exec gkrellm -w &
exec fluxbox


you just need exec fluxbox

ludwig1
05-09-2003, 05:51 PM
thanks for your help.

I read somewhere that you need to path to flushbox in the file.So instead of

exec flusbox

you need

exec /usr/local/bin/flushbox


or where ever it is located.
IS that right?

viperlin
05-09-2003, 06:02 PM
if the command fluxbox exists then no

type "flux" and hit tab, it'll list everything beginning with "flux", if fluxbox is there then you don't need to put the path, if there is only one thing beginning with "flux" (probably fluxbox) then it will just finish typing out the word and it will say fluxbox at the prompt

if that makes sence

Resident_Geek
05-09-2003, 06:04 PM
That's only true it fluxbox isn't in your PATH, but it can't hurt. viperlin, I just was wondering, do you know you don't need the exec in fromt of gkrellm? the exec says "stop execution of the script after this completes", so you only need it in front of flubox. I doubt leaving it will hurt anything, but you could save 5 bytes of disk space! :)

ludwig1
05-09-2003, 06:09 PM
ok.
Thanks for the info guys.

And what if you want to go back to Gnome.How do you do that?

Resident_Geek
05-09-2003, 06:12 PM
Rename .xinitrc to .xinitrc_not_uesd_right_now, or just delete it.

ludwig1
05-09-2003, 06:13 PM
thanks Geek.
Much appreciated :)

ludwig1
05-09-2003, 06:31 PM
thanks for your help ,chaps.
I've got it up and running.
It's quite a change from gnome!!


cheers

Ludwig

ludwig1
05-09-2003, 07:04 PM
One thing that is troubling me is that I can't seem to find a way to open windows that will show various directories,like HOME and ROOt etc.

Is this as it should be or am I missing something?


cheers
Ludwig

ludwig1
05-10-2003, 05:18 AM
what I mean,is using something like Nautilus.
Is this not possible with Fluxbox,or do people prefer to use the command line instead?

viperlin
05-10-2003, 07:28 AM
most people use the command line but you could create an entry in the menu launching "nautilus --no-desktop" that will just open a nautilus window in your home directory.

ludwig1
05-10-2003, 07:39 AM
thanks viperlin.

One question about Fluxbox that I can't seem to find an answer to on their documentation page is how to enable desktop backgrounds.
Does anyone have an idea about this?

cheers
Ludwig

viperlin
05-10-2003, 07:52 AM
in the styles you use there will be a line like:


"bsetbg /usr/share/fluxbox/backgrounds/bg1.jpg"

or

"bsetbg -solid #FFFFGG"

just change it to the path of the wallpaper you want and ta-da

ludwig1
05-10-2003, 07:53 AM
thanks very much, Viperlin.
Much appreciated :)

ludwig1
05-10-2003, 08:08 PM
I've got Fluxbox working really well now.
I'm really impressed with it.
I'd just like to thank everyone that helped me :)