~ubuntu-branches/ubuntu/utopic/kde-workspace/utopic-proposed

« back to all changes in this revision

Viewing changes to kcontrol/keyboard/README

  • Committer: Bazaar Package Importer
  • Author(s): Michał Zając
  • Date: 2011-07-09 08:31:15 UTC
  • Revision ID: james.westby@ubuntu.com-20110709083115-ohyxn6z93mily9fc
Tags: upstream-4.6.90
Import upstream version 4.6.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
This is new project to replace keyboard (kcmmisc) and kxkb 
 
2
to manage keyboard harware configuration and layouts.
 
3
 
 
4
Components:
 
5
 
 
6
kcm_init:
 
7
* no kcm_init - all initialization (including after keyboard hot-plug) is done by kded daemon
 
8
 
 
9
Keyboard daemon:
 
10
* configures keyboard layouts on start
 
11
* provides DBUS API "org.kde.KXKB/kxkb"
 
12
* listens to window/desktop switching if layout switch mode is not global
 
13
* listens to new keyboard devices and reinitializes keyboard layouts and hardware settings
 
14
* listens to Global KDE Shortcut to switch layouts
 
15
* listens to Global Shortcut settings change
 
16
* listens to keyboard configuration changes
 
17
* provides systray icon for layout
 
18
 
 
19
Keyboard applet:
 
20
* displays current layout with text and (optionally flag)
 
21
* allows to toggle layouts by click or set them with context menu
 
22
 
 
23
Layout widget:
 
24
* displays current layout with text embedded in another widget (e.g. lock dialog)
 
25
* currently only short text (no flag or long text)
 
26
* dynamically loaded as a plugin
 
27
 
 
28
KCM Module:
 
29
* allows to configure keyboard hardware, layouts and xkb options (advanced)
 
30
 
 
31
Advantages (over old code):
 
32
* One UI module to configure keyboard layouts and hardware
 
33
* Allows to configure keyboard model/xkb options without configuring layouts
 
34
* Less cluttered layout configuration control (add layout is separate)
 
35
* Layout control/DBus interface is separate from the indicator
 
36
* Does not require libxklvier
 
37
* Takes language names from iso-codes project
 
38
* Takes country names/translations from xkeyboard-config project
 
39
* Information about current layouts is always taken from X server, so should be more robust
 
40
* Cleaner code (rewritten from scratch)
 
41
* Due to many points above should start faster (though no benchmarks performed)
 
42
 
 
43
New features:
 
44
* Allow selection of keyboard layout by language