Revision [20247]

This is an old revision of PuppySchool made by CrustyLobster on 2012-01-12 04:23:41.

 

HomePage > ComponentHowTo Components and HowTos > HowToProgramming Programming
Puppy School

Welcome to Puppy Hacker School. You can do in sequence or any order that grabs your fancy. Crackersgo here

You can get further help on the forum, ChatRoom IRC chatroom or try the PuppyPhone soft phone


Get Puppy Linux

Puppy Basics
Beginners Forum, this wiki and just playing with Puppy will get you started.
A tutorial and manual covering basics exists

Video tutorials
TutorialYouTube Various vids on getting used to Puppy
IcyOS Puppy Channel

Command Line
Read and try out read and try out ref table


New Programming - Que?
What is Programming?

My First Bash
you may have to change the permissions of the file to run it - right click and see where you can change permissions

New My First Variable
This code introduces input (the read command)
and variables
The read command lets you change the variables each time the program is run

	#!/bin/sh
	echo "enter two numbers"
	read a b
	c=$(($a+$b))
	echo "$a + $b = $c"
	# or
	let c="$a+$b"
	echo "$a + $b is $c"


Instant Bash

3 lesson set starting with 'Hello world' program Puppy syyle
	#! /bin/bash
	# 16 Dec 2011 Lobster
	# Example 1 hello world example
	
	xpupsay "hello world"
	xpupsay "puppy power"

Speak Puppy a first programming effort
Example usage video Buddhist cyber shrine

More Bash Script

Slice of Bacon with Barry Kauler
Bacon is a Basic language to C converter

Getting involved
New Saluki in Alpha testing. Get your hand in testing and offering feedback code etc. Hacker school is hands on . . .

New New Run
Process for a new run from DVD booting

First Preparing
1. backup html bookmarks (onto HD)
2. move any essential files to hard disk
3. download and burn ISO

Now first run
1. use 'puppy pfix=ram' as the boot command (start typing when boot: appears on screen) I do this on first boot but is not required for new users
2. Turn on firewall from icon bar bottom right, left clicking runs wizard
3. Do a save after initial set up, I now do max size 4GB saves
4. Click on 'Setup' top row of icons for tweaking
5. Use the 'connect' icon. Ethernet is auto connected.
6. In Rox options/thumbnails/show images - I prefer to see images in folders
7. Add my own backgrounds from Hard Drive (usr/share/backgrounds)
8. Change icons. Adjust the style of the clock with Menu -> General Utilities -> PupClockset manager.
9. Put on pupblocker, import bookmarks

Hardware

Puppy Development System
devx tutorial
All about compiling (forum registration required) coming soon . . .


Create your own Linux Distribution coming soon . . .
video tutorial with Sneaky Linux

Remastering
Before you remaster, you need to

1. rename /usr/sbin/xorgwizard to /usr/sbin/xorg-setup
2. copy the attached xorgwizard into /usr/sbin. ( right-click -> Save As) http://diddywahdiddy.net/Puppy500/xorgwizard

What is happening is that on first boot, the attached xorgwizard runs and Lucid boots to the desktop, then it renames xorg-setup to xorgwizard so that users can run xorgwizard. Sneaky, huh?

You also need to change the permissions on /root/Startup/fullstart. You could do that during the remastering process when it gives you a chance to adjust files in /root. The way I do it is to right-click and choose Permissions. So if the name fullstart turns green that means the permissions are correct for it to run on first boot.

creating a md5sum
# md5sum Lucid_Tmxxine-v1.iso > md5sumtxt

Woof2 beyond remastering Advanced


We are The Dorg. Resistance is Futile.
There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki