Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

For general use is easier to just install a light file manger e.g. PCManFM (unlike Thunar and PCManFM-Qt has split view with F3).

Then, add a custom menu action to Dolphin:

  • create the folder(s) ~/.local/share/kservices5/ServiceMenus

  • run in terminal kwrite ~/.local/share/kservices5/ServiceMenus/Open_folder_as_root.desktop

  • paste the following and save:

[Desktop Entry]
Type=Service
ServiceTypes=inode/directory
MimeType=inode/directory;
Actions=root
X-KDE-Priority=TopLevel
X-KDE-Topmenu=Open as root
X-KDE-Icon=dolphin
X-KDE-ServiceTypes=KonqPopupMenu/Plugin

[Desktop Action root]
Name=Open folder as root
Icon=dolphin
Exec=kdesu pcmanfm  %U