LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Fluxbox problem (https://www.linuxquestions.org/questions/linux-newbie-8/fluxbox-problem-246737/)

xephyr 10-24-2004 11:39 AM

Fluxbox problem
 
I am trying to set up flux box, how do you make the dockapps load automatically everytime you start fluxbox?

and Can someone recommend some handy applications for a linux newb?

acid_kewpie 10-24-2004 11:42 AM

you can make any application load within any window manager by listing them within /home/you/.xsession

comprookie2000 10-24-2004 02:51 PM

Fluxspace works good but takes time to set up:
http://sourceforge.net/docman/displa...group_id=76737
Also if you use startx you can use /home/you/.xinitrc

xephyr 10-24-2004 03:29 PM

I don't find .xsession in /Home/myself
nor do I find xintric, what am I suppose to do?

Tinkster 10-24-2004 04:30 PM

You could copy one of the files in /etc/X11/xinit
and modify it to match your needs.


Cheers,
Tink

comprookie2000 10-24-2004 05:25 PM

.xinitrc not xinitric , very important! make sure you have the . in front and the syntax is correct.
Try this; touch /home/yourname/.xinitrc
echo exec fluxbox > /home/yourname/.xinitrc

xephyr 10-24-2004 06:03 PM

I added both .xsession
and .xinitrc in /Home/myname/
and added in it the command to run one of the dockapps,
exec wmblueclock

is it suppose to start wmblueclock when I click Restart on the fluxbox menu?
or is it suppose to start it next time I start my machine?
I tried both, neither works

comprookie2000 10-24-2004 07:10 PM

Here is a sample;
http://fluxbox.org/download/dotfiles/aleczapka/xinitrc

mikshaw 10-25-2004 11:00 AM

You should replace "exec wmblueclock" with "wmblueclock &", and make sure it's placed before the fluxbox line.

"exec" tells bash to replace the current process (xinitrc) with wmblueclock, and the result is that the rest of the script is not run. If you have "exec fluxbox" before wmblueclock, Fluxbox will run and wmblueclock will never run. If you have just "fluxbox" before "wmblueclock", then Fluxbox will run and wmblueclock will try to run when you shut down fluxbox.

If you add "&" after a command, bash will run that command in the background and continue to the next line in xinitrc, so if you have
Code:

wmblueclock &
exec fluxbox

wmblueclock will be run in the background allowing the script to continue on, and so fluxbox can then be launched.


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