Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 27 Jul 2017, 14:57
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
corepup
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 26 of 27 [398 Posts]   Goto page: Previous 1, 2, 3, ..., 24, 25, 26, 27 Next
Author Message
mcewanw

Joined: 16 Aug 2007
Posts: 3194
Location: New Zealand

PostPosted: Mon 20 Mar 2017, 16:14    Post subject:  

Yes, jwm is great, and for all the reasons you mention wanderer. I will probably use it in the end also, but just becoming familiar also with flwm_topside so I can use it on occasion without pain!

I consider tinycore made a mistake in their flwm_topside compile - they made windows popup when clicked with a mouse (which I realise is what most people expect). However, their is no 'put window on top facility' so the advertised good feature flwm had was to NOT raise windows unless the actual title bar was clicked, which allows keeping window on top... I guess it is a compiled in option change on flwm_topside, which I find a real pain - it is such an efficient wm though that I may end up re-compiling it. Also worth learning fltk programming I expect - should be a lot simpler than gtk and much much simpler that qt - worth studying some tinycore utilities.

William

_________________
SomeOfMyWork with links:
dCoreDog
weX, scrox, Precord, Premote, fokSyfEyeR, xhippo-mod, flite_hts_pet
Back to top
View user's profile Send private message Visit poster's website 
wanderer

Joined: 20 Oct 2007
Posts: 500

PostPosted: Mon 20 Mar 2017, 22:04    Post subject:  

hi mcewanw and all

just compiled jwm 0.21 with
no options
goingnuts make code
and strip

and the binary is 90.28 k
from emelfm
cool

edit
uh oh du gives 96 k
still great

thanks all

wanderer
Back to top
View user's profile Send private message 
wanderer

Joined: 20 Oct 2007
Posts: 500

PostPosted: Tue 21 Mar 2017, 12:16    Post subject:  

hi mcewanw

what i am doing is isolated tinycore utilities and functions
(which are dependent ash scripts)
and turning them into independent ash scripts
no gui just a menu in the terminal
then they will be able to be called by
my master ash script
and through jwm

that is how i will build corepup

very cool very instructive very useful

will keep everyone updated

wanderer
Back to top
View user's profile Send private message 
mcewanw

Joined: 16 Aug 2007
Posts: 3194
Location: New Zealand

PostPosted: Tue 21 Mar 2017, 21:19    Post subject: ntfs in read/write mode  

Hi wanderer,

Just a link regarding ntfs since many may want to use that read/write and by default tinycore has such partitions as read-only. Easy to change that (dCore info here, since that is what I use):

http://wiki.tinycorelinux.net/dcore:server_applications?s[]=ntfs&s[]=write

Just do a search on ntfs write on the tinycore forum and you should find similar info for tinycore itself.

William

_________________
SomeOfMyWork with links:
dCoreDog
weX, scrox, Precord, Premote, fokSyfEyeR, xhippo-mod, flite_hts_pet
Back to top
View user's profile Send private message Visit poster's website 
wanderer

Joined: 20 Oct 2007
Posts: 500

PostPosted: Wed 22 Mar 2017, 09:32    Post subject:  

thanks mcewanw

checking it out now

wanderer
Back to top
View user's profile Send private message 
mcewanw

Joined: 16 Aug 2007
Posts: 3194
Location: New Zealand

PostPosted: Wed 22 Mar 2017, 18:29    Post subject:  

Hi wanderer/all,

I now have weX audio, video, webcam, and screencast gtkdialog-based program working on my dCore-xenial system. Audio and video playback was already fine, but it is a much trickier matter to get audio and video recording subsystem going, and weX a good test of that:

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

However, for some reason webcam audio/video synchronisation is perfect on XenialDog (debian-live type system) but not on Puppy's XenialPup or on dCore-xenial. I doubt if it the ffmpeg version, but might be, so I'll experiment further before releasing install details (including special dCore weX package).

