I downloaded Aptana Studio which is not "installed" but can be launched directly from the downloaded executable.
I'd like to add a shortcut to the applications menu or in the dock. Drag & Drop to the dock does not work.
elementary OS Stack Exchange is a question and answer site for developers and users of elementary OS and applications. It only takes a minute to sign up.Sign up to join this community
You can create an application shortcut for Slingshot (the applications menu) manually.
It should be placed in
/usr/share/applications/<APPNAME>.desktop. Below is the way Skype's .desktop file looks. Copy the contents, replace with the data that will suit your application, and it should appear in the menu:
$ cat /usr/share/applications/skype.desktop [Desktop Entry] Name=Skype Comment=Skype Internet Telephony Exec=env PULSE_LATENCY_MSEC=60 skype %U Icon=skype.png Terminal=false Type=Application Encoding=UTF-8 Categories=Network;Application; MimeType=x-scheme-handler/skype; X-KDE-Protocols=skype
Once it is in the menu, you'll be able to pin it to the dock
Create an application desktop-entry at
/usr/share/applications/ with the name
app-name.desktop with the following basic details:
[Desktop Entry] Version=1.0 Name=App Name Exec=/dir/path/app/binary Terminal=false Icon=/icon/path/icon.png Type=Application
You can add entries like
MimeType (complete-list) and
UTF-8) optionally. For the app category (eg:
Categories:Network;WebBrowser;IDE) check the short list below:
AudioVideo, Audio, Video, Development, Education, Game, Graphics, Network, Office, Science, Settings, System, Utility
edit: If you need to get administrator privileges explicitly (with sudo), install
gksu and then use
gksudo at exec.
As the previous posts mentioned you can very well create own shortcut for Slingshot manually but it is worth to mention that there is good, working software to do it with gui, as well as manage your application shortcuts.
The software is called Main Menu (alacarte) and can be downloaded from ubuntu repositories.
sudo apt-get install alacarte
You can add new shortcuts by clicking New Item and entering path to the software in the Command field.
The other that I can suggest trying out is called MenuLibre Project site: https://smdavis.us/projects/menulibre/
It can be installed from MenuLibre Developer's stable repository:
sudo add-apt-repository ppa:menulibre-dev/devel sudo apt-get update && sudo apt-get install menulibre
Or as it says here:
Run the app, then rt-click on app in dock, and select 'Keep in dock'.