[correction] Re: Cant delete/remove files in /opt

NoOp glgxg at sbcglobal.net
Sat Jan 26 02:46:35 UTC 2008


On 01/25/2008 06:12 PM, NoOp wrote:
> On 01/25/2008 03:10 PM, Rajat wrote:
>> worked . .thanks everyone ..
>> 
>> best regards
>> Rajat
> 
> And for future reference...
> 
> From the terminal (Applications|Accessories|Terminal) simply:
> 
> gksu nautilus
> 
> That will bring up the Nautilus file browser in root mode. You can then
> go to 'File System' then the /opt directory and delete to your hearts
> content. Obvious warnings about deleting files that you shouldn't apply.
> 
> If you want to add 'File Browswer (root)' to your Applications|System
> Tools directory you can do this:
> 
> gksudo gedit /usr/share/applications/Nautilus-root.desktop
> 
> - Insert the following lines into the new file
> 
> [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;
> 
> save the file. Now go to the Applications|Systems
> Tools menu and you will find an icon & item marked
> 'File Browser (Root)'
> click & it will issue the gksudo nautilus command for you.
> 
> 

should be:

Exec=gksu nautilus






More information about the ubuntu-users mailing list