diff options
author | Eric Hameleers <alien@slackware.com> | 2017-06-25 12:50:24 +0200 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2017-06-25 12:50:24 +0200 |
commit | 73da4f7f4b74a1dec89ccfe201d3ec69fb700218 (patch) | |
tree | 5fcc25319ca9d133370d48c26c3d3b2812c1e8a6 | |
parent | 577c08b5d4e45b04bbb9978b89123c3d6d2d6d22 (diff) | |
download | ktown-73da4f7f4b74a1dec89ccfe201d3ec69fb700218.tar.gz ktown-73da4f7f4b74a1dec89ccfe201d3ec69fb700218.tar.xz |
Add a 'run dolphin as root' menu entry
Diffstat (limited to '')
-rw-r--r-- | kde/post-install/dolphin.post-install | 14 |
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 |