Other Help Topics :: Modifying the startup script
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
To prevent the screen going blank add these line to .xinitrc:
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.
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
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 & |
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.
Next Page...
original here.