Skip to content

Instantly share code, notes, and snippets.

@ryanpadilha
Created July 12, 2018 14:46
Show Gist options
  • Save ryanpadilha/f185a6a3f61da33eeec16f26fbd8414e to your computer and use it in GitHub Desktop.
Save ryanpadilha/f185a6a3f61da33eeec16f26fbd8414e to your computer and use it in GitHub Desktop.
Create desktop entry in Ubuntu to STS
- Create a file with the content below:
[Desktop Entry]
Type=Application
Name=sts
Comment=Spring Tool Suite
Icon=/home/ryan/development/sts-bundle/sts-3.9.5.RELEASE/icon.xpm
Exec=/home/ryan/development/sts-bundle/sts-3.9.5.RELEASE/STS
Terminal=false
Categories=Development;IDE;Java;
StartupWMClass=STS
- Save the file with .desktop extension
- Right click the file >properties>permissions
- Tick Allow executing file as program
@saulobr88
Copy link

saulobr88 commented Jan 27, 2021

For those who are using Ubuntu 20.04, there is a new step for allowing execution. It is described here < https://linuxconfig.org/how-to-create-desktop-shortcut-launcher-on-ubuntu-20-04-focal-fossa-linux >

Step 4: Right-click on the new .desktop file located on your desktop and select "Allow Launching".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment