summaryrefslogtreecommitdiffstats
path: root/tdm
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2020-02-07 22:56:14 +0900
committerMichele Calgaro <[email protected]>2020-02-07 23:03:59 +0900
commitd008372a5ab7d7a6157315553b3b36425e837cca (patch)
treee368daa57dc64d3181e449611f45c7a7a516dad4 /tdm
parent3a7ece7afcc4b8bee190723633e29222cb5ba865 (diff)
downloadtdebase-d008372a5ab7d7a6157315553b3b36425e837cca.tar.gz
tdebase-d008372a5ab7d7a6157315553b3b36425e837cca.zip
Added option in TCC -> System Administration -> Logic Manager ->
Appearance tab to enable/disable the launch of tdekbdledsync in tde greeter. This resolves bug 1834. Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit be1c4f22face24de36c540df38a903860f0549d0)
Diffstat (limited to 'tdm')
-rw-r--r--tdm/config.def11
-rw-r--r--tdm/kfrontend/kgapp.cpp1
2 files changed, 12 insertions, 0 deletions
diff --git a/tdm/config.def b/tdm/config.def
index 4209c8212..04f3a1d88 100644
--- a/tdm/config.def
+++ b/tdm/config.def
@@ -2025,6 +2025,17 @@ Comment:
Description:
If true then the SAK anti-spoofing dialog will be utilized
+Key: SyncKbdLED
+Type: bool
+Default: true
+User: core
+User: greeter
+Instance: #:*/true
+Comment:
+ Sync keyboard led status
+Description:
+ Enable or disable the use of tdekbdledsync to sync keyboard LED status in tdm.
+
Key: UseAdminSession
Type: bool
Default: false
diff --git a/tdm/kfrontend/kgapp.cpp b/tdm/kfrontend/kgapp.cpp
index 4ea540285..3fefc00bc 100644
--- a/tdm/kfrontend/kgapp.cpp
+++ b/tdm/kfrontend/kgapp.cpp
@@ -225,6 +225,7 @@ kg_main( const char *argv0 )
trinity_desktop_lock_use_sak = false;
#endif
+ trinity_desktop_synchronize_keyboard_lights = _syncKbdLED;
if (trinity_desktop_synchronize_keyboard_lights &&
TQString(getenv("DISPLAY")).startsWith(":")) {
kbdl = new TDEProcess;