LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how can i start Fluxbox (https://www.linuxquestions.org/questions/linux-software-2/how-can-i-start-fluxbox-30919/)

safrout 09-21-2002 08:11 PM

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

MasterC 09-22-2002 12:52 AM

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

aliensub 09-22-2002 07:41 AM

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.

safrout 09-22-2002 12:55 PM

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

wonderpun 09-22-2002 01:11 PM

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!

safrout 09-22-2002 01:32 PM

thanx alot for ur help
but one last questions
is my home dir is meant to be /home

or else?

safrout 09-22-2002 01:33 PM

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?

aliensub 09-22-2002 01:41 PM

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

safrout 09-22-2002 02:23 PM

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

wonderpun 09-22-2002 02:38 PM

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!!

mace 09-23-2002 05:18 PM

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.


All times are GMT -5. The time now is 10:28 AM.