Ubuntu Unity launcher for Aptana Studio

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!

About these ads

19 Responses to Ubuntu Unity launcher for Aptana Studio

  1. Very cool, I was trying to do this for a couple hours, and I found this extremely helpful. Thanks

  2. hey thanks for this! I no longer need to glare at my non-working ‘Keep in Launcher’ Aptana icon.

  3. for noobs like me, you can just create a starter (right-click on desktop) and drag this starter to the quick-bar!

  4. nope, works fine for me

  5. tweaksource

    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.

  6. Pingback: Eclipse & Aptana QuickList « Ubuntu Life

  7. Pingback: unity和aptana衝到~!! | HckPlace

  8. a.Honarmand

    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.

  9. Loved it. Exactly what I was looking for and works like a charm. Amazing.

  10. none of your

    Thnx a loooot! I’ve spent several hours trying my Aptana launcher to work

  11. 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.

  12. Thank you So Much!! Works like a Gem!

  13. 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.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s