Friday, April 24, 2009

Kiosk development - Fullscreen Firefox




If you ever wanna use Firefox under kiosk environment. It's a good idea to strip out all the menus and navigation and window bars using the R-Kiosk addon

Do the following configurations before you install the addon.

1. Create a "kiosk" profile using "firefox -ProfileManager". This will ensure you have access to another Firefox session that's not in kiosk mode.


firefox -ProfileManager


2. Type "about:config" in the URL and search for "browser.sessionstore.resume_from_crash" and set value to "false". This will prevent Firefox from asking to restore previous sessions if exited abruptly.

3. Uncheck anything in "Preferences" that may cause a dialog to popup while Firefox is in use.

4, Set your application's start page as the default homepage. You won't have access to the URL bar in kiosk mode!

Now you're ready to install the addon.

https://addons.mozilla.org/en-US/firefox/addon/1659

Once the addon has been installed, you'll be able to access your kiosked Firefox by running the following either in console or a icon command.


firefox -P kiosk


To access non-kiosk Firefox use the following


firefox -P default


If the above keeps getting kiosk then append "-no-remote" to the command


firefox -P default -no-remote


Actually there's a way to disable the kiosk addon.


firefox -P kiosk -safe-mode


This will give a dialog with option to disable all addons. ;)

No comments: