Page 2 of 3

Re: Firefox Add ons?

Posted: 23 Jul 2014, 12:01
by fanthom
hello luk,

please run firefox-26.x on a clean profile in your favorite distro-> install FxKeyboard addon -> close firefox -> copy addon and addon.sqlite from your newly created profile to 003-settings.xzm/xxx/xxx/
(no need to edit prefs.js)

squash 003-settings.xzm module back -> create new kiosk ISO -> check if that works.

Re: Firefox Add ons?

Posted: 31 Jul 2014, 12:08
by luk
Hello fanthom
sorry so that long...
I checked this and we have success! :)
I copied fx Keyboard addon + addon.json + extension.ini(with little path change).
Next squash 003-settings.xzm module back, and dd iso -> works great.
Thank You so much.

PS.Pozdrowienia z Polski :)

Re: Firefox Add ons?

Posted: 06 Jan 2015, 12:54
by filterguy
First of all thank you for help, I have almost made it work with your help.
Now more details on what "almost" worked for me :)
Web kiosk has no mouse/keyboard, just touch screen, so I need a virtual keyboard, but fxkeyboard can't switch between layouts, and i need English and Arabic layouts in my kiosk. So i have chosen "vkeyboard" and made Arabic layout my own for it. I included "extensions,json" and "prefs.js" with path modiffications, but after i install porteus i see popup window with "Select Your Add-ons" menu every time firefox restarts.
I will try to add "extensions.ini" now, i case someone deed multiple languages on virtual keyboard successfully, i'd be glad to hear hints :)

P.S.: "extensions.ini" didn't help :( still asking to confirm addon every restart :wall:

Re: Firefox Add ons?

Posted: 06 Jan 2015, 13:26
by tome
You must save also your firefox profile, probably prefs.js, extensions.ini(json), addons.json or some other config files.

Re: Firefox Add ons?

Posted: 06 Jan 2015, 14:21
by filterguy
tome wrote:You must save also your firefox profile, probably prefs.js, extensions.ini(json), addons.json or some other config files.
Thank you for your reply. I am taking all files from my firefox profile, everything seems to be working almost fine, I have included prefs.js *fixed path*, extensions.ini(json) *fixed path*, addons.json *no changes*, but firefox gives me message Image

after I press "Done". keyboard works, but after each restart of firefox same popup window :(

when i search files for content include "vkeyboard", only those 4 files i included appear, but i looked only inside profile folder

Re: Firefox Add ons?

Posted: 06 Jan 2015, 14:57
by filterguy
I have solved problem by creating file "user.js" in profile folder including this:

Code: Select all

user_pref("extensions.shownSelectionUI", true);
user_pref("extensions.autoDisableScopes", 0);
I hope this information will help someone ;)

Re: Firefox Add ons?

Posted: 07 Feb 2015, 11:59
by pyro
Hi,

first of all, I got fxkeyboard running on porteus kiosk. Thanks for that.

To only thing is that I always get the US layout. But for the hardware keyboard itÅ› the correct layout DE...

any suggestion?

Re: Firefox Add ons?

Posted: 07 Feb 2015, 19:18
by pyro
Changed the locale file GB in the addon .xpi with the German one.

Re: Firefox Add ons?

Posted: 19 Feb 2015, 23:35
by kper
I was thinking of using Porteus Kiosk Edition with an old laptop connected to a TV as a monitor as a simple, quick-to-set-up way to give guests internet access.

I'd want to install Adblock Plus in Firefox, though, and configure preferences.

Maybe other extensions too. (And maybe other Firefox preferences, like no 3rd party cookies.)

I'm afraid it just sounds too difficult and fiddly to get extensions and their preferences set up.

The lack of a simple way to do it (ie. boot, set up Firefox as desired, generate new ISO) has really put me off.

I'm hoping that might be helpful feedback 'from the living room.' Sitting in there, this is not, in reality, straightforward at all, you see! :%)

But if it could be made straightforward, that would be truly fantastic... :Yahoo!:

Re: Firefox Add ons?

Posted: 20 Feb 2015, 09:48
by fanthom
@kper

this is quite simple and was described few times on the forum already - even in this thread.
check this:

a) run firefox-31.x ESR on a clean profile in your favorite distro
b) install addons
c) configure firefox as you like
d) close the browser
e) unsquash 003-settings.xzm from the ISO and replace original /home/guest/.mozilla with your /home/guest/.mozilla
f) squash 003-settings.xzm module back
g) create new kiosk ISO
h) check if everything works

Re: Firefox Add ons?

Posted: 30 Jun 2015, 21:02
by Th4n0s
Hi,

I have tried to follow the steps you provided in order to add Virtual Keyboard to the Proteus distribution but after running unsquashfs 003-settings.xzm and navigating to xzm/squashfs-root/home/quest I cannot find the .mozilla folder. Any suggestions?

Thanks in advance

Re: Firefox Add ons?

Posted: 30 Jun 2015, 21:46
by tome
Enable "Show hidden files" option in your File Manager or paste path to address bar.

Re: Firefox Add ons?

Posted: 30 Jun 2015, 22:09
by Th4n0s
Thanks a lot! It worked! Hopefully I will be able to carry out the rest steps now.

Re: Firefox Add ons?

Posted: 01 Jul 2015, 18:29
by Th4n0s
Back again as my attempt to modify the iso file failed...

I followed the steps described above and I am getting the following error when I am testing the new iso:
cannot read 003-settings.xzm. Corrupted module?

Please burn the kiosk ISO once again, exiting now...

I have tried even without making any changes just unsquash and mksquash the 003-settings.xzm file and ./make_iso.sh to create the new iso.

Any suggestions?

Thanks again in advance

Re: Firefox Add ons?

Posted: 01 Jul 2015, 18:42
by fanthom
your squashfs-tools must support 'xz' compression.

if 'xz' is not default then you should build the module using following syntax:

Code: Select all

mksquashfs /tmp/fakeroot /tmp/newmodule.xzm -comp xz -b 256K -Xbcj x86 -noappend