public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] New sysfs based battery monitor widget for kde
@ 2015-01-02 10:23 Alon Bar-Lev
  0 siblings, 0 replies; only message in thread
From: Alon Bar-Lev @ 2015-01-02 10:23 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 938 bytes --]

Hi,

I had some time to resolve the long outstanding issue I had with loosing
upower to systemd.

The only feature I personally had was the battery monitor stopped working,
yes, I did not install pm-utils either...

So after few times my battery went empty while I worked... decided that
enough is enough and I need to learn how to write kde plasmoid.

Documentation of kde plasmoid is not great, especially when using scripts,
but after looking on various of valid examples, I managed to produce a new
battery monitor[1][2] which is very simple and looks decent.

All that it does is once per interval read the /status and /capacity and
update the images within widget, it does not create a load nor adds
dependencies.

Install to user home by:

$ plasmapkg -i kbatsysfs-1.0.0.plasmoid

I hope someone will find this useful,
Alon

[1] http://kde-apps.org/content/show.php/kbatsysfs?content=168436
[2] https://github.com/alonbl/kbatsysfs

[-- Attachment #2: Type: text/html, Size: 1271 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-01-02 10:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-02 10:23 [gentoo-dev] New sysfs based battery monitor widget for kde Alon Bar-Lev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox