LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   fluxbox startup (https://www.linuxquestions.org/questions/linux-software-2/fluxbox-startup-72282/)

moneyshotz 07-13-2003 06:09 AM

fluxbox startup
 
Hi guys,
I've been trying to get a few programs to startup with fluxbox.
I was reading that you had to create on of these files:
.xsession
.xinitrc
I've tried both of them and none of the programs still load up at startup. I also changed the permissions to make it executabe.
This is what's inside...
/usr/bin/gotmail &
/usr/bin/evolution &
/usr/bin/gaim &

What exactly am I doing wrong?

Proud 07-13-2003 06:32 AM

Try ~/.fluxbox/startup :)

moneyshotz 07-13-2003 01:03 PM

So I just create a file ~/.fluxbox/startup ?
I've tried that also but it still doesnt work. I made it executable too. Anyone else got any ideas?

Proud 07-13-2003 01:27 PM

You should already have ~/.fluxbox/startup. The syntax is slightly different. Mine reads:
Quote:

# fluxbox startup-script:
#
# Lines starting with a `#' are ignored.

# You can set your favourite wallpaper here if you don't want
# to do it from your style.
#
# bsetbg -f ~/pictures/wallpaper.png
#
# This sets a black background

bsetbg -solid black


# Other examples. Check man xset for details.
#
# Turn off beeps:
# xset -b
#
# Increase the keyboard repeat-rate:
# xset r rate 195 35
#
# Your own fonts-dir:
# xset +fp $HOME/.font
#
# Your favourite mouse cursor:
# xsetroot -cursor_name right_ptr


# Applications you want to run with fluxbox.
# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ``&'' AT THE END.
#
# unclutter -idle 2 &
# wmnd &
# wmsmixer -w &
# idesk &
gkrellm &
klipper &

# And last but not least we start fluxbox.
# Because it is the last app you have to run it with ``exec'' before it.

exec fluxbox -log .fluxbox/log
#exec fluxbox

moneyshotz 07-13-2003 01:35 PM

I do not have a ~/.fluxbox/startup so I just created it. I'm running version 0.7.14 on a debian system, not sure if that makes a difference though.

dav1x 07-13-2003 02:14 PM

Did you try adding the file or script to /etc/X11/xinit/xinitrc.d?

for example I added.. for my xscreensaver daemon a file called screensaver that runs

#!/bin/sh
xscreensaver -nos &

Mine works fine.
the startup file with fluxbox (~.fluxbox/startup) will ONLY work if you have the remember patch installed..

Which if you rolled the source off of fluxbox for is NOT installed be default in 0.1.14

Good Luck

Proud 07-13-2003 02:21 PM

Sorry, I've been using the development releases of Fluxbox which have had the Remember feature nestled in the code for some time now. :)
It's getting very good :D

dav1x 07-13-2003 02:28 PM

='(

See what happens when you dont keep up...

*sniff*

Any other big changes? I adore fluxbox, unfortunately I havent been by their site in ages...

Proud 07-13-2003 02:30 PM

Pixmap themes kick ass. Blueflux looks sweet, so I think I'll work on my own. I love the Axios one for Enlightenment, so I may port it. :)
Check the link in my sig to see the additions for each 0.9.x release, and to get 0.9.4 :cool:

moneyshotz 07-13-2003 02:37 PM

Dav1x: I've tried that also and it still doesn't seem like it wants to boot up. I've entered the same values that I had entered in the files I mentioned above.

btw, I'm not trying to log into fluxbox through the console by typing 'startx'
The gnome manger pops up and I just select fluxbox and just enter my log in information. Does that make a difference?

dav1x 07-13-2003 02:41 PM

go ahead and do a
# fluxbox -version

runlevel 3 will allow you to modify the /home/$user/.xinitrc to start up applications when you type startx

the path i gave you allows applications to start up in a run level 5 environment with like gdm as you described...

I can walk you through compiling the remember patch if need be... A good indication if you have it installed, is to right click on a box open in flux, and remember should be an option...

moneyshotz 07-13-2003 02:46 PM

Ok. I have version 0.1.14
So that path you originally gave me should allow me to run level 5 environments? I wonder why its not working. I dont think I have a patch installed. Can you help me out?

XPediTioN 07-13-2003 02:50 PM

How do I get and install FluxBox?

moneyshotz 07-13-2003 02:52 PM

i downloaded the debian package and just installed it that way, with the dpkg -i file.deb

moneyshotz 07-13-2003 02:54 PM

by the way i didnt have a xinitrc.d, I had to create it. I did have a 'xinitrc' tho


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