mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
![]() I should've checked the return type before commit
|
||
---|---|---|
.. | ||
pics | ||
preview | ||
tests | ||
bindings.cpp | ||
bindings.h | ||
CMakeLists.txt | ||
flags.cpp | ||
flags.h | ||
iso_codes.cpp | ||
iso_codes.h | ||
kcm_add_layout_dialog.cpp | ||
kcm_add_layout_dialog.h | ||
kcm_add_layout_dialog.ui | ||
kcm_keyboard.cpp | ||
kcm_keyboard.desktop | ||
kcm_keyboard.h | ||
kcm_keyboard.ui | ||
kcm_keyboard_widget.cpp | ||
kcm_keyboard_widget.h | ||
kcm_view_models.cpp | ||
kcm_view_models.h | ||
kcmmisc.cpp | ||
kcmmisc.h | ||
kcmmiscwidget.ui | ||
keyboard.desktop | ||
keyboard_applet.cpp | ||
keyboard_applet.h | ||
keyboard_config.cpp | ||
keyboard_config.h | ||
keyboard_daemon.cpp | ||
keyboard_daemon.h | ||
keyboard_dbus.h | ||
keyboard_hardware.cpp | ||
keyboard_hardware.h | ||
layout_memory.cpp | ||
layout_memory.h | ||
layout_memory_persister.cpp | ||
layout_memory_persister.h | ||
layout_tray_icon.cpp | ||
layout_tray_icon.h | ||
layout_widget.cpp | ||
layout_widget.h | ||
layouts_menu.cpp | ||
layouts_menu.h | ||
Messages.sh | ||
numlockx.c | ||
plasma_applet_keyboard.desktop | ||
README | ||
TODO | ||
x11_helper.cpp | ||
x11_helper.h | ||
xinput_helper.cpp | ||
xinput_helper.h | ||
xkb_helper.cpp | ||
xkb_helper.h | ||
xkb_rules.cpp | ||
xkb_rules.h |
This is new project to replace keyboard (kcmmisc) and kxkb to manage keyboard harware configuration and layouts. Components: kcm_init: * no kcm_init - all initialization (including after keyboard hot-plug) is done by kded daemon Keyboard daemon: * configures keyboard layouts on start * provides DBUS API "org.kde.KXKB/kxkb" * listens to window/desktop switching if layout switch mode is not global * listens to new keyboard devices and reinitializes keyboard layouts and hardware settings * listens to Global KDE Shortcut to switch layouts * listens to Global Shortcut settings change * listens to keyboard configuration changes * provides systray icon for layout Keyboard applet: * displays current layout with text and (optionally flag) * allows to toggle layouts by click or set them with context menu Layout widget: * displays current layout with text embedded in another widget (e.g. lock dialog) * currently only short text (no flag or long text) * dynamically loaded as a plugin KCM Module: * allows to configure keyboard hardware, layouts and xkb options (advanced) Advantages (over old code): * One UI module to configure keyboard layouts and hardware * Allows to configure keyboard model/xkb options without configuring layouts * Less cluttered layout configuration control (add layout is separate) * Layout control/DBus interface is separate from the indicator * Does not require libxklvier * Takes language names from iso-codes project * Takes country names/translations from xkeyboard-config project * Information about current layouts is always taken from X server, so should be more robust * Cleaner code (rewritten from scratch) * Due to many points above should start faster (though no benchmarks performed) New features: * Allow selection of keyboard layout by language