KubuntuLaptopButtons

Differences between revisions 1 and 2
Revision 1 as of 2006-06-06 14:43:18
Size: 1294
Editor: t10683
Comment:
Revision 2 as of 2006-06-06 16:33:12
Size: 2290
Editor: clj46-234
Comment: hotkey-setup as base
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
 * '''Contributors''': JonathanRiddell  * '''Contributors''': JonathanRiddell, LukaRenko
Line 10: Line 10:
Make Kubuntu support for laptop buttons as good as in Ubuntu Make Kubuntu support for laptop buttons as good as in Ubuntu.
Line 34: Line 34:
KMilo has modules for asus, delli8k, generic, vaio, powerbook, thinkpad, we should make sure these all work. Ubuntu uses hotkey-setup package to properly map different laptop keys into defined set of Linux keycode. For more info see:
 * /usr/share/doc/hotkey-setup/NOTES
Line 36: Line 37:
The thinkpad one polls nvram and tells kmix to change, it should probably leave most of it to thinkpad-buttons and just offer an onscreen display, or if necessary a key event. This ensures that every laptop will send the same keycode for the same key. Ubuntu/GNOME was patched that gnome-settings-daemon catches those events and starts appropriate action.

KMilo module of kded provides handling of laptop keys and on-screen display of action. KMilo has modules for asus, delli8k, generic, vaio, powerbook, thinkpad, we should make sure these all work.
 * The thinkpad one polls nvram and tells kmix to change, it should probably leave most of it to thinkpad-buttons and just offer an onscreen display, or if necessary a key event.
 * The generic one handles standard xkeysyms and works for laptops/keyboards with proper Xkb keyboard layout.
Line 41: Line 46:
 * we should add new KMilo module: keycode (or ubuntu)
 * this module would catch linux keycodes (done by hotkey-setup) and transform them into appropriate actions (volume/brightness control, launch applications...)
 * we should package/enable only generic (for xkeysym) and new keycode modules of KMilo
   * we need to ensure that no (major?) functonality of dropped modules (asus, delli8k, vaio, powerbook, thinkpad) is not lost

Summary

Make Kubuntu support for laptop buttons as good as in Ubuntu.

Rationale

Many laptops and also desktops have extra feature buttons which handle power management, display controls and other features. These should work as well in Kubuntu as they do in Ubuntu.

Use cases

Masie has a laptop with suspend and brightness buttons, she wants to make sure these work.

Scope

Design

Implementation

Code

Data preservation and migration

Outstanding issues

BoF agenda and discussion

Ubuntu uses hotkey-setup package to properly map different laptop keys into defined set of Linux keycode. For more info see:

  • /usr/share/doc/hotkey-setup/NOTES

This ensures that every laptop will send the same keycode for the same key. Ubuntu/GNOME was patched that gnome-settings-daemon catches those events and starts appropriate action.

KMilo module of kded provides handling of laptop keys and on-screen display of action. KMilo has modules for asus, delli8k, generic, vaio, powerbook, thinkpad, we should make sure these all work.

  • The thinkpad one polls nvram and tells kmix to change, it should probably leave most of it to thinkpad-buttons and just offer an onscreen display, or if necessary a key event.
  • The generic one handles standard xkeysyms and works for laptops/keyboards with proper Xkb keyboard layout.

KMix should listen to the key events and have working default bindings.

Questions: how the heck to fix for all these types of laptops?

  • we should add new KMilo module: keycode (or ubuntu)
  • this module would catch linux keycodes (done by hotkey-setup) and transform them into appropriate actions (volume/brightness control, launch applications...)
  • we should package/enable only generic (for xkeysym) and new keycode modules of KMilo
    • we need to ensure that no (major?) functonality of dropped modules (asus, delli8k, vaio, powerbook, thinkpad) is not lost


CategorySpec

KubuntuLaptopButtons (last edited 2008-08-06 16:27:41 by localhost)