it's a very clear, concise, usefull explanation. Tomasz Chmielewski a écrit : > Vincent MALIEN schrieb: > >> Hello, >> I come back on this problem, I didn't solve it. I re-explain it: >> I need the following customisation on every firefox profiles: >> prefs.js: >> user_pref("network.proxy.http", "192.168.5.1"); >> user_pref("network.proxy.http_port", 3128); >> user_pref("network.proxy.no_proxies_on", "localhost, 127.0.0.1, >> 192.168.5.0/24"); >> user_pref("network.proxy.type", 1); >> user_pref("browser.startup.homepage", "http://srvlinux/"); >> user_pref("signed.applets.codebase_principal_support", true); >> firefox.js: >> pref("app.update.enabled", false); >> >> I copied it with wpkg in "%PROGRAMFILES%\Mozilla Firefox\prefs.js" and >> in "%PROGRAMFILES%\Mozilla Firefox\default\profile\prefs.js". but >> existing profile doesn't use it. >> > > No, it doesn't work that way. > > Add this to the end of all.js file: > > pref("general.config.filename", "mozilla.cfg"); > > > Then, create a file called mozilla.txt (yes, mozilla.txt, not > mozilla.cfg), and put your custom settings there: > > lockPref("network.proxy.backup.ftp", "your.proxy"); > lockPref("network.proxy.backup.ftp_port", 3128); > lockPref("network.proxy.backup.gopher", "your.proxy"); > lockPref("network.proxy.backup.gopher_port", 3128); > lockPref("network.proxy.backup.socks", "your.proxy"); > lockPref("network.proxy.backup.socks_port", 3128); > lockPref("network.proxy.backup.ssl", "your.proxy"); > lockPref("network.proxy.backup.ssl_port", 3128); > lockPref("network.proxy.ftp", "your.proxy"); > lockPref("network.proxy.ftp_port", 3128); > lockPref("network.proxy.gopher", "your.proxy"); > lockPref("network.proxy.gopher_port", 3128); > lockPref("network.proxy.http", "your.proxy"); > lockPref("network.proxy.http_port", 3128); > > lockPref("network.proxy.no_proxies_on", "192.168.*,localhost,127.0.0.1, > glpi, glpi.your.domain"); > > lockPref("network.proxy.share_proxy_settings", true); > lockPref("network.proxy.socks", "your.proxy"); > lockPref("network.proxy.socks_port", 3128); > lockPref("network.proxy.ssl", "your.proxy"); > lockPref("network.proxy.ssl_port", 3128); > lockPref("network.proxy.type", 1); > > > Next, convert this file into mozilla.cfg, and copy this file to > "%PROGRAMFILES%\Mozilla Firefox". You can do conversion here: > > http://www.alain.knaff.lu/%7Eaknaff/howto/MozillaCustomization/cgi/byteshf.cgi > > > You can find more details on locking preferences here: > > http://kb.mozillazine.org/Locking_preferences > > > I'd be glad if someone adds this info to the wiki :) > > >
-- Éric LE HÉNAFF École normale supérieure - Centre de ressources informatiques Informaticien, Ingénieur développements et systèmes auprès des bibliothèques de l'ENS Préférez firefox! http://www.mozilla-europe.org/fr/ SVP, évitez de m'envoyer des attachements au format Word, Excel ou PowerPoint. Préférez les formats rtf, csv, html ou pdf au lieu des formats word et excel. Voir http://www.gnu.org/philosophy/no-word-attachments.fr.html pour plus d'explications. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ wpkg-users mailing list wpkg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wpkg-users