Revision [20373]

Last edited on 2012-01-30 12:21:38 by darkcity
Additions:
To execute something prior to the X desktop loading, edit-
To execute something on shutdown or reboot, edit-
Deletions:
To execute something at prior to the X desktop loading, edit-
To execute something at prior to the X desktop loading, edit-


Revision [20372]

Edited on 2012-01-30 12:20:46 by darkcity [AddCommandsStartupShutdown]
Additions:
====How to add Commands at Startup and Shutdown====
Deletions:
====How to add Commands at Startup and Shutdown find the Puppy State====


Revision [20371]

Edited on 2012-01-30 12:20:23 by darkcity [AddCommandsStartupShutdown]
Additions:
[[HomePage]] > [[ComponentHowTo Components and HowTos]]
====How to add Commands at Startup and Shutdown find the Puppy State====
==Execute After X GUI start up==
A simple way to add an action is put an executable, scripts or symlink to in the directory-
##/root/Startup##
This is handy if you want something to run automatically.
You can easily create a "symlink" (symbolic link) to an executable.
For example, say that you wanted to run /usr/local/bin/rubix (a game)
everytime Puppy is started. Use ROX-Filer (the file manager) and open
two windows, one on /usr/local/bin, the other on /root/Startup.
Then just drag 'rubix' across and a menu will popup and ask if you want
to copy, move or link, and you choose to link.
==Execute Before X GUI start up==
To execute something at prior to the X desktop loading, edit-
##/etc/rc.d/rc.local##
==Execute on Shutdown==
To execute something at prior to the X desktop loading, edit-
##/etc/rc.d/rc.shutdown##
Deletions:
[[HomePage]] > [[ComponentHowTo Components and HowTos]]
====How to find the Puppy State====
Information about the Puppy State is stored at ##/etc/rc.d/PUPSTATE##
It includes information including [[BootParameters]] such as Pmedia and Psubdir, as well as PupMode and [[SaveFile PupSave]] file.
==Using Terminal==
You can see this file by going to a [[TerminalEmulator terminal emulator]] and typing in the following code (ensure letter cases are copied exactly)-
%%cat /etc/rc.d/PUPSTATE%%
==""Using PupSysInfo""==
Open PupSysInfo go to 'System Files' and select 'PupState'


Revision [20369]

The oldest known version of this page was created on 2012-01-30 12:06:39 by darkcity [AddCommandsStartupShutdown]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki