Monday, May 13, 2024
10
rated 0 times [  10] [ 0]  / answers: 1 / hits: 56672  / 2 Years ago, fri, december 31, 2021, 6:33:24

I just upgraded to 13.04. Before this when I click on a shell script file it'll give an option to run via terminal but now the option is no longer available and when I click the file it'll directly open via gedit.



How to run it via terminal and if possible, make it like that on default?


More From » command-line

 Answers
6

Open the file explorer Files. Press Alt+F10 and select Preferences. You should see something like this.



In the Behavior tab, select Ask each time and close it. Now double on a shell script will ask you what to do each time. If you want to straight away execute the script, select the first option Run executable text files when they are opened.



enter image description here


[#31010] Saturday, January 1, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ndaavi

Total Points: 169
Total Questions: 116
Total Answers: 113

Location: Falkland Islands
Member since Wed, Dec 23, 2020
3 Years ago
;