Juanito - you are a fountain of easy tips to follow. Thank you.
Got 300 lines of "wifiez.pl" done last night - will be testing.
... not quite sure where I would put these. Right now I am using:
\tce\uaps\uscripts
\tce\uaps\bin
and
\tce\uaps\data
p.s. I would add 10 - 20 examples to each of the Dummies pages,:
EXAMPLES:
Example 1. To use the default settings,
Example 2. To save your settings to a USB or hard drive in a special folder on your own media:
Example 3: a simple test to save your desktop image.
Example 4: you want TC to log onto the internet and open a browser everytime you boot.
Example 5: you want a special script to run when you boot
a)
b)
c)
Example 6: Let's make a script that says "Good day" and then waits for you to hit enter before you get your desktop.
Example 7: you want a special script that does something when you shut down.
Example 8: you want to save your browser settings. Each time Firefox loads it "forgets" things like your home page unless you have something like this:
Example 9: you want a particular mp3 to start playing everytime you boot.
Example 10: setting up what applications are loaded when you boot. Some folks want a browser to load, others want a media player or a software language like Perl. Use the Application Manager to set up which TCZ files load "ON BOOT" or "ON DEMAND".
sort kindergarten - like this:
a) Go to control panel
b) Select Application Manager
c) Select On Boot
d) The tcz files you already loaded will be listed.
e) Click one and it will move to the right panel.
f) Select more than one, but remember this can slow down your boot and you may want to use the ON DEMAND option instead.
g) Exit the ON BOOT option by clicking ON BOOT at the top and your settings will be saved.
Now select On Demand
a) You will see your TCZ files you have loaded.
b) Repeat the click on left, it moves to the right, and creates a list of On Demand applications.
c) Then click On Demand and exit this utility.
Perhaps some utility you want hasn't already been loaded. Here's how to go get those:
a)
b)
c)
Now repeat the On Boot or On Demand steps and these will be automatically loaded according to your preferences.
Example 11: lets say you wanted to get rid of your "Windows Web Server" (rather well known for being a security risk), and install a faster, tighter more robust server and also include Perl.
(suggested examples only - not accurate)
a) Go get these files
b) put this in On Boot with Ap Mgr or you could also just load these lines in onboot.lst with the command
echo 'serverprogram.tcz' >> /mnt/hda1/tce/onboot.lst (assumes hda1 is your hard drive used to boot)
echo 'perl5.tcz' >> /mnt/hda1/tce/onboot.lst
c) now after configuring your web server it should load and begin serving web pages each time your system reboots.
For more information on configuring and using one of several web server ap tcz files, visit the repository or forum links. Here are a few of them to get you going.
a)
b)
c)
More complicated examples:
Example 13: Your boss wants you to have a spreadsheet ready every day by 10. Every day you have to go to a web site and check the current price of gold and silver (or wheat, copper, or great laptop deals at a wholesale site - whatever), and post the top ten best deals as raw data in a file.
You used to use Internet Explorer and Excel, and you have found that Firefo and Gnumeric does everything you need.
You can:
a) continue using your Windows programs and wait and wait for it to boot ... and load ... and sometimes crash, or
b) have Tiny Core ready to go in a little over 10 seconds, and be in your spread sheet program the first thing every morning when you boot up, and playing your favorite music in the background. Here's how:
1. Get the files
a)
b)
c)
2. Set up the Ap Mgr On Boot Command or onboot.lst - here are both methods:
a)
b)
c)
or
a)
b)
c)
3. Notice that to open that particular media (album) you need to tell the media player where the songs are and usually this is best done by putting those songs in a specific folder, such as
/usr/mary/mybands/mymorningband/
and in that folder, put in their MP3's you downloaded from their web site, such as
song1.mp3
song2.mp3
song3.mp3
Now:
1. Run your media player (see above on how to get that)
2. Select File Preferences Play List and then Play from Folder. You should see the folder of your favorite morning group's album. If not, here is how to find it:
a)
b)
c)
3. Save your settings, then test them by running the media player again. If it remembered your folder with the album, the music should start playing right away.
Now let's get that spreadsheet working:
1. Get the tcz file. Firefox has become pretty popular and is very stable.
a) do this
b) do that
c) and do this to make sure your home page and book marks are saved. Perhaps this is your page your boss wants you to visit each day to get your data.
Now let's get that spreadsheet working:
1. Get the tcz file. Many people like Gnumeric. Here's how:
2. Now let's make a script that loads both the media folder and Gnumeric at the same time.
a) Open the editor - here's how to do that:
b) The first line of a .sh script should always be the old she-bang and this and that. It looks like this:
c) The next 3 lines makes sure your drive with your media and programs and spreadsheets has been mounted.
d) The next line runs the media player. If your play list settings were saved, it should start playing your morning album.
e) The next 3 lines automatically logs you onto the Internet and runs Firefox.
Note: You may need to tinker with these lines to get connected with a wifi or ethernet system. More details on that in example 14 below and at "this link". These lines are just examples and you will probably have to change a few things. Here's one example of all the lines to make your system automatically go live on the internet with ethernet and open Firefox:
Here is an example of making it do that and go live with wifi and Firefox:
f) The next line runs Gnumeric and automatically opens the right spreadsheet. Then you can cut and paste the data from the web page to the spread sheet. Here's how:
Here is what it all looks like together. The good thing about scripts is once you have made them, you only have to type them once and they usually run consistently each time - all automagic.
Poof! You get to make your boss happy and you get to smile while you use a spreadsheet program and media player that won't crash, and only took a few seconds to load.
Try a timed test:
a) Turn off your PC.
b) Look at a watch and note the exact time as soon as the first word - any word - appears on the screen, such as RAM or Press F2 for Bios - anything at all.
c) Reboot and go back to Windows, after it finally boots, open your media player and start your album.
d) Then connect to the internet and open IE and go to the site.
e) Copy the data and then
f) Open your spreadsheet and paste the data there.
Now look at your timer. How long did it take?
Now let's try that with Tiny Core and your new script. Get ready with your stop watch and then reboot and start the timer as soon as you see Press F2 for Bios or anything at all.
1. Follow the same steps and cut and paste the text into your spreadsheet.
2. Stop the clock and compare the time. Now gently explain the results of your test to your boss.
Example 14: some other tricky persistent tip the gurus know that is often very helpful
etc.