Page 1 of 1

can't delete ".conky-start.sh" file

Posted: Mon Jan 30, 2012 5:12 pm
by omer-o
i created a .sh file for conky on desktop. now i can't delete the file. how can i delete it?

Re: can't delete ".conky-start.sh" file

Posted: Mon Jan 30, 2012 6:29 pm
by xenopeek
What do you mean you can not delete it? Ctrl+H in Nautilus will show hidden files, or open a terminal in the folder where the file is and:

Code: Select all

rm .conky-start.sh
If it says you don't have permissions to do it, switch to:

Code: Select all

sudo rm .conky-start.sh

Re: can't delete ".conky-start.sh" file

Posted: Wed Feb 01, 2012 7:41 am
by Angtagapagligt
Open a terminal (ctrl+alt+t) and type the following lines:

Code: Select all

cd Desktop
sudo rm ~YOURFILE.SH~
Of course you have to replace ~YOURFILE.SH~ with the name of your file.

Re: can't delete ".conky-start.sh" file

Posted: Wed Feb 01, 2012 5:31 pm
by seppalta
You have to own the file, or act as root (computer supervisor), to delete a file. Unless you change their owner, the files that you own are likely pretty well limited to some of the files in your home directory. For general information on this subject: http://douwil7.100webspace.net/linux/Tuning.html#5.