Start-Up script
Hey everybody, I'm looking to use my Debian machine as a digital picture frame and I need feh to start when the machine boots up. All of the components are mounted behind an LCD in a wood frame and the whole thing hangs on the wall. How can I make feh start during boot up so that I dont need to have a mouse and keyboard plugged in? How do I write the script for that? -Dan Dan W. Priestley Phone: (248) 642-4765 Cell: (248) 321-2347 Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Start-Up script
Dan Priestley [EMAIL PROTECTED] writes: Hey everybody, I'm looking to use my Debian machine as a digital picture frame and I need feh to start when the machine boots up. All of the components are mounted behind an LCD in a wood frame and the whole thing hangs on the wall. How can I make feh start during boot up so that I dont need to have a mouse and keyboard plugged in? How do I write the script for that? I think gdm can automatically logon a user at boot and then use the tools provided by whatever window manger you use to start that app full screened and focused each time. -- -Angelina Carlton- orchid on irc.freenode.net [EMAIL PROTECTED] web:bzgirl.bakadigital.com -- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: start up script operation
on Sun, Mar 18, 2001 at 02:28:23PM -0500, John Kerr Anderson ([EMAIL PROTECTED]) wrote: Hello, I have entered a start up script named sysinit in the /etc/init.d directory. I issued the command update-rc.d sysinit start 20 2 3 4 5 . stop 20 0 16 . which seemed to work OK. When I restarted the computer the changes (starting hdparm changing the text mode screen colours with setterm) failed to change the settings. Is there something I'm doing wrong? Do I need a separate file for each command? Any help would be appreciated! :-) Here is my sysint file: # speeds up I/O for the hard disk /sbin/hdparm -c3 -A1 -m8 /dev/hda # these commands change the text consoles into blue background and white # foreground screen colours. /usr/bin/setterm -background blue -foreground white /usr/bin/setterm -store Read the file /etc/init.d/README and references therein for general information on the SysV init system. I'd strongly recommend adapting /etc/init.d/skeleton to create a suitable init file. What are your file permissions -- executable helps. -- Karsten M. Self kmself@ix.netcom.comhttp://kmself.home.netcom.com/ What part of Gestalt don't you understand? There is no K5 cabal http://gestalt-system.sourceforge.net/ http://www.kuro5hin.org pgp6PH2jmKnI2.pgp Description: PGP signature
start up script operation
Hello, I have entered a start up script named sysinit in the /etc/init.d directory. I issued the command update-rc.d sysinit start 20 2 3 4 5 . stop 20 0 16 . which seemed to work OK. When I restarted the computer the changes (starting hdparm changing the text mode screen colours with setterm) failed to change the settings. Is there something I'm doing wrong? Do I need a separate file for each command? Any help would be appreciated! :-) Here is my sysint file: # speeds up I/O for the hard disk /sbin/hdparm -c3 -A1 -m8 /dev/hda # these commands change the text consoles into blue background and white # foreground screen colours. /usr/bin/setterm -background blue -foreground white /usr/bin/setterm -store - . John Kerr Anderson `:::' ... .. [EMAIL PROTECTED] ::: * `::.::' Powered by: ::: .:: .:.::. .:: .:: `::. :' ::: :: :: :: :: ::.::. D E B I A N G N U/::: .::. .:: ::. `. .:' ::. 2. 2 ...:::.::' ... UNIX is user friendly. It's just selective about who its friends are. This E mail is 100% virus free! How do I know? Because no Microsoft products were used to generate it! -