Audio recording and X11 screencast (without webcam) works perfectly on dCore-xenial (and Puppy XenialPup) via weX now anyway. But I also want perfect webcam embedding facility (as on Fred's XenialDog).

William

_________________
SomeOfMyWork with links:
dCoreDog
weX, scrox, Precord, Premote, fokSyfEyeR, xhippo-mod, flite_hts_pet
Back to top
View user's profile Send private message Visit poster's website 
mcewanw

Joined: 16 Aug 2007
Posts: 3194
Location: New Zealand

PostPosted: Fri 24 Mar 2017, 02:06    Post subject:  

Hi wanderer/anyone_interested,

I have now detailed how to Puppify tinycore/dCore in terms of making bash the default shell, adding gtkdialog and a couple of complex Puppy-type bash-gtkdialog apps (weX screencast recorder and weav commandline gui frontend) in steps 24 to 31 of my dCore-xenial HowTo project here:

http://murga-linux.com/puppy/viewtopic.php?p=946639#946639

(EDIT:) It can be a bit complicated to get Puppy utils running on other distributions, particularly since most Puppy utils require bash as the default shell (and it being not enough to simply start such apps from within a bash terminal). Unfortunately a lot of such Puppy utils were only designed to work with user root - weX and weav are among the exceptions to that limitation. ffconvert would be another good/useful candidate for converting for use with tinycore/dCore.

weX is the (superior) replacement for Precord (and also includes all pAVrecord functionality, and more, and provides screencast quality equal or similar to SSR but with additional ability to embed a webcam image stream in the screencast if so selected). I also included gifenc utility (code found by fredx181 - very useful) so that weX has a button to produce animated gifs of any created screencasts/videos.

William

_________________
SomeOfMyWork with links:
dCoreDog
weX, scrox, Precord, Premote, fokSyfEyeR, xhippo-mod, flite_hts_pet
Back to top
View user's profile Send private message Visit poster's website 
wanderer

Joined: 20 Oct 2007
Posts: 500

PostPosted: Fri 24 Mar 2017, 09:37    Post subject:  

wow mcewanw

awesome stuff

you are a dynamo

thanks for all your hard work

trying to digest it all now

wanderer
Back to top
View user's profile Send private message 
mcewanw

Joined: 16 Aug 2007
Posts: 3194
Location: New Zealand

PostPosted: Sat 25 Mar 2017, 03:21    Post subject:  

Though not a big deal, but as a matter of interest regarding my dCore-xenial installation:

When newly booted and only running Top utility in a uxterm, Top says:

used RAM = just under 30 MBytes.
CPU Idle = between 99.8 and 100% (i.e. 0 to 0.2% CPU being used!).

My other small Linux distributions report around 80MB or more RAM and 4 to 5% CPU or more (no conky) for similar onboot load.

The amazing dCore stats are probably due to just relying on simple tinycore mount tool (which I rather like actually) with no desktop icons (other than those on wbar) and no drive mount icons, and the efficient fltk_topside window manager: a few less running background services...

The above is on my HP Elitebook machine running with cpufreq governor ondemad at unstressed 800MHz (on load goes up to 2.13GHz).

Of course, all these stats, for all these small Linux systems (with efficient window managers), are very low anyway, so comes down to matter of taste/user-friendliness really.

I find myself comfortable using either. With dCore-xenial running my machine certainly runs comfortably cool in temperature (when Firefox 52.0 browser running, but just idling as I read page, the CPU still just using less than 0.5%)!

William

EDIT: I do dislike Firefox ver 52.0 though - not only does it force me to use pulseaudio (which is fine) but it doesn't like logging in to websites (such as murga-forum) using unencrypted passwords (covers up the boxes whilst I'm trying to type in username/password - works but tricky...). I expect there will be an about::config option to turn that 'feature' off...maybe

EDIT2: Yeah... here: https://support.mozilla.org/t5/Firefox/Disable-Option-for-the-The-new-login-warning/td-p/1374278

_________________
SomeOfMyWork with links:
dCoreDog
weX, scrox, Precord, Premote, fokSyfEyeR, xhippo-mod, flite_hts_pet
Back to top
View user's profile Send private message Visit poster's website 
wanderer

Joined: 20 Oct 2007
Posts: 500

PostPosted: Sun 26 Mar 2017, 15:46    Post subject:  

hi all

this is an update of what i am working on

