Skip to content

Instantly share code, notes, and snippets.

@gitsrc
Created September 1, 2018 14:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gitsrc/01255ad88a60bba26a963f10135a9bf8 to your computer and use it in GitHub Desktop.
Save gitsrc/01255ad88a60bba26a963f10135a9bf8 to your computer and use it in GitHub Desktop.
ubuntu 18.04下双击运行可执行shell脚本
1、安装 dconf-editor
sudo apt-get install dconf-editor
2、安装完成后直接输入dconf-editor打开dconf-editor
dconf-editor
3、org->gnome->natuilus->preferences->executable-text-activation
关闭使用默认值 自定义值改为ask
4、对脚本加上可执行权限,双击后会出现询问窗口
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment