Skip to content

Instantly share code, notes, and snippets.

@ederrafo
Last active October 13, 2023 10:05
Show Gist options
  • Save ederrafo/c69c9c1a8ddfbf42dcc8 to your computer and use it in GitHub Desktop.
Save ederrafo/c69c9c1a8ddfbf42dcc8 to your computer and use it in GitHub Desktop.
src: http://difusal.blogspot.com/2015/06/how-to-install-eclipse-mars-45-on-ubuntu.html
0. maybe :
sudo ln -s *eclipse path* /usr/bin/eclipse
make sure you replace *eclipse path* with the location where you previously saved eclipse - in my case it is ~/Programs/eclipse/eclipse
1. sudo gedit /usr/share/applications/eclipse.desktop
2. After these commands, gedit - Ubuntu's default text editor - should have opened
3. Copy the following text and paste it there:
[Desktop Entry]
Name=Eclipse
Type=Application
Exec=/home/henrique/Programs/eclipse/eclipse
Terminal=false
Icon=/home/henrique/Programs/eclipse/icon.xpm
Comment=Integrated Development Environment
NoDisplay=false
Categories=Development;IDE;
Name[en]=Eclipse
X-Desktop-File-Install-Version=0.22
OR
#!/usr/bin/env xdg-open
[Desktop Entry]
Type=Application
Name=DbVisualizer 9.2.15
Exec=/bin/sh "/opt/DbVisualizer/dbvis"
Icon=/opt/DbVisualizer/.install4j/dbvis.png
4. Save the text file and close gedit
5. A shortcut should have been successfully created
6. You may have to log off and back in for it to show up
Alternativa, tambien se puede poner aca: .local/share/applications/firefox-dev.desktop
[Desktop Entry]
Name=Firefox Developer
GenericName=Firefox Developer Edition
Exec=/opt/firefox-dev/firefox
Terminal=false
Icon=/opt/firefox-dev/browser/icons/mozicon128.png
Type=Application
Categories=Application;Network;X-Developer;
Comment=Firefox Developer Edition Web Browser.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment