Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - asifhs

Pages: 1
1
# First do as instructed on: http://www.stencyl.com/help/view/install-stencyl-linux
# All this mess can be resolved in a one time installation script!
sudo apt-get install ia32-libs-multiarch ;# If running 64-bit ubuntu/linux. You may not need this.
sudo mkdir /opt/Stencyl
sudo tar -C /opt/Stencyl -zxf Stencyl-64-full.tar.gz
sudo gedit /opt/Stencyl/Stencyl
Code: [Select]
#!/bin/bash

StencylHome=/opt/Stencyl
pushd ${StencylHome}
${StencylHome}/runtimes/jre-linux/bin/java -Xms64m -Xmx1024m -Djava.library.path=${StencylHome}/lib -jar ${StencylHome}/sw.jar
popd
sudo chmod 755 /opt/Stencyl/Stencyl
mkdir ~/stencylworks
cp -R /opt/Stencyl/prefs ~/stencylworks

# Now execute Stencyl from a shell:
/opt/Stencyl/Stencyl
# Or execute from Desktop:
cp /opt/Stencyl/Stencyl ~/Desktop ;# If you wish to exec from desktop. ToDo: fix icon!
# Now look for Stencyl on Desktop and double-click on it and <RUN>.

# To create a Stencyl icon in the Ubuntu Unity Launch bar:
rm ~/.local/share/applications/stencyl.desktop
cd /opt/Stencyl
unzip -d . sw.jar res/common/icon.svg
mv res/common/icon.svg .
/bin/rm -rf res
sudo gedit /usr/share/applications/stencyl.desktop
Code: [Select]
[Desktop Entry]
Name=Stencyl
Comment=<>
GenericName=Stencyl
Exec=/opt/Stencyl/Stencyl
Type=Application
Terminal=false
Icon=/opt/Stencyl/icon.svg
StartupNotify=true
Categories=Development;
#  Log out/in.
# In the dash type Stencyl, and drag-and-drop the icon into launch bar.

2
Chit-Chat / Running Stencyl on Ubuntu 12.04 64-bit (64 bit, x86_64).
« on: April 08, 2013, 11:02:21 pm »
sudo apt-get install ia32-libs-multiarch

Pages: 1