QortalOS Brooklyn for Raspberry Pi 4
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
..
kconf_update
tastenbrett
tests
CMakeLists.txt
Messages.sh
README
TODO
bindings.cpp
bindings.h
config-keyboard.h.cmake
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.json
kcm_keyboard.ui
kcm_keyboard_widget.cpp
kcm_keyboard_widget.h
kcm_view_models.cpp
kcm_view_models.h
kcminputrc_fix_botched_5_21_0.py
kcminputrc_fix_botched_5_21_0.upd
kcminputrc_migrate_repeat_value.py
kcminputrc_repeat.upd
kcmmain.cpp
kcmmisc.cpp
kcmmisc.h
kcmmiscwidget.ui
kded_keyboard.json
keyboard_config.cpp
keyboard_config.h
keyboard_daemon.cpp
keyboard_daemon.h
keyboard_dbus.h
keyboard_hardware.cpp
keyboard_hardware.h
keyboardmiscsettings.kcfg
keyboardmiscsettings.kcfgc
keyboardsettings.kcfg
keyboardsettings.kcfgc
keyboardsettingsdata.cpp
keyboardsettingsdata.h
layout_memory.cpp
layout_memory.h
layout_memory_persister.cpp
layout_memory_persister.h
layoutnames.cpp
layoutnames.h
tastenbrett.cpp
tastenbrett.h
udev_helper.cpp
udev_helper.h
workspace_options.kcfgc
x11_helper.cpp
x11_helper.h
xinput_helper.cpp
xinput_helper.h
xkb_helper.cpp
xkb_helper.h
xkb_rules.cpp
xkb_rules.h

README

This is new project to replace keyboard (kcmmisc) and kxkb 
to manage keyboard hardware 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