Skip to content

Instantly share code, notes, and snippets.

@IQAndreas
Created January 17, 2012 14:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IQAndreas/1626770 to your computer and use it in GitHub Desktop.
Save IQAndreas/1626770 to your computer and use it in GitHub Desktop.
Ubuntu Launcher for FDT5
#!/bin/sh
#export MOZILLA_FIVE_HOME="/usr/lib/xulrunner-1.9.2.17/"
export MOZILLA_FIVE_HOME="/usr/lib/mozilla/"
export LD_LIBRARY_PATH=${MOZILLA_FIVE_HOME}:${LD_LIBRARY_PATH}
export GDK_NATIVE_WINDOWS=1
export ECLIPSE_HOME="/opt/fdt5"
$ECLIPSE_HOME/eclipse $*
# Clean out viewer settings for FDT
# Could remove the windows and MAC settings as well, but it seems a bit uneccessary. ;)
# 32 bit linux
rm -f /opt/fdt5/plugins/com.powerflasher.fdt.ui.swfViewer_5.0.0.1412/linux32/.SWFViewerCheck
rm -f /opt/fdt5/plugins/com.powerflasher.fdt.ui.swfViewer_5.0.0.1412/linux32/.SWFViewerLock
rm -f /opt/fdt5/plugins/com.powerflasher.fdt.ui.swfViewer_5.0.0.1412/linux32/.SWFViewerRestartInfo
# 64 bit linux
rm -f /opt/fdt5/plugins/com.powerflasher.fdt.ui.swfViewer_5.0.0.1412/linux64/.SWFViewerCheck
rm -f /opt/fdt5/plugins/com.powerflasher.fdt.ui.swfViewer_5.0.0.1412/linux64/.SWFViewerLock
rm -f /opt/fdt5/plugins/com.powerflasher.fdt.ui.swfViewer_5.0.0.1412/linux64/.SWFViewerRestartInfo
[Desktop Entry]
Name=FDT5
#Comment=
Exec=fdt5
Icon=/opt/fdt5/fdt-icon.png
Terminal=false
Type=Application
StartupNotify=true
Categories=GNOME;Application;IDE;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment