X and Fluxbox :: Running a Command Line At Fluxbox Startup



I am using DSL as a windows emulator via redesktop.  I was wondering how can I get fluxbox to automatically launch an application when the computer boots?  Seems like a simple task?

Thanks!

It's probably simple, although I don't know anything about rdesktop.
The standard way of starting applications with fluxbox is to add them to ~/.xinitrc:

application &
another_application &
fluxbox

Quote (mikshaw @ Jan. 12 2005,17:31)
It's probably simple, although I don't know anything about rdesktop.
The standard way of starting applications with fluxbox is to add them to ~/.xinitrc:

application &
another_application &
fluxbox

Where is that file located exactly?  I appologize I am a total linux noob. :p
That's cool...I assume too much sometimes.
Whenever you see a file path that starts with ~/ or $HOME/ it is always referring to the current user's home directory.  In this case it would be /home/dsl, so ~/.xinitrc is /home/dsl/.xinitrc.

Since the file begins with a dot, it is a 'hidden' file, which means you probably can't see it in emelfm until you press the "H" button (toggle hidden files).

How would I run "modprobe sb" at startup. I added it to .xinitrc, but it doesn't execute. When I do it manually, I have to be root. So, if I add these lines in .xinitrc, will it work and would I be running fluxbox as root?

sudo su &
modprobe sb &
exit &

Next Page...
original here.