corepup consists of
the base isos coreplus 6.4.1 and dcoreplus-jessie
mods to the boot menu - done
mods to the boot functions - done
the base corepup tcz which will contain
the backgrounds - done
hacked minimal jwm - done
the master utility program written in c - which i am writing now
the master utility program written in busybox ash - which i am writing now

in the spirit of minimalism and modularity
these master programs
are only written in c and ash
no gui toolkit
they have a small main function file
that calls all the other functions
which are contained in include files
some corepup functions are
scripts to make the linked directory system
a script to make the linked root directory
scripts to make the menu the core and tcz
a script to recompile jwm
a script to call/recompile the libc editor
a script to independently mount and link tcz
etc

a work in progress

when i am satisfied that this is usable
i will post the corepup base tcz

see you soon

wanderer
Back to top
View user's profile Send private message 
wanderer

Joined: 20 Oct 2007
Posts: 500

PostPosted: Tue 28 Mar 2017, 15:58    Post subject:  

hi all

since mcewanw has started his own thread
to develop dcoredog
i would advise anyone interested
in using tinycore/dcore as a base
to direct their attention to his project
since he is doing the advanced work in this area

i will be following his thread as best i can
and if i feel there is something i can contribute
i will post it there

i will continue to work on my project
which has far more limited aims and expertise
and will post corepup specific stuff here

see you there

wanderer
Back to top
View user's profile Send private message 
mcewanw

Joined: 16 Aug 2007
Posts: 3194
Location: New Zealand

PostPosted: Tue 28 Mar 2017, 16:05    Post subject:  

wanderer wrote:
... will post corepup specific stuff here

wanderer


Hi wanderer,

Yes, I won't be publishing anything related to the core product, only dcore, so nice to have both being covered without duplication since we can share a lot of ideas and some will be useful to both projects. I'm keen to see your corepup developments once you are ready to release it since some if not all of that could be useful in dCoreDog too.

William

_________________
SomeOfMyWork with links:
dCoreDog
weX, scrox, Precord, Premote, fokSyfEyeR, xhippo-mod, flite_hts_pet
Back to top
View user's profile Send private message Visit poster's website 
wanderer

Joined: 20 Oct 2007
Posts: 500

PostPosted: Tue 28 Mar 2017, 16:29    Post subject:  

hi mcewanw

very cool

wanderer
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4720

PostPosted: Sun 09 Apr 2017, 20:22    Post subject:  

Keef wrote:
I'd run 'strip' on the jwm binary - you'll get a big reduction. The 1.2 version drops from over 400 k to 112 k.
The 1.2 version has a configure script, I haven't tried anything older yet.

Goingnuts and technosaurus could no doubt give you some good advice on a minimal JWM.


I usually replace the CFLAGS optimizations (not the -I/* and -D* stuff) with:
-g0 -Os -s -fvisibility=hidden -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-asynchronous-unwind-tables -fno-ident

and LDFLAGS (except -l and -L stuff) with:
-Wl,--sort-common,--gc-sections,--print-gc-sections,--as-needed,-s

The --print-gc-sections isn't needed but I like to see exactly what is being removed (in case it shouldn't be) and not removed (if I think it should be) so I can maybe help clean up the code. Also -fno-ident doesn't save much code, but it prevents people from easily detecting what compiler was used so they can exploit security issues... you may want to leave it off if you think you might need that info later.

There are a few more that I use regularly, but jwm doesn't do much floating point, so they'll have very little effect.

Edit: My build of my fork of jwm with stb_image and nanosvg statically compiled in (replaces libpng, libjpeg, libcairo+glib and librsvg and adds support for gif, bmp and pnm images) ... compiled to 209kb.

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
wanderer

Joined: 20 Oct 2007
Posts: 500

PostPosted: Sun 09 Apr 2017, 22:12    Post subject:  

wow technosaurus

great to hear from you

thanks a lot

checking it out now

you guys are the gurus

wanderer
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 26 of 27 [398 Posts]   Goto page: Previous 1, 2, 3, ..., 24, 25, 26, 27 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1217s ][ Queries: 14 (0.0297s) ][ GZIP on ]