linux 下新建terminal窗口运行shell脚本方法

来源:互联网 发布:同城送餐软件 编辑:程序博客网 时间:2024/05/22 17:30

ubuntu等发行版中如果在桌面上新建一个脚本文件,并且想在右击菜单中增加“open in terminal"选项使得其在新建的terminal窗口中运行,可以选择右击菜单中的open with other application -> use a custom command:  gnome-terminal -e

这样便可以新建terminal窗口运行shell脚本了。

当然执行的程序还可以是别的terminal程序。

原创粉丝点击