Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Running a Command Line At Fluxbox Startup< Next Oldest | Next Newest >
BuGaLoU Offline





Group: Members
Posts: 15
Joined: Dec. 2004
Posted: Jan. 12 2005,22:24 QUOTE

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!
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Jan. 12 2005,22:31 QUOTE

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


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
BuGaLoU Offline





Group: Members
Posts: 15
Joined: Dec. 2004
Posted: Jan. 12 2005,23:10 QUOTE

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
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Jan. 13 2005,01:34 QUOTE

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).


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
rossjman1 Offline





Group: Members
Posts: 69
Joined: Oct. 2004
Posted: Jan. 18 2005,01:32 QUOTE

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 &
Back to top
Profile PM AOL 
5 replies since Jan. 12 2005,22:24 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Running a Command Line At Fluxbox Startup

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code