Tuesday, October 20, 2009

Add a Nautilus launcher

Many times you may have to execute your programs as root user in Ubuntu and we most often use 'sudo' when working in a terminal. However, the files and directories created under sudo will be not be accessible by the default user from the File Explorer. It can be circumvented by launching a nautilus window from the terminal.
$gksudo nautilus

You can also add a launcher on your desktop and set the command of that launcher to "gksudo nautilus". Double-clicking on that launcher would launch a File Explorer with root permission. You can do pretty much everything you do as a sudo in command line.

No comments: