summaryrefslogtreecommitdiffstats
path: root/khotkeys/app/khotkeys.desktop
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-09-19 17:48:43 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-09-20 20:06:45 +0900
commit94368f4722fa8eae1f7e7cd4b02679a760b0d620 (patch)
tree4fdf1f3f6250211c2ab47dc568e299ea4e139c3c /khotkeys/app/khotkeys.desktop
parent7f1a1e931e73b53939ca39faca82c80cf5da5cf4 (diff)
downloadtdebase-94368f4722fa8eae1f7e7cd4b02679a760b0d620.tar.gz
tdebase-94368f4722fa8eae1f7e7cd4b02679a760b0d620.zip
Various fixes for khotkeys. This resolves issue #326.
1. ensure there is a single khotkeys instance running per session instead of per screen (remote multihead related code) 2. allow khotkeys to be run as a kded module 3. make sure that khotkeys run either as a standalone application or as a kded module, but not both at the same time 4. do not register khotkeys as a main DCOP entry (like an app) anymore. When run as kded module, this was causing kded to be registered as khotkeys a second time. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'khotkeys/app/khotkeys.desktop')
-rw-r--r--khotkeys/app/khotkeys.desktop13
1 files changed, 13 insertions, 0 deletions
diff --git a/khotkeys/app/khotkeys.desktop b/khotkeys/app/khotkeys.desktop
new file mode 100644
index 000000000..b40b5a6e5
--- /dev/null
+++ b/khotkeys/app/khotkeys.desktop
@@ -0,0 +1,13 @@
+[Desktop Entry]
+Type=Service
+
+Name=KHotkeys Daemon
+
+Comment=Handles input actions for the current session
+
+X-TDE-ServiceTypes=KDEDModule
+X-TDE-ModuleType=Library
+X-TDE-Library=khotkeys
+X-TDE-FactoryName=khotkeys
+X-TDE-Kded-autoload=true
+X-TDE-Kded-load-on-demand=false