Change default page for Firefox in Porteus-Kiosk

New features which should be implemented in Porteus Kiosk Edition and the kiosk wizard.
Post Reply
bis
Ronin
Ronin
Posts: 1
Joined: 16 Dec 2014, 21:22
Distribution: ubuntu
Location: RU

Change default page for Firefox in Porteus-Kiosk

Post#1 by bis » 16 Dec 2014, 21:30

Hello, everyone!
I am using Porteus Kiosk with white-list option. But every new tab opens with image "Access denied".
I want to make this page more user-friendly and change it to homepage or some other page.
But after unpacking squashfs images i didn't find image or html files.
How can I customize the default page? Or set redirect to homepage.

Thanks in advance!

User avatar
fanthom
Site Admin
Site Admin
Posts: 4566
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: Change default page for Firefox in Porteus-Kiosk

Post#2 by fanthom » 16 Dec 2014, 22:26

hi bis,

you can only change this image:
003-settings.xzm/usr/share/pixmaps/blocked-content.png

btw: please post in porteus kiosk section of the forum only. moving your thread there.
Please add [Solved] to your thread title if the solution was found.

moakes
White ninja
White ninja
Posts: 13
Joined: 27 Jan 2015, 19:05
Distribution: None
Location: United States

Re: Change default page for Firefox in Porteus-Kiosk

Post#3 by moakes » 09 Apr 2015, 16:17

For setting a specific webpage when opening a new tab:

https://support.mozilla.org/en-US/kb/ne ... -top-sites

In the Location bar, type about:config and press Enter.
The about:config "This might void your warranty!" warning page may appear. Click I'll be careful, I promise! to continue to the about:config page.
Type browser.newtab.url in the search box.
Double-click the browser.newtab.url preference and change the url from about:newtab to about:blank. Alternately, you can change it to about:home for the Firefox Google home page, or type in your preferred home page, for example google.com.
Click OK and close the about:config tab.

User avatar
Debadr
Black ninja
Black ninja
Posts: 43
Joined: 28 Apr 2015, 13:39
Distribution: Porteus Kiosk Edition 3.3.0
Location: France

Re: Change default page for Firefox in Porteus-Kiosk

Post#4 by Debadr » 15 May 2015, 09:03

bis wrote:Hello, everyone!
I am using Porteus Kiosk with white-list option. But every new tab opens with image "Access denied".
Hi Bis,

For the new tab issue one of the solutions is here : viewtopic.php?f=103&t=4610
moakes wrote:For setting a specific webpage when opening a new tab:

https://support.mozilla.org/en-US/kb/ne ... -top-sites

In the Location bar, type about:config and press Enter.
The about:config "This might void your warranty!" warning page may appear. Click I'll be careful, I promise! to continue to the about:config page.
Type browser.newtab.url in the search box.
Double-click the browser.newtab.url preference and change the url from about:newtab to about:blank. Alternately, you can change it to about:home for the Firefox Google home page, or type in your preferred home page, for example google.com.
Click OK and close the about:config tab.
@Moakes : It's the PKE edition, since it is secured by concept, you can't access to the firefox/iceweasle... configuration. (tested myself by adding about:config on white-list and did not work).
If you give a man a fish, he eats for a day. Teach him how to fish and he will eat forever...

moakes
White ninja
White ninja
Posts: 13
Joined: 27 Jan 2015, 19:05
Distribution: None
Location: United States

Re: Change default page for Firefox in Porteus-Kiosk

Post#5 by moakes » 20 May 2015, 20:35

Debadr wrote: @Moakes : It's the PKE edition, since it is secured by concept, you can't access to the firefox/iceweasle... configuration. (tested myself by adding about:config on white-list and did not work).
Sorry I left out a couple steps:
Extract the settings xzm as fatham mentioned.
Navigate to /003-settings/home/guest/.mozilla/firefox/c3pp43bg.default/
Edit prefs.js with Kwrite
Add the line: user_pref("browser.newtab.url", "youraddresshere.com");
Repack the module.
Remake the iso

User avatar
Debadr
Black ninja
Black ninja
Posts: 43
Joined: 28 Apr 2015, 13:39
Distribution: Porteus Kiosk Edition 3.3.0
Location: France

[SOLVED]Re: Change default page for Firefox in Porteus-Kiosk

Post#6 by Debadr » 22 May 2015, 14:01

Thnak you @moakes. I was approaching to the solution but you give it to me before :) thank you. well for me [SOLVED]
If you give a man a fish, he eats for a day. Teach him how to fish and he will eat forever...

Post Reply