summaryrefslogtreecommitdiffstats
path: root/kde/post-install/dolphin.post-install
diff options
context:
space:
mode:
Diffstat (limited to 'kde/post-install/dolphin.post-install')
-rw-r--r--kde/post-install/dolphin.post-install14
1 files changed, 14 insertions, 0 deletions
diff --git a/kde/post-install/dolphin.post-install b/kde/post-install/dolphin.post-install
new file mode 100644
index 0000000..aa6429e
--- /dev/null
+++ b/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 %i -caption "%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