LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-21-2002, 08:11 PM   #1
safrout
Member
 
Registered: Mar 2002
Location: egypt
Distribution: Gentoo
Posts: 457

Rep: Reputation: 30
how can i start Fluxbox


i have installed fluxbox

but i don't know how to satrt it instead of kde


can anyone help me plz
 
Old 09-22-2002, 12:52 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Which distro? In slack it's as easy as xwmconfig

But what it is, is a symlink to the xinitrc file in /etc/X11/xinit

Create a new file in there, call it xinitrc.fluxbox, make it executable:
chmod a+x xinitrc.fluxbox

And add this line:
exec fluxbox
in the file. That's it. Now make the xinitrc symlink in /etc/X11/xinit point to your new file:
ln -sf /etc/X11/xinit/xinitrc.fluxbox /etc/X11/xinit/xinitrc

I am not home on my system, so xinit and xinitrc may be used backwards or so, but you will immediately be able to tell once you are in the directory by looking at the other files.

Cool
 
Old 09-22-2002, 07:41 AM   #3
aliensub
Member
 
Registered: Apr 2002
Location: Denmark
Distribution: OS X
Posts: 306

Rep: Reputation: 30
If you start X from console make a .xinitrc file in your home dir. Here write:
exec fluxbox (or path to fluxbox, as far as i remember itīs /usr/local/bin/fluxbox)

If you start with an grapical login, name the file .xsession instead.
 
Old 09-22-2002, 12:55 PM   #4
safrout
Member
 
Registered: Mar 2002
Location: egypt
Distribution: Gentoo
Posts: 457

Original Poster
Rep: Reputation: 30
sorry guys but i don't know what exactly should i do

what file should i create and where

plz be patient with me in this problem

can u explain it again
 
Old 09-22-2002, 01:11 PM   #5
wonderpun
Member
 
Registered: Aug 2002
Location: Geekland, Planet Earth
Distribution: Slackware 9.1
Posts: 323

Rep: Reputation: 30
Hi there! Ok. How do you start your Linux. If in text mode then create a file called .xinitrc in your home directory. And there you should write:
exec fluxbox
or
exec /usr/local/bin/fluxbox
and the next time you startx Fluxbox will load. But if you start your PC in graphical mode then you should create .xsession instead of .xinitrc in your home directory. And there you should write the same as you would've in the .xinitrc:
exec fluxbox
or
exec /usr/local/bin/fluxbox
Good Luck!
 
Old 09-22-2002, 01:32 PM   #6
safrout
Member
 
Registered: Mar 2002
Location: egypt
Distribution: Gentoo
Posts: 457

Original Poster
Rep: Reputation: 30
thanx alot for ur help
but one last questions
is my home dir is meant to be /home

or else?
 
Old 09-22-2002, 01:33 PM   #7
safrout
Member
 
Registered: Mar 2002
Location: egypt
Distribution: Gentoo
Posts: 457

Original Poster
Rep: Reputation: 30
and i have 2 users root and safrout

and i want both to use fluxbox
so shall i make this file in both user's home or what?
 
Old 09-22-2002, 01:41 PM   #8
aliensub
Member
 
Registered: Apr 2002
Location: Denmark
Distribution: OS X
Posts: 306

Rep: Reputation: 30
The home dir, is f.ex. if your username is safrout, then your home dir, would be /home/safrout

Yes, the .xinitrc is only for the user who owns the specified home dir. F.Ex. if you only make it in /home/safrout, root wonīt use fluxbox.

Remember rootīs home dir is in /root and NOT in /home/root
 
Old 09-22-2002, 02:23 PM   #9
safrout
Member
 
Registered: Mar 2002
Location: egypt
Distribution: Gentoo
Posts: 457

Original Poster
Rep: Reputation: 30
ok
i was able to start fluxbox
but there i wasn't able to add any icon to the desktop or anything


can anyone tell me how to add icons

and how to configure the desktop
 
Old 09-22-2002, 02:38 PM   #10
wonderpun
Member
 
Registered: Aug 2002
Location: Geekland, Planet Earth
Distribution: Slackware 9.1
Posts: 323

Rep: Reputation: 30
Well, you can't add icons in fluxbox, but if you want to edit the menu then:
If you read the README it said that if you want to change the settings of Fluxbox you should copy the files: init, menu and slit from the /usr/local/share/fluxbox into the .fluxbox directory which should be in your home directory. Then you can edit the menu file and make your own entries to the menu.(Look at the already created ones and make your own similar to those already created) And you might want to download some themes. You can get them here:
http://themes.freshmeat.net/browse/962/?topic_id=962
Then you should extract the background file into .fluxbox/backgrounds/ in your home directory and the then you should copy the styles file into:
/usr/local/share/fluxbox/styles/
That's it! You might also want to search for the fluxconf tool or try to edit the init file manually. If you want to autostart something with flux you should edit your .xinitrc or .xsession file like this:
exec someprogram &
You must write this before the exec fluxbox line! Good luck!!
 
Old 09-23-2002, 05:18 PM   #11
mace
Member
 
Registered: Apr 2002
Distribution: redhat7, 7.1, 7.2, 8.0, mandrake, debian2.2, 3, suse
Posts: 176

Rep: Reputation: 30
i've seen screen shots of people using fluxbox with the rox desktop window manager to present icons on the desktop.

http://rox.sourceforge.net/

use a text editor to edit your menu instead to add to the menu which is available via right clicking on the desktop.

exec someprogram &
^- this is a good idea for something like having gkrellm & bbpager start automaticly for you.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
fluxbox won't start h2gofast Linux - Software 6 10-20-2005 09:20 PM
Programs in FluxBox take ages to start or don't start at all hubabuba Slackware 1 02-20-2005 09:21 AM
cannot start kdeas user ,can start icewm,fluxbox jackren Debian 1 02-29-2004 11:06 PM
Fluxbox Start Up Crashed_Again Linux - Software 18 05-25-2003 06:13 PM
How do I start fluxbox monkeymartin Slackware 3 03-28-2003 07:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:04 PM.

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