Created
August 17, 2012 14:08
-
-
Save weslleih/3378987 to your computer and use it in GitHub Desktop.
Aptana Studio 3 Gnome launcher
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 – Baixe o programa no site abaixo e descompacte na pasta /opt | |
http://download.aptana.com/studio3/standalone/3.2.0/linux/Aptana_Studio_3_Setup_Linux_x86_64_3.2.0.zip | |
3 – Execute o comando abaixo para renomear o arquivo: | |
$sudo mv Aptana_Studio_3 aptana | |
4 – Crie um script para execução do aptana: sudo gedit /usr/bin/aptana | |
cole o código abaixo nele. | |
#!/bin/sh | |
#export MOZILLA_FIVE_HOME="/usr/lib/mozilla/" | |
export APTANA_HOME="/opt/aptana" | |
$APTANA_HOME/AptanaStudio3 $* | |
5 – Agora vamos dar permissões corretas para o arquivo: | |
sudo chmod 755 /usr/bin/aptana | |
sudo chmod -R +r /opt/aptana | |
sudo chmod +x `sudo find /opt/aptana -type d` | |
6 – Vamos criar um atalho legal para o nosso aptana | |
faça o comando a seguir: sudo gedit /usr/share/applications/aptana.desktop | |
cole o código abaixo: | |
[Desktop Entry] | |
Encoding=UTF-8 | |
Name=Aptana Studio 3 | |
Comment=IDE for Rails, Python, PHP | |
Exec=/opt/aptana/AptanaStudio3 | |
Icon=/opt/aptana/icon.xpm | |
Terminal=false | |
Type=Application | |
Categories=GNOME;Application;Development; | |
StartupNotify=true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment