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 >
jrobinson Offline





Group: Members
Posts: 5
Joined: Aug. 2006
Posted: Aug. 06 2006,19:54 QUOTE

Hello! I'm building a digital picture frame for my mom using an old 466mhz hp laptop with a bad battery and piercingly loud hard drive.
I used an ide-to-cf adapter to hook up a 128mb CF card, since that's the biggest one I could find. Anyway, I need to do the following, which I hear involves editing .xinitrc:
-Not have the screen blank after a period of inactivity.
-Run a shell script in my home directory that will start feh (or whatever else I decide on) with images from a thumb drive: let's call it slideshow.sh
-Not pop up dillo.
I'm starting with a fresh install of DSL, so if you want to just change the default xinitrc file and let me copy it, that's fine. Thank you and have a nice day.

James Robinson
Back to top
Profile PM 
Cinnamon Offline





Group: Members
Posts: 2
Joined: Aug. 2006
Posted: Aug. 06 2006,21:09 QUOTE

To prevent the screen going blank add these line to .xinitrc:
Code Sample

xset s off &


To prevent the dillo to pop-up when starting just add # first on the same line as dillo /usr/ ......

I have my DSL on a usb memory stick. So I have to make a backup to keep my settings.
Back to top
Profile PM 
jrobinson Offline





Group: Members
Posts: 5
Joined: Aug. 2006
Posted: Aug. 06 2006,21:24 QUOTE

First of all, thank you so much!

Second of all, I did it and Dilllo did not pop up. I still haven't been away long enough to test whether or not the screen will blank. I still want to be able to have it run a specific shell script when it boots up, which contains the commands to start the picture software, feh.

Again, thank you, you are appreciated.

James Robinson
Back to top
Profile PM 
jrobinson Offline





Group: Members
Posts: 5
Joined: Aug. 2006
Posted: Aug. 06 2006,21:57 QUOTE

Nope, the screen still blanked. Was I supposed to do anything else besides go to the end, press enter, and type that one line?

To start slideshow.sh, would I just add this line to the end?
Code Sample
slideshow.sh &
Back to top
Profile PM 
jrobinson Offline





Group: Members
Posts: 5
Joined: Aug. 2006
Posted: Aug. 06 2006,22:25 QUOTE

Interestingly enough, running the command you gave me works fine in the terminal, so if I can start a shell script on startup, i can make that the first line.
Back to top
Profile PM 
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