Ich habe eine Anleitung für Elementary OS Freya gefunden: http://ubuntuhandbook.org/index.php/2015/02/open-as-root-elementary-os-freya/
sudo touch /usr/share/contractor/folder-openasroot.contract && gksudo scratch-text-editor /usr/share/contractor/folder-openasroot.contract The code before ‘&&’ will create a empty file ‘folder-openasroot.contract’ under /usr/share/contractor directory, and the code after will open the file with the Scratch text editor. When the file opens, paste below context and close the file (It’ll be saved automatically). [Contractor Entry] Name=Open folder as root Icon=pantheon-files Description=Open current folder as root privilege MimeType=inode; Exec=gksudo pantheon-files %U Gettext-Domain=pantheon-files Now re-open your file browser and you’ll see the “Open folder as root” in folders’ context menu. 4. Similar to step 3, to add “Open file as root”, run below command instead: sudo touch /usr/share/contractor/file-openasroot.contract && gksudo scratch-text-editor /usr/share/contractor/file-openasroot.contract When the file opens, paste below and close it. [Contractor Entry] Name=Open file as root Icon=scratch-text-editor Description=open file as root with scratch MimeType=text Exec=gksudo scratch-text-editor %U Gettext-Domain=scratch-text-editor
Wie geht das für den Dateiverwalter "Nautilus" bei Ubuntu?