You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdebase/kcontrol
Mavridis Philippe a67db2d484
Kxkb: Improve layout switching
1) New layout switching approach

The new approach is based on the "grp" options group of Xkb
and so enables us to use predefined X11 layout (group) switching
hotkeys like "Caps Lock" or "Shift+Alt" (you can see the full list
in the Options tab). The added bonus to this is that we conform
to the Xkb setting.

The code lets Xkb handle the keyboard layout switching hotkey(s)
and is similar to the one that is used in kkbswitch, monitoring
for an Xkb group (layout) change event.

This solution required me to remove some hacky and obsolete code
which was there to support really old pre-XFree-4.2 era systems
and included the "include groups" hack.

This means that the "Enable latin layout" checkbox is now gone
and setxkbmap is only called when the keyboard layouts and/or
options are modified, and not for every layout change.

2) Common layout switching hotkeys combobox

A combobox was added to the first page of the Keyboard Layouts
KCM module. It provides to the users a quick way to set a layout
switching key combination. It also controls the "grp" group in
the Xkb tab.

A special note about this combobox is that, even if Append Mode
was selected in the Xkb Options tab, this hotkey will overwrite
previous hotkey options. This means that all grp: options will
be forced removed before applying the option from the combobox
(in contrast to specifying options via the Xkb Options tab,
which, in Append Mode, will not get overwritten until next login).

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
2 years ago
..
access Desktop file translations: 5 years ago
arts Desktop file translations: 5 years ago
background Use Scale & Crop as default style for wallpaper. 3 years ago
bell Desktop file translations: 5 years ago
clock Desktop file translations: 5 years ago
colors Desktop file translations: 5 years ago
componentchooser Replaced 'includehints' with 'includes' in *.ui files. 3 years ago
crypto Desktop file translations: 5 years ago
css Replaced 'includehints' with 'includes' in *.ui files. 3 years ago
display Desktop file translations: 5 years ago
displayconfig Fixed FTBFS with gcc 4.8 when using c++11 standard. 4 years ago
dnssd Remove unnecessary accelerator from .ui files. 2 years ago
ebrowsing Removed additional code formatting modelines. 4 years ago
energy Use LGPL energy star icons. These icons have been downloaded from 4 years ago
filetypes Desktop file translations: 5 years ago
fonts Added support for variable font DPI (range 64-512) in user session. 3 years ago
hwmanager hwmanager: use alphabetically sorted menus in tdehwdevicetray. 2 years ago
iccconfig Desktop file translations: 5 years ago
icons Removed code formatting modelines. 4 years ago
info Desktop file translations: 5 years ago
input Removed code formatting modelines. 4 years ago
joystick Desktop file translations: 5 years ago
kcontrol Removed code formatting modelines. 4 years ago
kded Desktop file translations: 5 years ago
keys Kxkb: Improve layout switching 2 years ago
kicker Replaced 'includehints' with 'includes' in *.ui files. 3 years ago
knotify Replaced 'includehints' with 'includes' in *.ui files. 3 years ago
konq Added missing <include> in UI file (fixes FTBFS) 4 years ago
konqhtml Replaced 'includehints' with 'includes' in *.ui files. 3 years ago
konsole Konsole: real transparency switch 3 years ago
krdb Added support for variable font DPI (range 64-512) in user session. 3 years ago
kthememanager Removed additional code formatting modelines. 4 years ago
launch Desktop file translations: 5 years ago
locale Update translation template. 4 years ago
nics Desktop file translations: 5 years ago
performance Desktop file translations: 5 years ago
pics Use LGPL energy star icons. These icons have been downloaded from 4 years ago
privacy Desktop file translations: 5 years ago
randr Respect build option WITH_TDEHWLIB, otherwise it can lead to FTBFS in special cases. 4 years ago
samba Desktop file translations: 5 years ago
screensaver Modify screen savers detection that the XSCREENSAVER_DIRS 3 years ago
smartcard Desktop file translations: 5 years ago
smserver Desktop file translations: 5 years ago
spellchecking Desktop file translations: 5 years ago
style Removed code formatting modelines. 4 years ago
taskbar Remove unnecessary accelerator from .ui files. 2 years ago
tdefontinst tdefontinst, fix FTBFS undefined reference to symbol 'FT_Get_Sfnt_Name_Count' 4 years ago
tdeio Replaced 'includehints' with 'includes' in *.ui files. 3 years ago
tdm Removed code formatting modelines. 4 years ago
usbview kcontrol/usview: fix up "Revive NetBSD support" 3 years ago
view1394 Fixed FTBFS caused by c++11 standard. 4 years ago
xinerama Desktop file translations: 5 years ago
CMakeL10n.txt Desktop file translations: 5 years ago
CMakeLists.txt kcontrol/usview: fix up "Revive NetBSD support" 3 years ago
ConfigureChecks.cmake Check ifw_hwaddr member for struct ifreq 5 years ago
Makefile.am Remove KControl Protocols module, move protocol items to the help handbook, 11 years ago
TODO Add new kcontrol component chooser help handbook and change the name to 'Default Applications'. 11 years ago
structure Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago