在fedora 桌面上添加应用程序

在网上下了个android studio,这个程序只是的压缩包,解压后程序也只能在SHELL下敲入studio.sh才能运行html

能不能向其余程序同样,在fedora桌面上找到应用程序,点击执行呢。在网上找到办法了android

在/usr/share/applications目录下建个android-studio.desktop,在写入android-studio

[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=Android Studio
Comment=Android Development IDE
Exec=/opt/android-studio/bin/studio.sh
Icon=/opt/android-studio/bin/idea.png
Terminal=false
Categories=Development;IDE;Java;

因为个人android在opt/android-studio目录下,因此Exec,Icon都指向这个路径,这段文字什么意思不具体说了,请看参考app

 

参考:ide

Desktop files: putting your application in the desktop menus
ui

相关文章
相关标签/搜索