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: Modifying the startup script< Next Oldest | Next Newest >
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Aug. 07 2006,03:27 QUOTE

Quote
Was I supposed to do anything else besides go to the end, press enter, and type that one line?

Yes.  If you add it to the end of .xinitrc the command will never run.  The "exec" command that starts the window manager replaces the current process (.xinitrc) with a new process (the window manager), so .xinitrc is finished at this point and will run no more commands.

Any commands that you want to run along with the window manager should be added above the part that starts the window manager.  In the DSL .xinitrc, this would be before the "case $DESKTOP in" part.  An exception to this would be if you want to run a command with a specific window manager (see where "fluxter" is added in relation to fluxbox).

Also, most of these commands should be followed by "&" so they will be run in the background and allow .xinitrc to continue to the next command.  Exceptions to this would be a few programs that are built to run in the background by default (most daemons), and programs that run in such a short time that running them in the background isn't necessary (such as xsri and xset).


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





Group: Members
Posts: 5
Joined: Aug. 2006
Posted: Aug. 07 2006,03:57 QUOTE

OK, thanks. I still haven't figured out how to run a script, though. Any ideas?
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Aug. 07 2006,14:17 QUOTE

same as running any other application from .xinitrc....add the path to the script somewhere before the "case $DESKTOP", followed by "&"

--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
7 replies since Aug. 06 2006,19:54 < 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: Modifying the startup script

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