Difference between revisions of "Prism 1.0b3 Add-on with Firefox 3.5"

From froelix.com - Wiki
Jump to: navigation, search
(Created page with 'change xxxxx to xulrunner-1.9.1 --app /home/{user}/.mozilla/firefox/rsa49ydv.default/extensions/refractor@developer.mozilla.org/prism/application.ini -override "/home/fr0x/.w…')
 
 
Line 1: Line 1:
change
+
'''Problem:'''
  xxxxx
+
* After the installation of the Firefox [http://prism.mozillalabs.com/ Prism Add-on], the created application launchers (*.desktop files) do not work.
to
+
* Running the command of the application launchers out of a shell cause the following error:
  xulrunner-1.9.1 --app /home/{user}/.mozilla/firefox/rsa49ydv.default/extensions/refractor@developer.mozilla.org/prism/application.ini
+
  Could not read application.ini
   -override "/home/fr0x/.webapps/{webapp}@prism.app/override.ini" -webapp {webapp}@prism.app
+
 
 +
'''Solution:'''
 +
 
 +
* To solve this problem, the application launcher has to be modified.
 +
* We have to use the ''xulrunner'' program instead of ''xulrunner-stub'' and we have to add the path to the Prism ''application.ini''-file.
 +
* Following an example of the application launcher commands is shown. The modification is highlighted in red.
 +
 
 +
Command created by Prism which will cause the error:
 +
  <font color="#ff0000">"/usr/lib/xulrunner-1.9.1/xulrunner-stub"</font> -override "/home/{user}/.webapps/example.web.page@prism.app/override.ini" -webapp example.web.page@prism.app
 +
 
 +
Modified command which works properly:
 +
<font color="#ff0000">xulrunner-1.9.1 --app /home/{user}/.mozilla/firefox/rsa49ydv.default/extensions/refractor@developer.mozilla.org/prism/application.ini</font>
 +
   -override "/home/{user}/.webapps/example.web.page@prism.app/override.ini" -webapp example.web.page@prism.app

Latest revision as of 19:15, 31 August 2010

Problem:

  • After the installation of the Firefox Prism Add-on, the created application launchers (*.desktop files) do not work.
  • Running the command of the application launchers out of a shell cause the following error:
Could not read application.ini

Solution:

  • To solve this problem, the application launcher has to be modified.
  • We have to use the xulrunner program instead of xulrunner-stub and we have to add the path to the Prism application.ini-file.
  • Following an example of the application launcher commands is shown. The modification is highlighted in red.

Command created by Prism which will cause the error:

"/usr/lib/xulrunner-1.9.1/xulrunner-stub" -override "/home/{user}/.webapps/example.web.page@prism.app/override.ini" -webapp example.web.page@prism.app

Modified command which works properly:

xulrunner-1.9.1 --app /home/{user}/.mozilla/firefox/rsa49ydv.default/extensions/refractor@developer.mozilla.org/prism/application.ini
 -override "/home/{user}/.webapps/example.web.page@prism.app/override.ini" -webapp example.web.page@prism.app