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.
kf5-baloo/0003-validate-baloo_file.de...

30 lines
1.1 KiB

From d45f3107c1015bcf10ca6fd199f9e0c425dfd343 Mon Sep 17 00:00:00 2001
From: Rex Dieter <rdieter@gmail.com>
Date: Mon, 15 Jan 2018 10:17:05 -0600
Subject: [PATCH 3/3] validate baloo_file.desktop
Fix per,
$ desktop-file-validate /etc/xdg/autostart/baloo_file.desktop --warn-kde
/etc/xdg/autostart/baloo_file.desktop: warning: value "Service" for key "Type" in group "Desktop Entry" is a reserved value for KDE
/etc/xdg/autostart/baloo_file.desktop: error: key "Exec" is present in group "Desktop Entry", but the type is "Service" while this key is only valid for type "Application"
other DE's complain about this on login otherwise (e.g. gnome)
---
src/file/baloo_file.desktop | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/file/baloo_file.desktop b/src/file/baloo_file.desktop
index 5136828b..c2c2b901 100644
--- a/src/file/baloo_file.desktop
+++ b/src/file/baloo_file.desktop
@@ -1,5 +1,5 @@
[Desktop Entry]
-Type=Service
+Type=Application
Exec=baloo_file
X-KDE-StartupNotify=false
X-KDE-autostart-condition=baloofilerc:Basic Settings:Indexing-Enabled:true
--
2.14.3