Hello,

On Sun, 09 Apr 2017, Kai Krakow wrote:
>Am Sun, 9 Apr 2017 19:09:23 +0200
>schrieb David Haller <gen...@dhaller.de>:
>
>> On Sun, 09 Apr 2017, Kai Krakow wrote:
>> >For me, it was a runaway upower process some months ago. I'm using
>> >systemd, so I fixed it easily with the following drop-in:  
>> 
>> Tell us, why exactly would one need upower again, anyway?
>
>If you don't need it, don't use it. This was an example, not a call to
>use it.
>
>It reports battery status of peripherals for me.

Surely, there must be other apps to report this for you, besides a
mem-hogging behemoth, that (I guess) actually does not much more than
'cat /sys/...something'! .5 Gig or even more?? You're kidding me,
right? Riiigghhhhhtt????? That's just plain insane! Stuff like that
should run in a few KB. Or a few MB with a fancy GUI and DE integration.

You could probably do that with a few lines of perl/python/ruby plus
the toolkit of your choice (Tk, Gtk, Qt, Wx, Fltk, ...).

I e.g. wanted a minmal clock to have while playing movies fullscreen.
Result: ~21 lines of generously formatted perl using Tk and a
bold-white-on-black (easily changeable) digital clock with a mere
38x20 pixels in the right-top-corner (easily changeable).

Haven't implemented the "Keep on top" stuff right though yet, but ISTR
that should be possible too with perl/Tk. Or any of the above mentioned
lang/toolkit combos. And the "on-top" stuff also depends on your WM in
the details.

And anyway: 'eix batt' spits out e.g. x11-misc/xbatt, x11-misc/xbattbar,
x11-plugins/wmbatteries...

As I do just have a normal below-desk PC, I can't help with the
/sys/*batt*? stuff, but if it breaks down to basically displaying the
contents of some files under /sys/ then it's a piece of cake whupping
up an UI displaying that as e.g percent or whatever.)

Probably, I'd just have to change the "update" sub (1 line) of my
clock to read that /sys/-file instead of the time and whoopididoooda ;)

A fancy graphic bar would be a bit more coding.

Oh, and have a look at gkrellm and its plugins. It might have all you
want already and then some :)

Now, integration in the "big" DEs of KDE/Gnome3, you're screwed. 
Royally. But that comes with those DEs anyway. Like Gnome3 requiring
systemd (WTF?)...

But, you can still display stuff without "integration".

Myself, I found WindowMaker in ~200[01] and am happy as a bunny since
then, I think I had to change just one option _ONCE_ since then in my
config. One "forced" change in ~1[67] years? I'll call that ok! Sure,
there was new, optional stuff, but documented and often times even
appearing as e.g. a new checkbox in the WPrefs app. Compare _that_ to
KDE ... I switched to WMaker, avoiding KDE2.0! Never looked back.

-dnh

PS: yes, Windowmaker was and is what I was looking for, but KDE 1.1
    served ok until then. And I did look at KDE2-5 and Gnome1-3 in
    various version, no, not for me. *bleargh*

-- 
"Da fragen 'se Norbert Blüm, aber der fracht sich auch nur 'was bin ich?'"
                                       -- Georg Schramm im Scheibenwischer

Reply via email to