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?
Thread Tools
-
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
- Join Date
- Mar 2006
- Location
- Williams Lake
- Beans
- Hidden!
- Distro
- Ubuntu Development Release
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
- Join Date
- May 2009
- Location
- Fareham, UK
- Beans
- Hidden!
- Distro
- Xubuntu 14.04 Trusty Tahr
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
最新文章
- PHP函数、数组
- 6、后记:PMO项目管理 - PMO项目管理办公室
- Codeforces Round #192 (Div. 2)
- iOS开发多线程篇—创建线程
- oracle SQLserver 函数
- GC的代机制
- oracle删除表的方法
- Spark计算模型
- Gvim安装nerd_tree插件
- 巡风源码阅读与分析---view.py
- [SCOI2006] 数字立方体
- # 20175329 2018-2019-2 《Java程序设计》第一周学习总结
- Linux vmstat命令
- flask项目第一次如何运行创建数据库
- python 的基础 学习 第五天 基础数据类型的操作方法
- Docker命令使用详解(转)
- Android 反编译apk
- 举个通俗易懂的例子告诉你IAAS,SAAS,PAAS的区别
- RxJava【创建】操作符 create just from defer timer interval MD
- 【bzoj2002】 Hnoi2010—Bounce 弹飞绵羊