Menu issue with Aptana Studio 3 on Ubuntu 11.04

In a break from .NET/Visual Studio themed blog posts, a quick pointer for anybody attempting to use Aptana Studio 3 in Ubuntu 11.04 – the main menu is totally hosed because of a clash with the new Unity 3D window manager. There’s a workaround in the Appcelerator docs (Appcelerator being the recent new owners of Aptana) for this. Simply create yourself a bash script to use as a proxy for launching Studio instead of opening it directly, which will allow the setting of an environment variable to restore the menu:

#!/bin/bash
export UBUNTU_MENUPROXY=0
./AptanaStudio3

If you’re new to the world of Linux, or a bit rusty, to make use of the above you need to create it as a text file in your editor of choice and then save it in the same directory as the Aptana Studio executable. You then need to give the file execute privileges (let’s assume you saved it as “AptanaLauncher”):

chmod u+x AptanaLauncher

You then execute it as follows:

./AptanaLauncher

The issue has been filed as an Eclipse bug, but a fix is still forthcoming (it’s been a few months already).

As an aside, following Appcelerator’s acquisition of Aptana Studio, they’ve recently release Titanium Studio. Worth noting that this is nothing more than Aptana Studio with full integration of the Titanium infrastructure – if you have no need for Titanium, there’s no need to switch (as pointed out by Aptana support themselves).

This entry was posted in Fixes and tagged , , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

5 Comments

  1. Prescilla
    Posted August 11, 2011 at 1:12 pm | Permalink

    Thank you for this! Can I make a desktop shortcut of this text file? Or add it to Unity Launcher? I can run it through terminal but I would like to save time and have it in my launcher. I tried creating a launcher on the desktop and point it to where the “AptanaLauncher” file was saved but it doesn’t work. Thanks in advance.

    • Posted September 22, 2011 at 1:17 am | Permalink

      Prescilla,

      You can make a file called aptana.desktop and put it in your /home/username/.local/share/applications folder. Note that the .local folder is hidden, so you need to use Ctrl+h to see it. To this file add the contents:

      [Desktop Entry]
      Version=1.0
      Type=Application
      Terminal=false
      StartupNotify=true
      Icon[en_US]=/opt/aptana/aptana.xpm
      Name[en_US]=Aptana Studio 3
      Exec=./AptanaLauncher
      Name=Aptana Studio 3
      Icon=/opt/aptana/aptana.xpm

      Log out and back in. Then open the ~/.local/share/applications folder and drag the aptana.desktop file to the launcher. Right-click and choose “Keep in Launcher”.

      Another way is to use

      • Posted September 22, 2011 at 1:18 am | Permalink

        Sorry, got cut off.

        Be sure to adjust the path to your icon.

  2. Bojan Nišević
    Posted December 23, 2011 at 12:17 am | Permalink

    Thank you a lot for the tip! I’m new Ubuntu user and this was useful.

  3. Paul
    Posted October 21, 2014 at 5:32 am | Permalink

    Thank you. This works in Ubuntu 14.04 as well.

11 Trackbacks

  • […] Unfortunately there is a known bug in Ubuntu currently for Aptana 3′s menus that seems to have been around for awhile. […]

  • By Indonesia Super Competition on August 7, 2017 at 9:37 pm

    Indonesia Super Competition

    Menu issue with Aptana Studio 3 on Ubuntu 11.04

  • By visit site on December 3, 2022 at 8:51 am

    visit site

    Menu issue with Aptana Studio 3 on Ubuntu 11.04

  • By this contact form on January 31, 2023 at 9:38 am

    this contact form

    Menu issue with Aptana Studio 3 on Ubuntu 11.04

  • By sports on February 25, 2023 at 4:54 am

    sports

    Menu issue with Aptana Studio 3 on Ubuntu 11.04

  • By find out this here on May 24, 2023 at 5:15 am

    find out this here

    Menu issue with Aptana Studio 3 on Ubuntu 11.04

  • By click now on June 8, 2023 at 1:02 pm

    click now

    Menu issue with Aptana Studio 3 on Ubuntu 11.04

  • By her explanation on June 8, 2023 at 3:42 pm

    her explanation

    Menu issue with Aptana Studio 3 on Ubuntu 11.04

  • By Home Page on July 21, 2023 at 4:34 am

    Home Page

    Menu issue with Aptana Studio 3 on Ubuntu 11.04

  • By Waste King on August 21, 2023 at 4:19 am

    Waste King

    Menu issue with Aptana Studio 3 on Ubuntu 11.04

  • By Continue on August 27, 2023 at 6:15 pm

    Continue

    Menu issue with Aptana Studio 3 on Ubuntu 11.04

Leave a Reply