HanSamBen-a derivative of Edupup with Gcompris 8.4- Alpha V2

For talk and support relating specifically to Puppy derivatives
Message
Author
sidders
Posts: 464
Joined: Wed 23 Jul 2008, 18:47
Location: Bolton, uk

#211 Post by sidders »

Along the lines of:

Creativity
Discover the world
Fine motor skills
Hand eye coord
Learn to read
Learn to write
Problem solving
Social skill
Stimulating senses
Sharing

All the categories taken from ELC , under the learning skill section

http://www.elc.co.uk/?ppckey=elc&ppc=google

PS. I must mention the idea was nicked and was encouraged by a bottle of Argentine Malbec. It may get the ball rolling.

User avatar
ecomoney
Posts: 2178
Joined: Fri 25 Nov 2005, 07:00
Location: Lincolnshire, England
Contact:

#212 Post by ecomoney »

Now the kiddies are back at preschool, I will ask some of the teachers there to get involved in helping produce the documentation.
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

User avatar
sullysat
Posts: 367
Joined: Tue 16 Oct 2007, 19:23
Location: San Antonio, TX

#213 Post by sullysat »

I'm drafting. Will get something posted asap.

cj.veniot

Running Edupup with Virtual PC

#214 Post by cj.veniot »

G'day folks,

Another option to installing, dual-booting, and running from Live CD: booting from the ISO with Virtual PC.

