LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-09-2003, 03:50 PM   #1
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Rep: Reputation: 30
problem with installing Fluxbox


Hi,
I read the install notes and it said that:
Quote:
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
 
Old 05-09-2003, 04:06 PM   #2
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
I take it you're installing from source right?
How do you log in, via a graphical login display manager?

Last edited by Proud; 05-09-2003 at 04:07 PM.
 
Old 05-09-2003, 04:14 PM   #3
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
If your booting to runlevel 3 and doing 'startx' to get to your wm then you can just create the .xinitrc file in your home directory. I use fluxbox as well and mine looks like this:

# window manager
/usr/local/bin/fluxbox & wmpid=$!

# applications that start automatically
aterm -geometry 129x18+83+462 -tr -trsb -fg white -tint blue &
bbpager -w &
gkrellm -w &

# HANG POINT - wait for windowmanager to exit
wait $wmpid

Hope that helps
 
Old 05-09-2003, 04:32 PM   #4
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Original Poster
Rep: Reputation: 30
Hi Crashed Again and thanks for your reply.

I do use run level 3 and startx.

So you just create a text file with
# window manager
/usr/local/bin/fluxbox & wmpid=$!

# applications that start automatically
aterm -geometry 129x18+83+462 -tr -trsb -fg white -tint blue &
bbpager -w &
gkrellm -w &

# HANG POINT - wait for windowmanager to exit
wait $wmpid
in it and save it as .xinitrc.
IS that the idea?

thanks

Ludwig

Last edited by ludwig W; 05-09-2003 at 04:42 PM.
 
Old 05-09-2003, 04:44 PM   #5
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Well you don't need these four lines:

# applications that start automatically
aterm -geometry 129x18+83+462 -tr -trsb -fg white -tint blue &
bbpager -w &
gkrellm -w &

Sorry I should have specified that. Yeah so basically you go into your home directory and create a file called .xinitrc and then add:

# window manager
/usr/local/bin/fluxbox & wmpid=$!

# HANG POINT - wait for windowmanager to exit
wait $wmpid

Then when you type startx it should bring up fluxbox. One other thing is to make sure that you change the path to the fluxbox application. Mine is in /usr/local/bin/fluxbox but yours may be somewhere else.
 
Old 05-09-2003, 04:46 PM   #6
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Original Poster
Rep: Reputation: 30
ok.Thanks m8

And if I want to go back to Gnome, I just delete the .xinitrc file?
 
Old 05-09-2003, 04:49 PM   #7
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
hmmm...good question. Well if it was going to GNOME before you created .xinitrc then deleting .xinitrc to get back to GNOME would be logical. I'm not 100% on that though.
 
Old 05-09-2003, 04:53 PM   #8
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Original Poster
Rep: Reputation: 30
well,I'm just asking cos most of the things I touch in Linux go wrong,so I just want to know that I have an escape plan if ,in all likelyhood,things do go wrong
 
Old 05-09-2003, 05:32 PM   #9
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Original Poster
Rep: Reputation: 30
thanks for your help.
I've got it up and running.
It's quite a change from Gnome !!
 
Old 05-09-2003, 05:36 PM   #10
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Yeah it is different. I found a lot of info in the FAQ section of fluxbox's site.
 
Old 05-09-2003, 05:58 PM   #11
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Original Poster
Rep: Reputation: 30
One thing that's troubling me is that I can't visually navigate through the directories.I can't open up a HOME window or a ROOT window or anything.Is it supposed to be like that or am I missing something?
 
Old 05-09-2003, 06:11 PM   #12
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
You mean you can't open up something like konqueror? You can simply type it from a shell:

konqueror&

or edit your menu file(/home/user/.fluxbox/menu) and add something like this:

[exec] (Konq) {konqueror}
 
Old 05-09-2003, 06:20 PM   #13
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Original Poster
Rep: Reputation: 30
Yes, that's waht I mean.Sorry,I should have explained better.
I think I used Nautilus before.Forgive me,but I'm new to Linux and half the time I don't even know what I'm using.

So,presumably I could edit the menu file with:
[exec] (Naut) {Nautilus} ?

thx,
Ludwig
 
Old 05-09-2003, 10:16 PM   #14
rmartine
Member
 
Registered: Dec 2002
Location: San Luis Obispo, CA
Distribution: Fedora Core 3
Posts: 618

Rep: Reputation: 30
Just to save you a headache. If you just open Nautilus, it will want to open the Gnome desktop. Run Nautilus like this and it will behave properly.

[exec] (Nautilus) {nautilus --no-desktop}
 
Old 05-10-2003, 04:16 AM   #15
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Original Poster
Rep: Reputation: 30
thanks for that, rmartine.

It sounds like most people don't use Nautilus with Fluxbox.
How do they navigate around,visually?
Or maybe they use the command line instead?
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem installing fluxbox mjl3434 Slackware 13 01-30-2005 12:22 PM
Problem installing fluxbox arde Debian 1 01-01-2005 02:34 PM
installing fluxbox 0.9.8 BaPu Linux - Newbie 3 04-08-2004 04:18 AM
problem installing fluxbox k0ljat Linux - Software 4 10-12-2003 11:45 AM
Problem with installing fluxbox BajaNick Linux - Software 2 09-23-2003 05:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:27 AM.

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