K-Meleon
Home > Documentation > InstallationGuide > ProfileLocation
Profiles are where K-Meleon stores user information including preferences, bookmarks, cookies, passwords, and browsing history. When you start K-Meleon for the first time it will create a profile. Your default profile directory's name will likely include a randomized string of numbers to improve security. To open your profile folder, launch K-Meleon and choose Edit > Configuration > Profile Directory. For information on how the various files in your profile handle features like Bookmarks, refer to the MigratingProfiles page.
K-Meleon profile locations can be set in several ways:
Since version 1.0, K-Meleon stores its profiles in your Application Data (%AppData%) directory by default. This is to ensure that K-Meleon has the necessary privileges to write to its profile directory on modern NT-based Windows operating systems (NT/2000/XP/Vista) which are the most common today. If you installed K-Meleon from one of the official installers, this is the default location.
The location of the %AppData% directory depends on your specific Windows version:
To set a different location for your profiles, you have the following options:
You can set the profile location through a K-Meleon/profile.ini file. This is a standard text file that any text editor can open and modify. If you are using a portable installation including a current release from the active branch, this file will be present upon installation. If you would like to use the current branch with the default directory explained above, simply delete the file.
If you install an official release of K-Meleon using the setup program, you are given the option to locate your profiles in the K-Meleon installation directory (which is the classic behavior) instead of the %AppData% directory. When you are asked to select the components to install, simply uncheck the option "Multi-user Profiles". The setup program will then create a file called profile.ini (which is a simple text file) in your K-Meleon installation directory (where k-meleon.exe resides).
By default, profile.ini has the following contents (an empty profile.ini has the same effect):
[profile] path=Profiles isRelative=1
The value of the variable path specifies the location of the folder which contains your profiles. If the variable isRelative is set to 1, the value of path is taken relative to the K-Meleon installation directory. In the above case, your profiles will be located in the subfolder K-Meleon/Profiles/ folder. Otherwise, if isRelative is set to 0, the value of path must be a fully qualified path.
You can set the profile location through the -profilesDir command-line switch. This switch overrides K-Meleon/profile.ini/ but will need a profile.ini in its target directory. See command-line options for more details.
It's recommended to back up your profile to protect your data. Because the profile is contained within a single folder, there are several ways to create a backup. If you regularly backup the files on your system, then you are already creating profile backups. If you are using a cloud service (like DropBox), you can assign it to back up your profile folder and then even sync your browser across multiple computers.
There is also a macro from James D to backup a profile and a more complex extension available on KMEXT that automatically creates backups. Refer to the forum for more information on automatic backups: http://kmeleonbrowser.org/forum/read.php?9,108127,111280
To manually create a backup:
And to restore from a backup:
By default, K-Meleon will create a single profile. You can create as many additional profiles as you wish. This can be useful if you need different setups for different users, for locked down "private" browsing, for accessing the internet on a metered data connection, or for testing certain web features. To create a new profile, select Edit > Manage Profiles... in K-Meleon. This will launch the Profile Manager.