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: Black screen with .xinitrc, start a bash script at startup< Next Oldest | Next Newest >
henk.1955 Offline





Group: Members
Posts: 41
Joined: Feb. 2005
Posted: Mar. 17 2005,12:20 QUOTE

Why do you want to kill aplications you dont want to run. Dont start them.
Change the top of .xinitrc to:
Code Sample
# put X windows programs that you want started here.
# Be sure to add at the end of each command the &
#grep noicons /proc/cmdline >/dev/null
#if [ $? != 0 ]; then
#  enhance &>/dev/null &
#fi
#dillo -f /usr/share/doc/dsl/getting_started.html &>/dev/null &
and NO icons, NO wmapps and NO dillo Getting Started popup.
Back to top
Profile PM WEB 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Mar. 17 2005,16:41 QUOTE

Quote (MAGAT @ Mar. 17 2005,03:57)
fluxbox &
rxvt -rv -T fixed yellow "start shell" -e sudo sh /mnt/hda1/start.sh

and

rxvt -rv -T fixed yellow "start shell" -e sudo sh /mnt/hda1/start.sh &
fluxbox

The first one loads fluxbox in the background and runs your script normally.  When the script ends, your X session ends.

The second one runs the script in the background and then runs fluxbox normally.  When the script ends, your X session is not killed.  The session runs until Fluxbox is closed.

I agree completely with henk.  You're just making extra work for yourself by closing unwanted running programs rather than just not starting them in the first place.


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





Group: Members
Posts: 16
Joined: Sep. 2004
Posted: Mar. 17 2005,17:41 QUOTE

Thank you
for all this information
vincent from france
Back to top
Profile PM 
7 replies since Mar. 16 2005,22:47 < 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: Black screen with .xinitrc

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