summaryrefslogtreecommitdiff
path: root/testing/source/vtown/kde/post-install/dolphin.post-install
diff options
context:
space:
mode:
Diffstat (limited to 'testing/source/vtown/kde/post-install/dolphin.post-install')
-rw-r--r--testing/source/vtown/kde/post-install/dolphin.post-install14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/source/vtown/kde/post-install/dolphin.post-install b/testing/source/vtown/kde/post-install/dolphin.post-install
new file mode 100644
index 00000000..8b0f9e14
--- /dev/null
+++ b/testing/source/vtown/kde/post-install/dolphin.post-install
@@ -0,0 +1,14 @@
+# Add a 'run dolphin as root' menu entry:
+mkdir -p $PKG/usr/share/applications
+cat <<EOT > $PKG/usr/share/applications/org.kde.dolphinsu.desktop
+[Desktop Entry]
+Name=File Manager - Super User Mode
+Exec=dbus-launch dolphin -qwindowtitle "%c" "%u"
+Icon=system-file-manager
+Type=Application
+X-DocPath=dolphin/index.html
+Categories=Qt;KDE;System;FileManager;
+Terminal=false
+MimeType=inode/directory;
+X-KDE-SubstituteUID=true
+EOT