Tiny Core Linux

Tiny Core Extensions => TCE Talk => Extension requests => Topic started by: konaexpress on March 21, 2012, 10:54:22 AM

Title: Jupiter:
Post by: konaexpress on March 21, 2012, 10:54:22 AM
Any plans to include the Jupiter project in TC. It is a "Simple, easy to use hardware and power management applet for all i386 and x86_64 Linux laptops, and netbooks"

It is at http://sourceforge.net/projects/jupiter (http://sourceforge.net/projects/jupiter)

Thanks -John
Title: Re: Jupiter:
Post by: gutmensch on March 21, 2012, 12:07:48 PM
Hmmm... needs at least python, gtk and bash for a total of
Code: [Select]
└% LANG=C wc -l usr/lib/jupiter/kernel/*
  34 usr/lib/jupiter/kernel/battery
  32 usr/lib/jupiter/kernel/power
  66 total
66 lines of real functional code like setting battery and power states (e.g. echo 0 > /proc/sys/vm/laptop_mode), for which you basically don't need anything additionally.

Not what I consider a good ratio between functionality and dependencies ;)
Title: Re: Jupiter:
Post by: curaga on March 21, 2012, 01:08:35 PM
Oh, it's not Mono any longer?
Title: Re: Jupiter:
Post by: konaexpress on March 21, 2012, 03:21:22 PM
Hmmm... needs at least python, gtk and bash for a total of
Code: [Select]
└% LANG=C wc -l usr/lib/jupiter/kernel/*
  34 usr/lib/jupiter/kernel/battery
  32 usr/lib/jupiter/kernel/power
  66 total
66 lines of real functional code like setting battery and power states (e.g. echo 0 > /proc/sys/vm/laptop_mode), for which you basically don't need anything additionally.

Not what I consider a good ratio between functionality and dependencies ;)

Oops! Sorry, I am still not sure how all this ratio vs func works yet or what is a good size.  I am used to the bigger distros and this tiny little one has got me a bit puzzled as to how to work with it.


Oh, it's not Mono any longer?

Nope!
Title: Re: Jupiter:
Post by: Rich on March 21, 2012, 03:38:37 PM
Hi konaexpress
Quote
I am still not sure how all this ratio vs func works
It's more of a judgment call than anything else. Python adds 9.5MB. IF GTK means GTK2 that's another 8.5MB.
I believe what gutmensch is saying is that is a lot of overhead to include for something that can probably be
accomplished using a script and existing system resources.
Title: Re: Jupiter:
Post by: gutmensch on March 21, 2012, 03:49:26 PM
Thanks Rich for the clarification!

I was indeed just trying to explain my bloody lack of motivation to touch it as an extension, because it really seems overkill for 1-2 KB shell script code... ;) But however, TCL is open for every sent in extension, if anyone takes the challenge to create it, it will of course be published!
Title: Re: Jupiter:
Post by: konaexpress on March 21, 2012, 05:11:44 PM
New guy here, lost again! :P

So is the script a command line thing? Could a small GUI be made with FLTK/Fluid and attach the script somehow or would that be the same as doing it with Python?

Could it be made and put in the repos and let users download later? Kinda TC custom apps for us Tards? ;D I understand that you want to keep the size down but I don't mind downloading a few things later and making the footprint a little bigger on my netbook.

-John