[opensuse] Firefox configuration issue on opensuse 11.0
Hi, I've asked this question on the mozillazine.org forum but haven't had any reply, so I wonder if it's an opensuse specific thing - something to do with the way firefox is packed on suse perhaps? Maybe someone on this list might have some ideas... I'm trying to get my mozilla.cfg file to work in Firefox 3 on a machine running opensuse 11.0 to lock some settings to specific values for all users. I had set up mozilla.cfg with proxy & homepage settings in Opensuse 10.3 with Firefox 2 and it works fine - all users have those settings set to the values I've specified and can't alter them. I really want to upgrade the machines to 11.0 to solve some other issues, but the firefox configuration files have been moved around to new places in 11.0 (and it's Firefox 3.0, though this same method works on other distros woth 3.0 according to http://forums.mozillazine.org/viewtopic.php?f=7&t=734275&start=0&st=0&sk=t&sd=a but it doesn't seem to work for me on OpenSuse. Firstly, /usr/lib/firefox/greperfs doesn't exist on the new system! Instead, all.js is in /usr/lib64/xulrunner-1.9.0.1/greprefs/ (and there are other xulrunner dirs with other version numbers, but this is the only one with all.js). I've added the following to all.js: CODE: SELECT ALL pref("general.config.obscure_value", 13); pref("general.config.filename", "mozilla.cfg"); mozilla.cfg contains the following lines (with xxx replaced by the real domain name :) ): CODE: SELECT ALL // lockPref("network.proxy.autoconfig_url", "http://msgserver.xxx.com/proxy.pac"); lockPref("network.proxy.type", 2); lockPref("browser.startup.homepage", "http://msgserver.xxx.com/"); I've encoded that file using moz-byteshift.pl with an offset of 13 and made it executable for user, group & other. The firefox binary file is still in /usr/lib64/firefox, so put mozilla.cfg in there, I've also put it in /usr/lib64/xulrunner-1.9.0.1 as well. I know firefox is seeing the general.config line in all.js because when it's there, firefox gives the "Failed to read the configuration file" error and if I comment out that line, the error goes away & firefox starts. I also tried a plain text mozilla.cfg and changed the general.config.obscure_value to 0 in all.js, but I still get the configuration file error, firefox will not start. So does anyone know where I might be going wrong with this? Cheers, -- Ian gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc
participants (1)
-
Ian