icsd08063
February 9th, 2016, 06:05 AM
Hello to everybody! My first question here and i am really hoping for an answer...
So, here is the problem. I use Ubuntu 12.04 Kiosk with Firefox 28 (do not ask why and how, it just works) and what i wanna do is pretty simple: set 2 tabs as homepage. Pipe character would be the solution for me but here is the tricky part. When i set in user.prefs file the two url's, firefox starts normally with 2 tabs open (so far so good) but when session is killed, firefox reopens with this link in address bar
http://www.mozilla.org (http://www.mozilla.org/)|http://www.google.gr (http://www.google.gr/)
For some reason that i still can not understand, it reads those 2 url's as one and it tries to open them - with no success of course. So what i wanna do is pretty simple: Ubuntu Kiosk running firefox with 2 tabs as home page, even when session is resetted after 1 minute (that's the threshold i have stated).
Any help???
update: I tried upgrading ff to latest version and problem still remains. So i guess it is definitely not an old version issue. Also i figured out that when ff starts for the first time after reboot, it reads the .xsession file and not the user.js file for the homepage. After ff resets, all things messed up...
user.js file
user_pref("browser.startup.homepage", "www.mozilla.org (http://www.mozilla.org/)|www.google.com (http://www.google.com/)");
user_pref("browser.startup.homepage_override_url", "");
user_pref("browser.startup.homepage_welcome_url", "");
user_pref("browser.startup.homepage_override.mstone", "ignore");
user_pref("network.proxy.http", "");
user_pref("network.proxy.http_port", );
user_pref("network.proxy.no_proxies_on", "localhost, 127.0.0.1");
user_pref("network.proxy.share_proxy_settings", false);
user_pref("browser.cache.disk.enable", false);
user_pref("browser.cache.memory.enable", false);
user_pref("browser.urlbar.autocomplete.enabled", false);
user_pref("browser.urlbar.showPopup", false);
user_pref("browser.urlbar.showSearch", false);
user_pref("extensions.kioskreset.inactivity.seconds", 600);
user_pref("privacy.sanitize.promptOnSanitize", false);
user_pref("privacy.sanitize.sanitizeOnShutdown", true);
user_pref("network.cookie.enableForCurrentSessionOnly", true);
user_pref("network.protocol-handler.external.snews", false);
user_pref("network.protocol-handler.external.news", false);
user_pref("network.protocol-handler.external.irc", false);
user_pref("network.protocol-handler.external.mail", false);
user_pref("network.protocol-handler.external.mailto", false);
user_pref("accessibility.typeaheadfind.autostart", false);
user_pref("privacy.clearOnShutdown.siteSettings", true);
user_pref("browser.sessionstore.enabled", false);
user_pref("browser.sessionstore.resume_from_crash", false);
user_pref("browser.sessionstore.resume_session_once", true);
user_pref("browser.sessionstore.interval", 100000);
So, here is the problem. I use Ubuntu 12.04 Kiosk with Firefox 28 (do not ask why and how, it just works) and what i wanna do is pretty simple: set 2 tabs as homepage. Pipe character would be the solution for me but here is the tricky part. When i set in user.prefs file the two url's, firefox starts normally with 2 tabs open (so far so good) but when session is killed, firefox reopens with this link in address bar
http://www.mozilla.org (http://www.mozilla.org/)|http://www.google.gr (http://www.google.gr/)
For some reason that i still can not understand, it reads those 2 url's as one and it tries to open them - with no success of course. So what i wanna do is pretty simple: Ubuntu Kiosk running firefox with 2 tabs as home page, even when session is resetted after 1 minute (that's the threshold i have stated).
Any help???
update: I tried upgrading ff to latest version and problem still remains. So i guess it is definitely not an old version issue. Also i figured out that when ff starts for the first time after reboot, it reads the .xsession file and not the user.js file for the homepage. After ff resets, all things messed up...
user.js file
user_pref("browser.startup.homepage", "www.mozilla.org (http://www.mozilla.org/)|www.google.com (http://www.google.com/)");
user_pref("browser.startup.homepage_override_url", "");
user_pref("browser.startup.homepage_welcome_url", "");
user_pref("browser.startup.homepage_override.mstone", "ignore");
user_pref("network.proxy.http", "");
user_pref("network.proxy.http_port", );
user_pref("network.proxy.no_proxies_on", "localhost, 127.0.0.1");
user_pref("network.proxy.share_proxy_settings", false);
user_pref("browser.cache.disk.enable", false);
user_pref("browser.cache.memory.enable", false);
user_pref("browser.urlbar.autocomplete.enabled", false);
user_pref("browser.urlbar.showPopup", false);
user_pref("browser.urlbar.showSearch", false);
user_pref("extensions.kioskreset.inactivity.seconds", 600);
user_pref("privacy.sanitize.promptOnSanitize", false);
user_pref("privacy.sanitize.sanitizeOnShutdown", true);
user_pref("network.cookie.enableForCurrentSessionOnly", true);
user_pref("network.protocol-handler.external.snews", false);
user_pref("network.protocol-handler.external.news", false);
user_pref("network.protocol-handler.external.irc", false);
user_pref("network.protocol-handler.external.mail", false);
user_pref("network.protocol-handler.external.mailto", false);
user_pref("accessibility.typeaheadfind.autostart", false);
user_pref("privacy.clearOnShutdown.siteSettings", true);
user_pref("browser.sessionstore.enabled", false);
user_pref("browser.sessionstore.resume_from_crash", false);
user_pref("browser.sessionstore.resume_session_once", true);
user_pref("browser.sessionstore.interval", 100000);