WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Jupiter:  (Read 2559 times)

Offline konaexpress

  • Jr. Member
  • **
  • Posts: 50
Jupiter:
« 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

Thanks -John
Swing hard in case you hit it!

Offline gutmensch

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 605
  • I can make it disappear, have no fear!
    • remembrance blog
Re: Jupiter:
« Reply #1 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 ;)
If I seem unduly clear to you, you must have misunderstood what I said. (Alan Greenspan)

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: Jupiter:
« Reply #2 on: March 21, 2012, 01:08:35 PM »
Oh, it's not Mono any longer?
The only barriers that can stop you are the ones you create yourself.

Offline konaexpress

  • Jr. Member
  • **
  • Posts: 50
Re: Jupiter:
« Reply #3 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!
Swing hard in case you hit it!

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11694
Re: Jupiter:
« Reply #4 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.

Offline gutmensch

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 605
  • I can make it disappear, have no fear!
    • remembrance blog
Re: Jupiter:
« Reply #5 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!
If I seem unduly clear to you, you must have misunderstood what I said. (Alan Greenspan)

Offline konaexpress

  • Jr. Member
  • **
  • Posts: 50
Re: Jupiter:
« Reply #6 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
Swing hard in case you hit it!