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 22:43:03 +0900
commitba58d6adacea8a968620c708cabbce7a0857c91e (patch)
tree04220baf1d3a60482d7cf329e4cae7f51520ea50 /khotkeys/app/khotkeys.desktop
parent77134aead8562da8b7a58ffe58af65e5c4cafb7a (diff)
downloadtdebase-ba58d6adacea8a968620c708cabbce7a0857c91e.tar.gz
tdebase-ba58d6adacea8a968620c708cabbce7a0857c91e.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> (cherry picked from commit 94368f4722fa8eae1f7e7cd4b02679a760b0d620)
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