Can I export custom general settings from my QGIS installation to a file so that I can transfer the settings to QGIS on a different computer?
Does QGIS have them already saved to a file located somewhere on hard disk?
The only thing you can transfer theoretically without problem is qgis.db (in .qgis/) as long as there are the same version of QGIS.
As this is a SQLite database, you can open it to see what's inside
and it is possible to observe that there are only informations about the projections systems used by a particular version of QGIS (one for QGIS 1.8 and another for the QGIS master version in my case), with also the custom CRS you have defined.
If you know SQLite, it it not difficult to export your custom CRS and import them in another SQLite database.
For the rest, it depends on the operating system (see QGIS Configuration)
For example, details of the plist file of QGIS 1.8 on Mac OS X with some of the wms services I use :
Now, how to export this settings ?
The only thing you can transfer theoretically without problem is qgis.db
.
The answers on this question are outdated.
The latest posted by Nathan Woodrow can be found at:
http://nathanw.net/2014/02/24/syncing-qgis-settings/
QGIS provides --optionspath and --configpath command line options in order to move the .qgis2 and settings files. Using these two options, or just the one depending on what you need, will allow you to store the QGIS settings in a different location. Rather then storing the settings in the registry, or .config and .plist files, it will create a .ini file and save everything there.
As of 2018 (September 2018) transferring settings should be now possible in QGIS 3.0. I had some issues getting this to work in older versions of QGIS and the following information should help.
See post here by @CrystallineEntity https://gis.stackexchange.com/a/293372/70706
When I tested I found:
Copying the whole profile folder you have modified and then deleting the default profile - WORKS
Replace the whole profile folder - WORKS
More info: https://gis.stackexchange.com/a/295672/70706 @maskin
If i am not heavily mistaken, the QGIS settings are stored inside a SQLite3 database named "qgis.db".
You can find this file inside the QGIS profile folder (which is by default inside /home/username/.qgis
on Linux and in C:/Documents and Properties/username/.qgis
in Windows ).
If you just copy this file to a different computer within the same folder structure than QGIS should recognize the settings (given that you use the same QGIS version)
HKEY_CURRENT_USER\Software\QuantumGIS
.
HKEY_CURRENT_USER\Software\QuantumGIS
like @AndreJoost said.
In settings->customization you can customize QGIS framework, save it to a file and then on another computer load it again.
in windows, stored in the registry, so export as .reg file; then on another PC or on the same after a crash just double-clic on the .reg file
Many people use custom keyboard shortcuts for some features (Settings -> Configure Shortcuts).
If you need to transfer QGIS to another computer, don't forget to save and restore them, also!