If you are using Ubuntu 11.04 (comes with the Unity interface) together with the Aptana Studio IDE, here is a way to add a working launcher icon for Unity. Aptana/Eclipse don’t yet support the global menu in Unity. With this launcher, the global menu support is deactivated for the aptana application only.
First open a text editor (ex. gedit) and add the following:
#!/usr/bin/env xdg-open [Desktop Entry] Version=1.0 Type=Application Terminal=false StartupNotify=true Icon[en_US]=/opt/apps/aptana/icon.xpm Name[en_US]=Aptana Studio 3 Exec=env UBUNTU_MENUPROXY=0 /opt/apps/aptana/AptanaStudio3 -application com.aptana.commandline.launcher.LauncherApplication "$@" > /dev/null 2>&1 & Name=Aptana Studio 3 Icon=/opt/apps/aptana/icon.xpm
You first need to change some of the paths to match the location where you have the aptana folder in your system. In my system, I have aptana installed in /opt/apps/aptana. Then, save the file with a name like “aptana3.desktop” into a directory out of your way. Just make sure you don’t delete this file later on by accident. I saved it inside my aptana folder. Next open the file browser (nautilus), go to the folder where you saved the .desktop file and drag and drop the file into the Unity bar on the left. That’s it!




Very cool, I was trying to do this for a couple hours, and I found this extremely helpful. Thanks
hey thanks for this! I no longer need to glare at my non-working ‘Keep in Launcher’ Aptana icon.
Excellent, thanks!
for noobs like me, you can just create a starter (right-click on desktop) and drag this starter to the quick-bar!
With the way you suggested, when launching aptana, a duplicate launcher would appear as well and window switching wouldn’t work.
nope, works fine for me
Nice job. Very helpful.
I have one question though.
The icon.xpm in the aptana directory is red. The one displayed in my launcher is orange. Any idea where that one lives? I can’t seem to find it.
I haven’t been using Aptana for long, just found out about it but mine is orange too. I guess red icon is an old one and orange is new. It’s not the matter anyway, I guess you can download the red one from the internet if you want to
It’s just a matter of visual effect.
I think the red icon was available only during the beta releases of Aptana Studio 3.
Pingback: Eclipse & Aptana QuickList « Ubuntu Life
Pingback: unity和aptana衝到~!! | HckPlace
Very helpful as others say. It is added but does not work. I mean Aptana will not start as I click the launcher. And also the icon is not applied, I just see a question mark.
Sorry to hear that. Maybe you haven’t configured the .desktop properly?
Loved it. Exactly what I was looking for and works like a charm. Amazing.
Thnx a loooot! I’ve spent several hours trying my Aptana launcher to work
I upgraded to 12.04 and have a problem with this .desktop configuration. When I click on the icon, program launches but I can’t see its icon in the alt+tab list or launcher. It works but can’t find a way to switch back to it if I go to another application (unless I close other apps and so I can see Aptana again)
You say that you click the icon (on the launcher?) and then you can’t see the icon on the launcher and the alt+tab list. So, when you click the launcher icon, it disappears? Haven’t upgraded my Ubuntu yet, but on a clean 12.04 install it worked fine.
Try to remove the icon from the launcher, logout and login again and drag-and-drop the .desktop file in the launcher. Also make sure the aptana paths inside the .desktop file are still valid.
Thank you So Much!! Works like a Gem!
Thanks for this. Although I did use this quite some time for my launcher it did have some issues. I found the following to work better:
[Desktop Entry]
Type=Application
StartupNotify=False
Name=Aptana
Comment=Aptana Studio 3
Icon=/opt/Aptana_Studio_3/icon.xpm
Exec=/opt/Aptana_Studio_3/AptanaStudio3 %f
Terminal=false
Categories=Development;IDE;
Again, this is no slight to to what you posted and I am thankful for your help, just figured I’d post this in hopes that i would help someone else.