Page 1 of 1

Firefox popups and wireless backup interface

Posted: 10 Jun 2015, 14:42
by deeste08
Hello,

I got a question, I'm testing the Porteus Kiosk and can't seem to get firefox to show popups. I do have the allow_popup_windows=yes Is there a way to debug this?
Also, We have a computer with both a lan and wlan adapter, both of which I want to configure and use. I tried using network_interface=eth0 wlan0 but that didn't work. Is there a way to have both interfaces available?

Thanks.

Re: Firefox popups and wireless backup interface

Posted: 10 Jun 2015, 20:15
by fanthom
hello deeste08,

please test popups on this page:
http://popuptest.com/
they should be opened in separated tabs unless you have navigation bar completely disabled?

"Is there a way to have both interfaces available?"
yes. please setup wifi + dhcpcd (automatic configuration) as the only connection in the wizard and wired will be used as a fallback in case when wifi is not available.

automatic configuration is required for this trick to work.

will move this thread to the kiosk section of the forum once you see my answer.

Re: Firefox popups and wireless backup interface

Posted: 11 Jun 2015, 12:02
by deeste08
Thank you for your quick answer. I will try to only set the wireless connection and see if it will fall back to the Ethernet connection. I did try the popup test and it worked but after some further investigating I noticed that it isn't actually a popup but a new window. Is it still possible to allow a new window to be opened ?

Re: Firefox popups and wireless backup interface

Posted: 11 Jun 2015, 15:08
by fanthom
you will have to remaster the kiosk ISO and set your window opening preference as per:
http://kb.mozillazine.org/Browser.link. ... estriction

example:

Code: Select all

user_pref("browser.link.open_newwindow.restriction", 0);
changes to:

Code: Select all

user_pref("browser.link.open_newwindow.restriction", 2);
you will have to edit 003-settings.xzm/home/guest/.mozilla/firefox/c3pp43bg.default/prefs.js as explained here:
http://porteus-kiosk.org/kiosk-customization.html

Re: Firefox popups and wireless backup interface

Posted: 12 Jun 2015, 08:32
by deeste08
Hey,

Thanks for all your help, it's really appreciated. :good: While editing the prefs.js I noticed that I had to set this to false: user_pref("browser.link.open_newwindow.disabled_in_fullscreen", false); After that a new window opened. I have one more question though, is it possible to prevent the new window to open fullscreen? I couldn't find that option in the prefs.js

Re: Firefox popups and wireless backup interface

Posted: 12 Jun 2015, 09:09
by fanthom
you could edit localstore.rdf (placed in the same folder as prefs.js) and change:

Code: Select all

sizemode="fullscreen" />
to:

Code: Select all

sizemode="maximized" />
or "normal" although i'm quite sure this will break few other things ...

good news is that next version of kiosk (scheduled for September) should handle this problem better as firefox wont run in fullscreen by default anymore:
http://porteus-kiosk.org/changelog-auto ... tml#150611

Re: Firefox popups and wireless backup interface

Posted: 16 Jun 2015, 14:37
by deeste08
Thanks Sir,

It all works now. I do have anther question though. The website font is really ugly so I tried to add a new font, Verdana, to the core.xzm but it seems to have no effect on the webpage displayed. I have also tried the following thing, adding this to the prefs.js:
user_pref("gfx.font_rendering.directwrite.enabled", false);
user_pref("gfx.xrender.enabled", false);
user_pref("reader.font_type", "verdana");

But non of that worked. Do you have any suggestions, maybe updating the driver?

Re: Firefox popups and wireless backup interface

Posted: 29 Jun 2015, 12:19
by deeste08
Friendly bump

Re: Firefox popups and wireless backup interface

Posted: 29 Jun 2015, 15:11
by fanthom
Not sure what could go wrong in your build. I can only recommend kiosk custom builds service where corefonts works:
http://porteus-kiosk.org/builds.html

Thank you.