About my user.js; I have deleted my profile to see if I am right and added some settings to my user.js to have some settings done the first time KM is starting up.
This is my user.js file, but nothing is added to prefs.js and KM is starting-up as default. Ofcourse I am talking about user.js in the default/profile directory and all profiles are deleted before startup:
/* ANY CHANGES WILL TAKE EFFECT AFTER K-MELEON IS RESTARTED */
user_pref("kmeleon.toolband.Menu.visibility", true);
user_pref("kmeleon.toolband.Throbber.visibility", false);
user_pref("kmeleon.display.URLbarTitle", "");
user_pref("kmeleon.plugins.layers.title", "");
/* Speedsettings for ADSL: */
browser.cache.disk_cache_ssl : true
content.interrupt.parsing : true
content.max.tokenizing.time : 3000000
content.maxtextrun : 8191
content.notify.backoffcount : 50
content.notify.interval : 750000
content.notify.ontimer : true
content.switch.threshold : 750000
network.http.max-connections : 32
network.http.max-connections-per-server : 8
network.http.max-persistent-connections-per-proxy : 8
network.http.max-persistent-connections-per-server : 4
network.http.pipelining : true
network.http.pipelining.maxrequests : 8
network.http.proxy.pipelining : true
nglayout.initialpaint.delay : 750
/* Extra settings (added by myself): */
user_pref("browser.history_expire_days", -1);
user_pref("browser.xul.error_pages.enabled", false);
user_pref("kmeleon.MRU.maxURLs", 0);
user_pref("kmeleon.general.skinsCurrent", "Phoenity\\");
user_pref("kmeleon.toolband.GO.break", 0);
user_pref("kmeleon.toolband.GO.index", 6);
user_pref("kmeleon.toolband.GO.size", 59);
user_pref("kmeleon.toolband.GO.visibility", true);
user_pref("kmeleon.toolband.Layer/Window Buttons.break", 0);
user_pref("kmeleon.toolband.Layer/Window Buttons.index", 10);
user_pref("kmeleon.toolband.Layer/Window Buttons.size", 105);
user_pref("kmeleon.toolband.Layer/Window Buttons.visibility", true);
user_pref("kmeleon.toolband.Layers.break", 1);
user_pref("kmeleon.toolband.Layers.index", 9);
user_pref("kmeleon.toolband.Layers.size", 1173);
user_pref("kmeleon.toolband.Layers.visibility", true);
user_pref("kmeleon.toolband.Mail.break", 0);
user_pref("kmeleon.toolband.Mail.index", 2);
user_pref("kmeleon.toolband.Mail.size", 36);
user_pref("kmeleon.toolband.Mail.visibility", true);
user_pref("kmeleon.toolband.Main Bar.break", 0);
user_pref("kmeleon.toolband.Main Bar.index", 1);
user_pref("kmeleon.toolband.Main Bar.size", 197);
user_pref("kmeleon.toolband.Main Bar.visibility", true);
user_pref("kmeleon.toolband.Menu.break", 0);
user_pref("kmeleon.toolband.Menu.index", 0);
user_pref("kmeleon.toolband.Menu.size", 312);
user_pref("kmeleon.toolband.Menu.visibility", true);
user_pref("kmeleon.toolband.Privacy Bar.break", 1);
user_pref("kmeleon.toolband.Privacy Bar.index", 8);
user_pref("kmeleon.toolband.Privacy Bar.size", 520);
user_pref("kmeleon.toolband.Privacy Bar.visibility", true);
user_pref("kmeleon.toolband.Search.break", 0);
user_pref("kmeleon.toolband.Search.index", 4);
user_pref("kmeleon.toolband.Search.size", 36);
user_pref("kmeleon.toolband.Search.visibility", true);
user_pref("kmeleon.toolband.Throbber.break", 0);
user_pref("kmeleon.toolband.Throbber.index", 7);
user_pref("kmeleon.toolband.Throbber.size", 28);
user_pref("kmeleon.toolband.Throbber.visibility", false);
user_pref("kmeleon.toolband.URL Bar.break", 0);
user_pref("kmeleon.toolband.URL Bar.index", 5);
user_pref("kmeleon.toolband.URL Bar.size", 569);
user_pref("kmeleon.toolband.URL Bar.visibility", true);
user_pref("kmeleon.toolband.Zoom.break", 0);
user_pref("kmeleon.toolband.Zoom.index", 3);
user_pref("kmeleon.toolband.Zoom.size", 59);
user_pref("kmeleon.toolband.Zoom.visibility", true);
This is prefs.js after startup (tried it three times, this is prefs.js after three times, user.js is in fact copied in in the current profiledirectory):
user_pref("browser.cache.disk.parent_directory", "C:\\Program Files\\K-Meleon\\Profiles\\default\\lq5swdsw.slt\\");
user_pref("browser.cache.memory.capacity", 1024);
user_pref("capability.policy.restrictedpopups.Window.open", "allAccess");
user_pref("capability.policy.restrictedpopups.sites", "");
user_pref("dom.disable_open_during_load", true);
user_pref("intl.charset.detector", "universal_charset_detector");
user_pref("keyword.URL", "
http://www.google.com/search?gfns=1&q="
user_pref("keyword.eng", "BBN");
user_pref("kmeleon.MRU.maxURLs", 16);
user_pref("kmeleon.display.NewWindowHasUrlFocus", true);
user_pref("kmeleon.display.URLbarTitle", "");
user_pref("kmeleon.display.XPos", 64);
user_pref("kmeleon.display.YPos", 50);
user_pref("kmeleon.display.backgroundImage", "");
user_pref("kmeleon.display.backgroundImageEnabled", false);
user_pref("kmeleon.display.disableResize", false);
user_pref("kmeleon.display.height", 900);
user_pref("kmeleon.display.maximized", true);
user_pref("kmeleon.display.newWindowOpenAs", 0);
user_pref("kmeleon.display.newWindowURL", "");
user_pref("kmeleon.display.width", 960);
user_pref("kmeleon.find.matchCase", false);
user_pref("kmeleon.find.searchBackwards", false);
user_pref("kmeleon.find.wrapAround", false);
user_pref("kmeleon.general.guest_account", false);
user_pref("kmeleon.general.homePage", "
http://kmeleon.sourceforge.net/start"
user_pref("kmeleon.general.offline", false);
user_pref("kmeleon.general.opengroup", "layers(ReplaceLayersInWindow)");
user_pref("kmeleon.general.pluginsDir", "C:\\Program Files\\K-Meleon\\kplugins\\");
user_pref("kmeleon.general.profileDir", "C:\\Program Files\\K-Meleon\\");
user_pref("kmeleon.general.saveDir", "");
user_pref("kmeleon.general.searchEngine", "
http://www.google.com/search?q="
user_pref("kmeleon.general.searchEngineName", "Google");
user_pref("kmeleon.general.searchLocked", true);
user_pref("kmeleon.general.settingsDir", "C:\\Program Files\\K-Meleon\\Profiles\\default\\lq5swdsw.slt\\");
user_pref("kmeleon.general.skinsCurrent", "Default\\");
user_pref("kmeleon.general.skinsDir", "C:\\Program Files\\K-Meleon\\skins\\");
user_pref("kmeleon.general.sourceCommand", "");
user_pref("kmeleon.general.sourceEnabled", false);
user_pref("kmeleon.general.startHome", true);
user_pref("kmeleon.grouplast", "
http://kmeleon.sourceforge.net/start/ ");
user_pref("kmeleon.grouptemp", "
http://kmeleon.sourceforge.net/start/ ");
user_pref("kmeleon.plugins.bmpmenu.load", true);
user_pref("kmeleon.plugins.bookmarks.bookmarkFile", "C:\\Program Files\\K-Meleon\\Profiles\\default\\lq5swdsw.slt\\bookmarks.html");
user_pref("kmeleon.plugins.bookmarks.load", true);
user_pref("kmeleon.plugins.bookmarks.menuAutoDetect", true);
user_pref("kmeleon.plugins.external.load", true);
user_pref("kmeleon.plugins.favorites.load", false);
user_pref("kmeleon.plugins.favorites.menuAutoDetect", true);
user_pref("kmeleon.plugins.fullscreen.load", true);
user_pref("kmeleon.plugins.gestures.down", "layers(OpenLinkBg)");
user_pref("kmeleon.plugins.gestures.downleft", "layers(Last)");
user_pref("kmeleon.plugins.gestures.downright", "macros(Close)");
user_pref("kmeleon.plugins.gestures.left", "ID_NAV_BACK");
user_pref("kmeleon.plugins.gestures.load", true);
user_pref("kmeleon.plugins.gestures.right", "ID_NAV_FORWARD");
user_pref("kmeleon.plugins.gestures.up", "macros(up_directory)");
user_pref("kmeleon.plugins.gestures.upleft", "layers(Prev)");
user_pref("kmeleon.plugins.gestures.upright", "layers(Next)");
user_pref("kmeleon.plugins.history.load", true);
user_pref("kmeleon.plugins.hotlist.load", false);
user_pref("kmeleon.plugins.hotlist.menuAutoDetect", true);
user_pref("kmeleon.plugins.layers.load", true);
user_pref("kmeleon.plugins.layers.rebar", true);
user_pref("kmeleon.plugins.layers.title", "");
user_pref("kmeleon.plugins.macros.load", true);
user_pref("kmeleon.plugins.privacy.clearCache", 0);
user_pref("kmeleon.plugins.privacy.clearCookies", 0);
user_pref("kmeleon.plugins.privacy.clearHistory", 0);
user_pref("kmeleon.plugins.privacy.clearMRU", 0);
user_pref("kmeleon.plugins.privacy.clearSignOn", 0);
user_pref("kmeleon.plugins.privacy.load", true);
user_pref("kmeleon.plugins.rebarmenu.load", true);
user_pref("kmeleon.plugins.toolbars.load", true);
user_pref("kmeleon.prefs_inited", true);
user_pref("kmeleon.print.BGColors", false);
user_pref("kmeleon.print.BGImages", false);
user_pref("kmeleon.print.footerLeft", "&PT");
user_pref("kmeleon.print.footerMiddle", "");
user_pref("kmeleon.print.footerRight", "&D");
user_pref("kmeleon.print.headerLeft", "&T");
user_pref("kmeleon.print.headerMiddle", "");
user_pref("kmeleon.print.headerRight", "&U");
user_pref("kmeleon.print.marginBottom", "0.5");
user_pref("kmeleon.print.marginLeft", "0.5");
user_pref("kmeleon.print.marginRight", "0.5");
user_pref("kmeleon.print.marginTop", "0.5");
user_pref("kmeleon.print.paperHeight", "11");
user_pref("kmeleon.print.paperUnit", 0);
user_pref("kmeleon.print.paperWidth", "8.5");
user_pref("kmeleon.print.scaling", 100);
user_pref("kmeleon.privacy.useragent0.name", "K-Meleon");
user_pref("kmeleon.privacy.useragent0.string", "Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.4) Gecko/20041010 K-Meleon/0.9b");
user_pref("kmeleon.privacy.useragent1.name", "MSIE 6.0");
user_pref("kmeleon.privacy.useragent1.string", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)");
user_pref("kmeleon.privacy.useragent2.name", "Netscape 4.8");
user_pref("kmeleon.privacy.useragent2.string", "Mozilla/4.8 [en] (Windows NT 5.1; U)");
user_pref("kmeleon.privacy.useragent3.name", "Opera 7.54");
user_pref("kmeleon.privacy.useragent3.string", "Opera/7.54 (Windows NT 5.1; U) [en]");
user_pref("kmeleon.toolband.GO.break", 0);
user_pref("kmeleon.toolband.GO.index", 8);
user_pref("kmeleon.toolband.GO.size", 36);
user_pref("kmeleon.toolband.GO.visibility", true);
user_pref("kmeleon.toolband.Layer/Window Buttons.break", 0);
user_pref("kmeleon.toolband.Layer/Window Buttons.index", 2);
user_pref("kmeleon.toolband.Layer/Window Buttons.size", 59);
user_pref("kmeleon.toolband.Layer/Window Buttons.visibility", true);
user_pref("kmeleon.toolband.Layers.break", 0);
user_pref("kmeleon.toolband.Layers.index", 1);
user_pref("kmeleon.toolband.Layers.size", 618);
user_pref("kmeleon.toolband.Layers.visibility", true);
user_pref("kmeleon.toolband.Mail.break", 0);
user_pref("kmeleon.toolband.Mail.index", 4);
user_pref("kmeleon.toolband.Mail.size", 23);
user_pref("kmeleon.toolband.Mail.visibility", true);
user_pref("kmeleon.toolband.Main Bar.break", 1);
user_pref("kmeleon.toolband.Main Bar.index", 3);
user_pref("kmeleon.toolband.Main Bar.size", 197);
user_pref("kmeleon.toolband.Main Bar.visibility", true);
user_pref("kmeleon.toolband.Menu.break", 0);
user_pref("kmeleon.toolband.Menu.index", 0);
user_pref("kmeleon.toolband.Menu.size", 313);
user_pref("kmeleon.toolband.Menu.visibility", true);
user_pref("kmeleon.toolband.Privacy Bar.break", 1);
user_pref("kmeleon.toolband.Privacy Bar.index", 10);
user_pref("kmeleon.toolband.Privacy Bar.size", 520);
user_pref("kmeleon.toolband.Privacy Bar.visibility", false);
user_pref("kmeleon.toolband.Search.break", 0);
user_pref("kmeleon.toolband.Search.index", 6);
user_pref("kmeleon.toolband.Search.size", 36);
user_pref("kmeleon.toolband.Search.visibility", true);
user_pref("kmeleon.toolband.Throbber.break", 0);
user_pref("kmeleon.toolband.Throbber.index", 9);
user_pref("kmeleon.toolband.Throbber.size", 28);
user_pref("kmeleon.toolband.Throbber.visibility", false);
user_pref("kmeleon.toolband.URL Bar.break", 0);
user_pref("kmeleon.toolband.URL Bar.index", 7);
user_pref("kmeleon.toolband.URL Bar.size", 610);
user_pref("kmeleon.toolband.URL Bar.visibility", true);
user_pref("kmeleon.toolband.Zoom.break", 0);
user_pref("kmeleon.toolband.Zoom.index", 5);
user_pref("kmeleon.toolband.Zoom.size", 76);
user_pref("kmeleon.toolband.Zoom.visibility", true);
user_pref("network.cookie.cookieBehavior", 0);
user_pref("network.cookie.prefsMigrated", true);