Ubuntu实现双击执行sh脚本
1、安装 dconf-editor
sudo apt-get install dconf-editor
2、安装完成后直接输入dconf-editor打开dconf-editor
sudo dconf-editor
3、进入org->gnome->natuilus->preferences->executable-text-activation,关闭使用默认值,自定义值改为ask

4、对脚本加上可执行权限,双击后会出现询问窗口
本文来自博客园,作者:KMP,转载请注明原文链接:https://www.cnblogs.com/touchTomorrow/p/16248502.html

浙公网安备 33010602011771号