Hansamben - 412 - Kids Linux distro based on Puppy Linux 412

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

#46 Post by sidders »

technosaurus.

I have been looking and poking around in Busybox, after poking around in the kernel with Bootsplash (shelved). May have a crack at fbsplash formerly known as gensplash.

Configure and make busybox with fbsplash from scratch and including what is already in the puppy busybox seems straight forward, ticking the required applets. Am i right?. There is something nagging me about headers and the like.

Initrd and fbsplash can wait for the moment.

I will get going again with HSB, just need to get this out of my system.

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

#47 Post by technosaurus »

That would be OK in tinycore, but not Puppy - gnu libc is not in the initrd so you would actually need a uclibc setup of some kind - they used to have a wrapper, but now you need something like buildroot or your busybox will be roughly double the size because it will link with gnu libc. The reason it will work in tinycore is that they just go ahead and keep the init and the gnu libc for system use rather than trashing it after the pivotroot like most distros do (puppy only keeps the kernel modules as far as I know) I'm sorry if it got you on a wild goose chase. The 4.2.1 version had something set up but I always do a manual frugal install so I never see these things.
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

#48 Post by sidders »

Thanks Technosaurus. At least i had a good look at Busybox and now know what its about.

User avatar
yarddog
Posts: 188
Joined: Mon 30 Nov 2009, 23:00
Location: Great Smoky Mountains, TN USA

#49 Post by yarddog »

I am currently using the iso version without the sfs setting up games for my grandchildren. This is working extremely well .
I would like to add some swf games and run in a HTML Viewer such as Puppy HTML Viewer. I want to eliminate any possibility of their getting into areas that would cause problems.
Using your CTRL-H , CTRL-D helps, but using the Firepup browser to run the swf games, they still see the bar with File, Edit, View , Go, Bookmarks, etc and their inquisitive minds could create problems.
Can the HTML viewer be added to this version? Is there a pet for it?
Any help you can provide will be greatly appreciated.

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

#50 Post by technosaurus »

there is a kiosk mode for opera, but you should be able to use

bareview /path/to/game.swf

also F11 will go full screen without the file edit view

or use this plugin if you want it permanent
https://addons.mozilla.org/en-US/firefox/addon/1659
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].

User avatar
yarddog
Posts: 188
Joined: Mon 30 Nov 2009, 23:00
Location: Great Smoky Mountains, TN USA

#51 Post by yarddog »

deleted
Last edited by yarddog on Tue 09 Mar 2010, 03:51, edited 1 time in total.

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

#52 Post by technosaurus »

it is usually in the /usr/lib/seamonkey (or firefox) directory

you could try the webkit gtk or midori (webkit based) browser that I built out of svn a while back - they work with flash as well

Midori - 2.5MB
http://puppy-development.googlecode.com ... 2.2-92.pet

or the basic webkit browser
http://puppy-development.googlecode.com ... gtk.tar.gz
(I could probably hack out the code )

but you may need this updated glib too (maybe more if puppyversion is less than 4.3)
http://distro.ibiblio.org/pub/linux/dis ... 2.2-p4.pet
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].

User avatar
yarddog
Posts: 188
Joined: Mon 30 Nov 2009, 23:00
Location: Great Smoky Mountains, TN USA

#53 Post by yarddog »

Again, thanks for quick response
Will try these and report back on outcome

User avatar
yarddog
Posts: 188
Joined: Mon 30 Nov 2009, 23:00
Location: Great Smoky Mountains, TN USA

#54 Post by yarddog »

deleted - dumb questions on my part
Last edited by yarddog on Tue 09 Mar 2010, 03:53, edited 2 times in total.

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

#55 Post by technosaurus »

delete /root/.midori (or was it /root/.config/midori) and it will reset back to normal without the fail screen, but normally you should be able to reset... hmmm - that was an svn build & it seems there has since been a stable release
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].

User avatar
yarddog
Posts: 188
Joined: Mon 30 Nov 2009, 23:00
Location: Great Smoky Mountains, TN USA

