I don't want to open the terminal and type sudo nautilus every time I want to visually browse for files. Is there a way of fixing it to the launcher?
|
You can make a new menu entry with tools like alacarte (or manually write the .desktop file and place it in your ~/.local/share/applications folder) that runs "gksudo nautilus". gksudo should present you with a graphical password entry box. After you added this to your menu, you can just drag and drop it on the launcher. |
|||||||||
|
|
Just copy /usr/share/applications/nautilus.desktop to ~/.local/share/applications. Then edit all the "command" entries in it to begin with gksudo, also change all "name" entries to root nautilus, or something similar. Log out and log back in again and root nautilus should appear in the dash. You can then drag root nautilus to the launcher from the dash. |
|||
|
|
gksu nautilusbut if you really want to add either it to the menu, or icon on desktop, see here. You will still need to enter your password though. – Warren Hill Apr 10 '13 at 11:51gksuinstead ofsudofor graphical applications. See here for why – Warren Hill Apr 10 '13 at 11:58