Changes between Version 23 and Version 24 of Help/Preferences
- Timestamp:
- 2017-12-14T04:02:16+01:00 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/Preferences
v23 v24 3 3 Our preference data is composed of a set of name->value pairs. The setting names are often "namespaced" with dot ('.') separated words. Many JOSM plugins will store preferences grouped in a namespace. 4 4 5 You can get a similar raw view by viewing this file, but this [Help/Preferences/Advanced 'Advanced' preferences panel] is intended to provide a easier alternative.5 You can get a similar raw view by viewing this file, but this [Help/Preferences/Advanced 'Advanced' preferences panel] is intended to provide an easier alternative. 6 6 7 7 = Menus = … … 19 19 JOSM stores 3 kinds of files in different directories: 20 20 Preferences:: Configuration data and settings, such as authentication for the OSM server, list of last opened files, selection of expandable dialogs on the right, etc. 21 User data:: User specific data files, for exampleautosave data, plugins and ignored validator errors21 User data:: User-specific data files, for example, autosave data, plugins and ignored validator errors 22 22 Cache:: Files downloaded from the internet and stored for a limited time to avoid repeated downloads and allow faster access. For example imagery tiles and startup news. 23 23 … … 30 30 %APPDATA%\JOSM 31 31 }}} 32 To locate this folder, try opening Explorer window and paste following text in location, then hit enter: `%APPDATA%\JOSM`, On Windows Vista and later, it should be something like `C:\Users\<YourName>\AppData\Roaming\JOSM`. Note, that the directory `C:\Users\<YourName>\AppData` can be hidden by default.32 To locate this folder, try opening Explorer window and paste the following text in location, then hit enter: `%APPDATA%\JOSM`, On Windows Vista and later, it should be something like `C:\Users\<YourName>\AppData\Roaming\JOSM`. Note, that the directory `C:\Users\<YourName>\AppData` can be hidden by default. 33 33 34 34 The '''cache''' is located in … … 42 42 On Windows XP and earlier, the cache is in `%APPDATA%\JOSM\cache`. 43 43 44 == Mac OS X==44 == MacOS== 45 45 46 On Mac OS X, the default locations are as follows:47 Preferences:: ` $HOME/Library/Preferences/JOSM`48 User data:: ` $HOME/Library/JOSM`49 Cache:: ` $HOME/Library/Caches/JOSM`46 On MacOS, the default locations are as follows: 47 Preferences:: `Users/<YourName>/Library/Preferences/JOSM` 48 User data:: `Users/<YourName>/Library/JOSM` 49 Cache:: `Users/<YourName>/Library/Caches/JOSM` 50 50 51 51 == Linux == … … 56 56 Cache:: `$HOME/.cache/JOSM` 57 57 58 JOSM respects the `$XDG_CONFIG_HOME`, `$XDG_DATA_HOME` and `$XDG_CACHE_HOME` environment variables to chan ce these locations.58 JOSM respects the `$XDG_CONFIG_HOME`, `$XDG_DATA_HOME` and `$XDG_CACHE_HOME` environment variables to change these locations. 59 59 60 60 Prior to r11162, the locations were … … 63 63 Cache:: `$HOME/.josm/cache` 64 64 65 JOSM will continue to use the old locations , if the directory `$HOME/.josm` exists. If you have a fresh installation,but prefer the old scheme, you can create the `$HOME/.josm` directory by hand.65 JOSM will continue to use the old locations if the directory `$HOME/.josm` exists. If you have a fresh installation but prefer the old scheme, you can create the `$HOME/.josm` directory by hand. 66 66 67 Note on hidden files: File names beginning with a dot are hidden on Linux. To show the contents of the hidden folder, use the file manager and enter "~/.josm" in the address line (if no address line is visible just try to enter a letter and hopefully a popup to enter the address will open). Alternatively it is possible to "show hidden" files and folders in the file manager, using the keyboard shortcut Ctrl+H.67 Note on hidden files: File names beginning with a dot are hidden on Linux. To show the contents of the hidden folder, use the file manager and enter "~/.josm" in the address line (if no address line is visible just try to enter a letter and hopefully a popup to enter the address will open). Alternatively, it is possible to "show hidden" files and folders in the file manager, using the keyboard shortcut Ctrl+H. 68 68 69 69 == Customization (all operating systems) == 70 70 71 71 === Setting all 3 locations === 72 72 73 The locations can be set using system properties specified from the [[Help/CommandLineOptions|commandline]]: 73 74 Preferences:: `-Djosm.pref=...` … … 75 76 Cache:: `-Djosm.cache=...` 76 77 77 For example to store the cache in `D:\cache\JOSM`, you would need to run a command like this:78 For example to store the cache located in `D:\cache\JOSM`, you would need to run a command like this: 78 79 {{{ 79 80 java -Djosm.cache=D:\cache\JOSM -jar josm.jar … … 94 95 === Changing the directory base name === 95 96 96 Instead of specifying the full path for the JOSM directories, you can use the system property `-Djosm.dir.name=` to modify just the name of the last directory component, which is `JOSM` by default. This is especially useful in order to keep multiple ''profiles'' on one computer, which should not interfere. For example to have one profile for productive work with the stable tested version and one for the experimental development version, you would start the development version like this:97 Instead of specifying the full path for the JOSM directories, you can use the system property `-Djosm.dir.name=` to modify just the name of the last directory component, which is `JOSM` by default. This is especially useful in order to keep multiple ''profiles'' on one computer, which should not interfere. For example, to have one profile for productive work with the stable tested version and one for the experimental development version, you would start the development version like this: 97 98 {{{ 98 99 java -Djosm.dir.name=JOSM-dev -jar josm-latest.jar … … 103 104 Cache:: `$HOME/.cache/JOSM-dev` 104 105 105 (For locations in the style prior to r11162, the lower-case version with prepended dot will be used, e.g. `$HOME/.josm-dev`.)106 (For locations in the style prior to r11162, the lower-case version with the prepended dot will be used, e.g. `$HOME/.josm-dev`.) 106 107 107 108 == preferences.xml Schema == 109 108 110 http://josm.openstreetmap.de/preferences-1.0 109 111 110 112 Some descriptions can be found in [[Help/Preferences/ImportExport]] (stub) 111 112 113 113 114 == Auto save subfolder ==