Thursday, 22 June 2017

To create a desktop icon in linux






I am giving you example of how to create a desktop icon of android studio

$ gksu gedit /usr/share/applications/eclipse.desktop

Paste the following into the file, editing the relevant parts:

[Desktop Entry]
Version=1.0
Type=Application
Name=Android Studio
Exec="/opt/android-studio/bin/studio.sh" %f
Icon=/opt/android-studio/bin/studio.png
Categories=Development;IDE;
Terminal=false
StartupNotify=true
StartupWMClass=android-studio

And after doing this Save and close the file.