#56 Post by yarddog »

deleted - more dumb questions on my part
Last edited by yarddog on Tue 09 Mar 2010, 03:55, edited 1 time in total.

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

#57 Post by technosaurus »

if you have seamonkey installed those libraries should be in its directory - you can place the bareview binaries there, but to run it you will need the full path (/usr/lib/seamonkey-1.1.14/bareview mygame.swf)
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].

User avatar
yarddog
Posts: 188
Joined: Mon 30 Nov 2009, 23:00
Location: Great Smoky Mountains, TN USA

#58 Post by yarddog »

At long last, I am now able to use bareview to run swf games without actually running in firefox or seamonkey web browser.

Thanks again for all your help - you have been a tremendous help to a very, very dumb linux user
yarddog

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

#59 Post by technosaurus »

No problem

I almost totally forgot adobe's standalone flash player

http://download.macromedia.com/pub/flas ... dev.tar.gz

Edit: I posted version 9 because while there is a slightly more stable version 10, it requires libraries that are normally provided by mozilla (they can be separate, but have never been that way in Puppy)... in that case the flash plugin makes more sense.
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].

User avatar
yarddog
Posts: 188
Joined: Mon 30 Nov 2009, 23:00
Location: Great Smoky Mountains, TN USA

#60 Post by yarddog »

ok - now have swf games and have added childs play

I now want to remaster this with my new changes to be set it up like the kiosk version...

my remastered copy should allow user to boot cd, play the games and shutdown - nothingelse

I know how to remaster the cd, change it where it does not ask to save on shutdown but cannot figure out how to remove other stuff so it works like the kiosk

again, any help will be greatly appreciedte
yarddog

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

#61 Post by technosaurus »

to remove the tray delete /root/.jwmrc-tray
more info for jwm kiosk related stuff here:
http://www.murga-linux.com/puppy/viewtopic.php?t=51200

I haven't used it in a while so I have forgotten what all else I removed when I did it - anything specific?
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].

User avatar
yarddog
Posts: 188
Joined: Mon 30 Nov 2009, 23:00
Location: Great Smoky Mountains, TN USA

#62 Post by yarddog »

OK, I am getting closer
my remaining problem is when I press CTRL+ALT+D to disable right click on mouse
then remaster the cd
right click on mouse is back

How do I disable the Right Click on the Mouse and retain it when I remaster the CD?

Can you advise where this function is stored and maybe I can figure it out

appreciate all your help and patience
yarddog

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

#63 Post by sidders »

Yarddog

When the key combo is pressed to disable the right mouse a line is written to xorg.conf (using SED). I have that in one of the startup scripts. Once i have a little time away from my rugrats, i will give you the exact details.

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

#64 Post by technosaurus »

rather than disable the right mouse click all together you can edit the jwmrc template where it says onroot="3"
change it to onroot="{0,4-9}"

(1,2, and 3 are left middle and right mouse click)

then if you just rename your tray instead of deleting it you can change the corresponding root:#
<TrayButton label="Menu" icon="mini-dog.xpm">root:3</TrayButton>

(I am assuming you may need the right mouse click at some point - Gcompris has a mouse learning module that uses it)
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

#65 Post by sidders »

This is the way i did it in the kiosk versions

/usr/sbin/xorgwizard

Between the lines

[/quote]#######################
and
#echo "Probing the video card and monitor..."

I adjusted some code to

Code: Select all

#v2.21 quick hack...added buttonmapping to disable right mouse sidders
sed -e 's%/dev/input/mice%/dev/mouse%'  /etc/X11/xorg.conf > /tmp/xorgconfmousefix
sed  '/ZAxisMapping/ a\
    Option      "ButtonMapping" "1 1 1"' /tmp/xorgconfmousefix > /etc/X11/xorg.conf
rm /tmp/xorgconfmousefix
As Technosaurus says there is no way back unless you edit the file. It also doesnt work with laptop touchpads.

Post Reply