Ubuntu 14.04 在桌面上双击运行shell 脚本文件
http://askubuntu.com/questions/465531/how-to-make-a-shell-file-execute-by-double-click
To run your script by double clicking on its icon, you will need to create a
Save the above as a file on your Desktop with a Specifically, for your situation, you need to do:
|
http://forum.ubuntu.org.cn/viewtopic.php?p=1861292
Thread: Opening .sh files with double click?
-
August 28th, 2014#1
5 Cups of Ubuntu
- Join Date
- Aug 2014
- Beans
- 20
Opening .sh files with double click?
I just install PyCharm on ubuntu 14 and by default when i double click it opens the .sh file with gedit. How could I make it to just run the program when i double click?
-
August 28th, 2014#2
Re: Opening .sh files with double click?
To run executable files from Nautilus (Files) go to the Edit menu and select Preferences->Behaviour, and under Executable Text Files select Ask each time
-
August 28th, 2014#3
Re: Opening .sh files with double click?
Of course this only works if your script IS executable, check in the files properties.
Catch me on Freenode - imark -
posted on 2015-05-19 11:31 okgogo2000 阅读(859) 评论(0) 编辑 收藏 举报
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步