Resurrecting KMilo?

Aurélien Gâteau aurelien.gateau at free.fr
Wed Aug 20 15:05:15 CEST 2008


Hello,

Not being able to use the volume keys from my laptop got me frustrated 
enough that I grabbed KMilo from tags/unmaintained/4 and did the 
necessary porting to get the keys working.

For those who do not know, KMilo is responsible for handling so-called 
"multimedia keys" like volume, hibernate, backlight... It's implemented 
as a kded service and provides a plugin system to implement 
hardware-specific support.

My laptop needed the simple "generic_monitor" plugin to work: the keys 
are reported as XF86Audio* symbols. So I ported it to kde4 and 
refactored the kmilod architecture a bit to avoid runtime symbol errors 
when the monitor tried to display information.

I would like to see this back into KDE because I believe it is important 
to support those keys.

To give it a try:
- Checkout kdeutils
- cd kdeutils
- git clone git://github.com/agateau/kmilo.git
- Enable the kmilo dir with this patch on kdeutils/CMakeLists.txt:

----------
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 366cc6f..4ca9d0e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -63,6 +63,7 @@ if( Q_WS_X11 AND BLITZ_FOUND )
      #endif( BACKGROUND_INTERFACE_FILE_FOUND )
  endif( Q_WS_X11 AND BLITZ_FOUND )
  macro_optional_add_subdirectory( sweeper )
+macro_optional_add_subdirectory( kmilo )

  # --- show log ---
  macro_display_feature_log()
----------

I am willing to finish the kde4 port and work a bit on prettifying the 
OSD but:

1. My free time is also quite limited, but I think this kind of service 
does not require intensive care once it's running (correct me if I am 
wrong).

2. I do not have access to the other supported hardware (thinkpad, vaio, 
dell and powerbook so far) so I can't really apply as a maintainer for 
their respective KMilo monitors.

Despite this, I would like to move kmilo to playground, then review, 
then kdeutils. Does it sound ok for you?

Aurélien


More information about the Kde-utils-devel mailing list