ubuntu 为.sh文件创建桌面图标

1,在桌面创建 文件名.desktop文件。
2,文件内输入:
[Desktop Entry]
Name = Studio
Comment= android studio
Exec=/home/你的用户名/android-studio/bin/文件名.sh
Icon=/home/你的用户名/android-studio/bin/文件名.png
Terminal=false
Type=Application

3,将创建的文件可信任,右键查看文件属性–权限–勾选可执行

猜你喜欢

转载自blog.csdn.net/liutaiyi8/article/details/80597727