How can I change the default browser from IE to k-meleon by editing a file and NOT by using the F2 > Browsing .... ?
Similar to changing default browser to netscape whereby you edit prefs.js from false to true.
"user_pref("browser.wfe.ignore_def_check", true)".

I'm looking to make k-meleon my default browser. So if I click on an HTML, HTM, or URL shortcut, i want k-meleon to open, NOT IE. I dont care much about the user agents. I care to have windows recognize k-meleon as the default browser. But i want to do this by editing some file, not by F2 > browsing > set as default browser...

I'm looking to make k-meleon my default browser. So if I click on an HTML, HTM, or URL shortcut, i want k-meleon to open, NOT IE. I dont care much about the user agents. I care to have windows recognize k-meleon as the default browser. But i want to do this by editing some file, not by F2 > browsing > set as default browser...

I think the last post changes the default user agent.

Sorry - I did not understand You. My fault.

Use set default like posted.

If You are on a XP SP3 or Win7 system You need the setdefault.exe from K-Meleon1.6.beta2 which knows the new registry keys introduced by Microsoft recently.

the pref you're referring to doesn't make the browser default per se but suppresses the default borwser status at startup "netscape is not currently your default browser...etc'.

you can have a similar prompt to check if kmeleon is default by using the extension defualter 2, available there:
http://kmext.sourceforge.net/ext7.htm
you can easily suppress the check by going to the edit menu>configuartion and uncheck the default check menu entry, alternatively you can edit its ini file from true to false k-meleonpath\tools\defaulter\kmdefaulter.ini

bear in mind, that some older programs will always launch ie for external links regardless of what browser is default, they dont read the registry and assume ie path %programfiles%\ie\iexplorer.exe for that you will need something like iekiller extension to route links back to kmeleon but that's mostly with older programs and rarely affects newer applications which read the registry normally to locate your default browser path.