How to get Torsmo (system monitor) and wireless configuration (ndiswrapper, wag) to automatically start at boot.
Command Line Application:
The application "ndiswrapper" is started or run by clicking on the console icon and typing the command after the ">" prompt.
Command Line Script:
In the second file listing below, assume that the path to script "startme" is /usr/local/share/myscript.
See also this posting: http://www.murga.org/~puppy/viewtopic.p ... b4777d6b51
GUI (Graphical User Inteface X-Windows) Application:
The application "Torsmo" is installed using DotPup and is started by clicking on its icon in folder ~/my-roxapps.
GUI and Command Line Application:
The application "wag" can either be started or run by clicking on the console icon and typing the command after the ">" prompt or by using the Wireless Wizard in the X-windows GUI.
1. To start a command line application:
Edit /etc/rc.d/rc.local and add at the end of the file rc.local "modprobe ndiswrapper" and any other command line interface commands you want started before X-windows is started up.
Here's the file listing:
#this file called from rc.local0
#you can edit this file
#When firewall is installed, will append lines to this file...
# to automatically set the time on boot, un-comment the next 2 lines
#rdate -s time.nist.gov
#hwclock --systohc --localtime
#
# to automatically adjust the time on boot, un-comment the next 2 lines
#hwclock -a
#hwclock --hctosys --localtime
#added by rdc 2006-06-22
#Automatically start more programs below:
modprobe ndiswrapper
2. To start a GUI application:
Edit ~/.xinitrc and add the lines below before the line exec $CURRENTWM at the end of the file:
rox /root/my-roxapps/Torsmo
rox /usr/sbin/wag
3. To start a script, put the full path and name of the script at the end of the file rc.local followed with a space and then an ampersand "&".
Code Listing of the last few lines of the file:
#v2.0.0
/usr/sbin/delayedrun &
#v2.01 hide cursor when not moving... (setup in /usr/sbin/input-wizard)
if [ -f /etc/mousehide ];then
IDLETIME="`cat /etc/mousehide | cut -f 1 -d ','`"
fi
#added by rdc 2006-06-22
#Automatically start more programs below:
rox /root/my-roxapps/Torsmo
rox /usr/sbin/wag
/usr/local/share/myscript/startme &
exec $CURRENTWM
###END###
HOWTO Automatically Start Applications at Boot
How to do things, solutions, recipes, tutorials
Message
Author
Return to “HOWTO ( Solutions )”
Jump to
- House Training
- ↳ Beginners Help ( Start Here)
- ↳ Users ( For the regulars )
- ↳ Für deutschsprachige Anhänger
- ↳ Pour les francophones
- ↳ Usuarios de habla Hispana
- ↳ HOWTO ( Solutions )
- ↳ Bugs ( Submit bugs )
- Advanced Topics
- ↳ Additional Software (PETs, n' stuff)
- ↳ Package Collections / Repositories
- ↳ REQUESTS
- ↳ Browsers and Internet
- ↳ Business
- ↳ Compiling
- ↳ Desktop
- ↳ Documents
- ↳ Drivers
- ↳ Educational
- ↳ Engineering/Science/Simulation
- ↳ Eye Candy
- ↳ Filesystem
- ↳ Games
- ↳ Graphics
- ↳ Multimedia
- ↳ Network
- ↳ Security/Privacy
- ↳ System
- ↳ Utilities
- ↳ Virtualization
- ↳ Unsorted
- ↳ Cutting edge
- ↳ Multi-session live-CD/DVD
- ↳ Hardware
- ↳ Audio
- ↳ Networking
- ↳ Dialup
- ↳ Ethernet
- ↳ Wireless
- ↳ Printers
- ↳ Video
- ↳ Puppy Derivatives
- ↳ Puppy Projects
- ↳ Next Puppy Development
- ↳ 4.x
- ↳ Bugs (4.x dev)
- ↳ Usability Issues (4.x dev)
- ↳ 5.x
- ↳ Bugs (5.x dev)
- ↳ Usability Issues (5.x dev)
- ↳ Localization Project
- ↳ Documentation Project
- Taking the Puppy out for a walk
- ↳ Announcements
- ↳ Puppy Power
- ↳ Suggestions
- ↳ Misc
- Off-Topic Area
- ↳ Programming
- ↳ Security
- ↳ Truly off-topic conversations
- ↳ Spam reports