sh:~$ mkdir xul
sh:location_of_downloaded_xulrunner$ tar zxvf xulrunner-1.8.0.1.en-US.linux-i686.tar.gz
sh:~$ cp -r location_of_downloaded_xulrunner/xulrunner ~/xul/xulrunner
sh:location_of_downloaded_flash_installer$tar zxvf install_flash_player_7_linux.tar.gz
sh:~$cp -r location_of_downloaded_flash_installer/flashplayer.xpt ~/xul/xulrunner/plugins/flashplayer.xpt
sh:~$cp -r location_of_downloaded_flash_installer/libflashplayer.so ~/xul/xulrunner/plugins/libflashplayer.so
xul
test
chrome
content
test
defaults
preferences
xulrunner
sh:~$ mkdir -p ~/xul/test/chrome/content/test
sh:~$ mkdir -p ~/xul/test/defaults/preferences
#!/bin/sh
PATH=$PATH:$(pwd)/../xulrunner xulrunner application.ini
[App]
Vendor=companyname
Name=test
Version=0.1
BuildID=20060220
Copyright=Nonsense
ID=somespecialidprobablyrelatedtosomekindofsubversioninfo
[Gecko]
MinVersion=1.8
MaxVersion=1.8
content test file:content/test/
<?xml version="1.0"?> <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> <window title="Test" xmlns:html="http://www.w3.org/1999/xhtml" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" style="width:750px;height:550px;margin:0px;padding:0px;"> <html:embed src="app.swf" width="750" height="550"/> </window>
pref(”toolkit.defaultChromeURI”,”chrome://test/content/start.xul”);
sh:~$chmod u+x ~/xul/test/runapp.sh
sh:~$cd ~/xul/test
sh:~$./runapp.sh