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).
5 Comments
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.
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
Sorry, got cut off.
Be sure to adjust the path to your icon.
Thank you a lot for the tip! I’m new Ubuntu user and this was useful.
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. […]
Indonesia Super Competition
Menu issue with Aptana Studio 3 on Ubuntu 11.04
visit site
Menu issue with Aptana Studio 3 on Ubuntu 11.04
this contact form
Menu issue with Aptana Studio 3 on Ubuntu 11.04
sports
Menu issue with Aptana Studio 3 on Ubuntu 11.04
find out this here
Menu issue with Aptana Studio 3 on Ubuntu 11.04
click now
Menu issue with Aptana Studio 3 on Ubuntu 11.04
her explanation
Menu issue with Aptana Studio 3 on Ubuntu 11.04
Home Page
Menu issue with Aptana Studio 3 on Ubuntu 11.04
Waste King
Menu issue with Aptana Studio 3 on Ubuntu 11.04
Continue
Menu issue with Aptana Studio 3 on Ubuntu 11.04