I use virtual PC a lot of the time to test any version of Puppy without burning CD's. Just have to boot the CD's (or ISO's) with: puppy i8042.noloop clock=pit

Just in case there are scenarios where dual-booting on a Winblows machine isn't practical and users want to be able to quickly switch between Winblows and HanSamBen. Of course, it requires a machine with a little extra gusto than HanSamBen needs on it's own.

(You know, a VMWare-HanSamBen appliance might be attractive...)

Cheers and best regards.

User avatar
ecomoney
Posts: 2178
Joined: Fri 25 Nov 2005, 07:00
Location: Lincolnshire, England
Contact:

#215 Post by ecomoney »

Hi, Im sorry to have to report some major problems with the new release, specifically the add-on sfs's. I arrived at the Nursury at the start of the new term saying I had some extra games for them. I was then stuck for hours trying to make good on my promise and finding the shortcut icons for the games in them for the desktop. Im not sure if I did find them all. Is there a way of adding these automatically without going through the "/initrd" directories? Its a common problem with .sfs files as they have no way of adding desktop entries automatically, so if this could be done as (theoretically) a script that adds lines to the /PuppyPin text file (which defines the desktop icons) then this could be reused by other puppy projects.

Ive also had the opportunity to test the windows hansamben installer, and I can confirm it works on the few machines Ive tried it on. Unfortunately its still possible for the little darlings to find their way onto the host windows drive and delete things, and the pDisk partition manager is still showing on the menus (although gParted has gone).
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

sidders
Posts: 464
Joined: Wed 23 Jul 2008, 18:47
Location: Bolton, uk

#216 Post by sidders »

I'll work on the SFS icons, there is also the issue of the SFS's on a full install.

I have the Livecd\Kiosk down to 164mb (with no docs as yet), but still stuck on eliminating the right click. I will drop it for the moment and pick it up later.

User avatar
ecomoney
Posts: 2178
Joined: Fri 25 Nov 2005, 07:00
Location: Lincolnshire, England
Contact:

#217 Post by ecomoney »

cj, Ive just read your post fully. Your talking about a qemu version of HSB? It certainly would give our more well heeled computer owners a solution to the real world problem of being able to let their kids on their computer without fear...especially if it automatically ran full screen and we had a more obscure "exit window" key combination than Alt+Enter (kids tend to bash the keyboard with both fists more than adults are occasionally prone to :roll: ). Would you have the time to build such a package for us?

To go along with the documentation, does anyone have any website building expertise? I have webspace which I can give either empty, or with a CMS installed (such as drupal etc).

Sidders, many thanks for time put into the icons. I believe under bash there is a instruction for extracting .sfs files, adding support for them under the installer might just be as simple as "[bash extract] *.sfs", perhaps technosaurus would advise.
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#218 Post by technosaurus »

Icons are easy - just drag the .desktop file from /usr/share/applications to the desktop (if the desktop file properly uses the full path to the icon then it should already have an icon set... I think the path is usually /usr/local/lib/pixmaps/some_name.png)
or drag an executable to the desktop and right click > file 'some_game' and then set icon

@ sidders - I am compiling a bunch of core packages right now but I would look at Barry's script that does the drive icons (/etc/rc.d)
the rest is just mounting the sfs - I can't remember where that one is, but I would update it to look for and run pinstall.sh in the root of the mounted sfs (pet packages are already set up to do this so look in petget for that)
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

sidders
Posts: 464
Joined: Wed 23 Jul 2008, 18:47
Location: Bolton, uk

#219 Post by sidders »

Just had a quick look at icons for SFS, they're a bit on the small size.

TODO:
1.Sort icons for sfs - done but not yet uploaded

2. Look at Dejans script for Full sfs install and add something for the desktop for both full and frugal.
look at Barry's script that does the drive icons (/etc/rc.d)
3. Still not looked at Qemu, discover whether it can be packaged to download and fireup with little or no user intervention.

4. find out who does the DOS games and send a nice letter.

5. Look at the win exe installer and incorporate. Edit- Duh, Robs already sorted it.

6. Look at the full install script

command > file

subsequent commands

command >> file

ex.

echo "this is the section where... to some variable" $VARNAME1 >> myoutfile.txt
7. Keep an eye on pebble
http://www.murga-linux.com/puppy/viewto ... 9&start=75
At the moment, it's not looking like I'll start on Pebble 2.0 until Fall
8. Upload HSB with md5sum - Done

9. Coins game with Euro and Aus dollar - Done whilst the forum was down

This list is more for myself. Its in one place.
Last edited by sidders on Thu 01 Oct 2009, 08:26, edited 3 times in total.

cj.veniot

QEMU?

#220 Post by cj.veniot »

Eh, not so sure I'm crazy about QEMU for this. Using DSL with QEMU, there's a significant slow-down.

Now KQEMU, maybe. My personal life isn't quite all settled yet, but I'll see if I can look into that.

I'll look into a VMWare solution too.

Either way, I like the idea of an "appliance" requiring no install on a machine that needs to keep running Winblows.

Cheers folks.

User avatar
ecomoney
Posts: 2178
Joined: Fri 25 Nov 2005, 07:00
Location: Lincolnshire, England
Contact:

#221 Post by ecomoney »

Either way, I like the idea of an "appliance" requiring no install on a machine that needs to keep running Winblows.
Thats the only way its gonna make its way into UK schools, because of their current lock into Micro$oft, through the "building schools for the future" programme.
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

sidders
Posts: 464
Joined: Wed 23 Jul 2008, 18:47
Location: Bolton, uk

#222 Post by sidders »

Thinking of Icons automatically placed on desktop for SFS. The Puppy event management handles the drive icons, inparticular the pup_event_frontend (with the drive icons the backend tells the frontend that there is a drive, the front end then sorts the icon).

Could a script in an sfs tell the front end that it has been loaded and create the icons on the desktop?.

Just knocking a couple of ideas about.

http://puppylinux.com/technical/event-management.htm

http://www.puppylinux.com/blog/?viewDetailed=00145

User avatar
ecomoney
Posts: 2178
Joined: Fri 25 Nov 2005, 07:00
Location: Lincolnshire, England
Contact:

#223 Post by ecomoney »

SFS files pose a big problem for our newbies, which is why they are always requesting .pets when .sfs files have been supplied i.e.

http://www.murga-linux.com/puppy/viewtopic.php?t=45950

The desktop icons are defined in the file /root/Choices/ROX-Filer/PuppyPin , like this...

Code: Select all

<?xml version="1.0"?>
<pinboard>
  <icon x="224" y="960" label="sdb1" args="usbdrv vfat">/root/.pup_event/drive_sdb1</icon>
  <icon x="160" y="960" label="sda2" args="drive vfat">/root/.pup_event/drive_sda2</icon>
  <icon x="96" y="960" label="sda1" args="drive vfat">/root/.pup_event/drive_sda1</icon>
  <icon x="32" y="960" label="fd0" args="floppy vfat">/root/.pup_event/drive_fd0</icon>
  <icon x="768" y="128" label="save">/usr/sbin/save2flash</icon>
  <icon x="240" y="80" label="Explore Internet">/root/bin/Firefox</icon>
  <icon x="400" y="80" label="aMSN">/root/bin/aMSN</icon>
  <icon x="544" y="80" label="Yahoo">/root/bin/Yahoo</icon>
  <icon x="688" y="80" label="skype">/root/bin/skype</icon>
  <icon x="96" y="192" label="Downloads">/root/bin/Downloads</icon>
  <icon x="96" y="80" label="firefox">/root/bin/firefox</icon>
</pinboard>
Any sfs file would need to add lines to this file (I believe usb-auto has code in it to add lines to XML format). This is tricky as an sfs file doesnt have a script that it runs like a .pet.

The workaround would be to use the /root/Startup folder (everything in here is run at startup) Have the .sfs file place a script in there, which checks to see if the application name is present in the PuppyPin file, and if it is not adds it.

Problem is, puppy 4.1.2 doesnt have a /root/Startup folder (I think), so it would need to be backported from 4.1.2 .
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

sidders
Posts: 464
Joined: Wed 23 Jul 2008, 18:47
Location: Bolton, uk

#224 Post by sidders »

Forget the front_end etc i was waffling on about earlier, your solution to put entries in puppypin is simpler. Maybe a pinstall.sh in the root of the sfs (already suggested by technosaurus) using sed with the insert or add option for new entries into the puppypin. Sounds feasable to me. There again i will have to spend the evening trawling the net to work out the correct sed format.

Well thats my friday night in sorted.

Edit. How hard is the sed command. ans - very

User avatar
ecomoney
Posts: 2178
Joined: Fri 25 Nov 2005, 07:00
Location: Lincolnshire, England
Contact:

#225 Post by ecomoney »

Of course...yes an .sfs can have a pinstall file. I didint know this before. Perhaps you would make the routine to ad an icon to the desktop a library/function...so it can be incorporated in other .sfs's.

Thank you for your long hours Sidders.
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

sidders
Posts: 464
Joined: Wed 23 Jul 2008, 18:47
Location: Bolton, uk

#226 Post by sidders »

The command SED can insert lines to a file (it can do lots of other stuff too). So i was thinking a sed command in the pinstall can insert a line in puppypin.

Its a plan

sidders
Posts: 464
Joined: Wed 23 Jul 2008, 18:47
Location: Bolton, uk

#227 Post by sidders »

The plan worked. I tried it with Etoys sfs just to experiment.


Code: Select all

#!/bin/sh
#script to place etoys sfs icon on desktop
sed '4i\
<icon x="72" y="500" label="Squeakland Etoys" locked="true">/usr/share/applications/etoys.desktop</icon>' /root/Choices/ROX-Filer/PuppyPin > /root/PuppyPin1
mv /root/PuppyPin1 /root/Choices/ROX-Filer/PuppyPin 
It will put the etoys entry into line 4 (under the background entry) in Puppypin. X server needs to be restarted, so i'll put that at the bottom of the script to automate the whole process. Just gotta stick it in a pinstall which i assume will run all\any scripts after the sfs is loaded.

edit. stuck restartwm at the end

User avatar
ecomoney
Posts: 2178
Joined: Fri 25 Nov 2005, 07:00
Location: Lincolnshire, England
Contact:

#228 Post by ecomoney »

:D

So thats how its done.

Have added a link in the making sfs howto.
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#229 Post by sunburnt »

Yep... "Sed" or "grep" can add and remove lines of text from files or variables.
The commands "head" and "tail" can help do this also...
The SFA files that I proposed to jrb would have a standard Bash script in them.
So anything could be done that`s needed to setup the SFA file to work.

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#230 Post by sunburnt »

I wrote a little utility to do exactly this many many years ago.
But it still has not been taken care of that I know of...

Note: The file: PuppyPin sets the executable, but the file: globicons sets the icon pic.

Post Reply