Would you like to have a shortcut in the application menu of Nautilus with root privileges for when you need it so you don't have to open the terminal and type sudo nautilus, or Alt + F2 gksudo nautilus (Strenuous task how few 😛)?
En Lifehacker,via ghacks, they explain it to us, the task is simple, we must type in a terminal the following
sudo gedit /usr/share/applications/Nautilus-root.desktop
Inside the file paste the following text
[Desktop Entry] Name = File Browser (Root) Comment = Browse the filesystem with the file manager Exec = gksudo “nautilus –browser% U” Icon = file-manager Terminal = false Type = Application Categories = Application; System;
Once the file is saved you will find the shortcut in Apps> System Tools
You will notice that the text to paste differs in the two sources mentioned, particularly for me it has worked with the text of hacks, and it is the one I put in this post, so that if it does not work with one, try the other.
I personally prefer the keybindings Alt + F2 and type gksudo nautillus It is more I think that it takes less time to do that than to go to the shortcut created, but it is always good to have variants for all tastes 😉
You can also create a launcher either in the panel, on the desktop and / or in the programs menu by putting in Command gksudo nautilus /
Thanks for the excellent contribution.