Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 45421  / 2 Years ago, sat, june 25, 2022, 7:30:28

I am running Ubuntu 13.04 and am trying to create an .sh file for conky in /usr/bin using gedit.
When trying to save I get the error dialogue:



Could not save the file /usr/bin/conky-start.sh
You do not have the permissions necessary to save the file. Please check that you typed the location correctly and try again."


From searching, I think I have to run a command in terminal to allow permission, but I couldn't find out what that is.



Edit:

I'm trying to create the file conky-start.sh, not change or run it.

Thus far, I've opened gedit, copied and pasted some required info from the net, and I'm trying to save-as /usr/bin/conky-start.sh



Perhaps I need to create the file first in terminal, then edit it?



How would I do that?


More From » 13.04

 Answers
3

Please try:



gksudo gedit /usr/bin/conky-start.sh


Write the contents of the file and you should be able to save it. To make it executable, you may need to do:



sudo chmod +x /usr/bin/conky-start.sh

[#30550] Sunday, June 26, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
rinstracte

Total Points: 221
Total Questions: 114
Total Answers: 120

Location: France
Member since Fri, Jan 28, 2022
2 Years ago
rinstracte questions
Wed, Jun 15, 22, 02:09, 2 Years ago
Tue, Jan 24, 23, 01:39, 1 Year ago
Wed, Jun 9, 21, 04:34, 3 Years ago
Sun, Apr 17, 22, 11:38, 2 Years ago
;