Prism 1.0b3 Add-on with Firefox 3.5

From froelix.com - Wiki
Revision as of 19:15, 31 August 2010 by Froelix (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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