跳到正文
W Winse Blog
linux bigdata 1 min read

在Cenots7双击运行程序

Linux本来就是作为服务器来运行的,双击运行程序的需求比较少。但是还是有一些,同时也没有Windows桌面快捷方式那么的方便。

在Centos7中建立"快捷方式"双击运行,需要建立一个desktop类型的文件:

[root@k8s ~] cat ~/Desktop/Cassandra.desktop
[Desktop Entry]
Name=Cassandra
Comment=Launch Cassandra
Exec=su - hadoop /home/hadoop/apache-cassandra-2.2.10/bin/cassandra -f
Terminal=true
Type=Application

右键创建快捷的方式,在Centos7上面没有找到。

In Gnome :

  • right click on the desktop and ‘create launcher’
  • browse to the script location and give a name

# 参考

–END

在 GitHub 上讨论

欢迎通过 GitHub Issue 留言或反馈。每条讨论都会关联到对应文章的源文件路径。

2017-10-28-application-run-do-double-click-on-centos7.md

Related posts