View Single Post
Old 10-20-2013, 06:26 AM   #1
Aeris
Developer's Corner Mascot
Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.
 
Aeris's Avatar
 
Posts: 486
Karma: 1277790
Join Date: Sep 2013
Device: Kindle Paperwhite 5.3.4, Kindle Keyboard 3.4
lipc-daemon usage infos and ideas

Hi there! I'm trying to understand how does lipc-deamon work. If a type lipc-daemon in kterm it says:

lipc-daemon provides a way to execute programs on specified events and a way to run program to publish properties easily

Usage:
lipc-daemon [-e <event-config-file>] [-p <property-confi-file>] [-f]
-f: Do not daemonize


For example you could run: /usr/bin/lipc-daemon -p /etc/lipc-daemon-props.conf -e /etc/lipc-daemon-events.conf, where those files are already present on system (and cointains further infos too). Anyway I don't know what happens if you do :P

I still can't figure out exactly how to use it xD
That's what I would like to do: listen on battery level update events (i.e. when battery loses 1%) and print out somewhere the updated value (my dream would be appening it to current app name in the topbar, even if by now I'm only able to replace it). Do you think is this possibile without consuming resources, maybe using lipc-daemon? I still can't resign myself to not have a battery percentage gauge around the screen ALWAYS xD

Thanks in advance.
Aeris is offline   Reply With Quote