Changes between Version 29 and Version 30 of Help/Preferences
- Timestamp:
- 2020-05-07T15:55:21+02:00 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/Preferences
v29 v30 2 2 3 3 = Preferences Overview = 4 5 4 The preference data in JOSM is composed of a set of name->value pairs. The setting names are mostly ''namespaced'' with dot `.` separated words. Many JOSM plugins store their preferences grouped in a namespace. 6 5 7 You can get a similar raw view by viewing this file, but this [wikitr:/Help/Preferences/Advanced 'Advanced' preferences panel] is intended to provide an easier alternative. 6 You can get a similar raw view by viewing these files, but the preferences' panel [[JOSMImage(preferences/advanced,link=,24,middle)]] [wikitr:/Help/Preferences/Advanced advanced preferences] is intended to provide an easier alternative. 7 8 8 9 9 == Menus == 10 Most of the settings can be reached via menus in the [[JOSMImage(preference)]] [wikitr:/Help/Action/Preferences preferences dialog], See the individual panel pages: 11 [[TitleIndex(Help/Preferences/,hideprefix,exclude=*Advanced,format=compact)]] 10 12 11 Most of the settings can be reached via menus12 * [wikitr:/Help/Action/Preferences]13 * [wikitr:/Help/Preferences/Advanced]14 13 15 14 == Other preferences == 15 * [wikitr:"/Help/JOSM interface customization" JOSM interface customization] 16 16 17 * [wikitr:/Help/JOSM interface customization]18 17 19 18 == JOSM preference/data/cache directories ==#JOSMpreferencedatacachedirectories … … 30 29 31 30 === Windows === 32 33 '''Preferences''' and '''user data''' is stored in 31 **Preferences** and **user data** is stored in 34 32 {{{ 35 33 %APPDATA%\JOSM … … 37 35 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. 38 36 39 The '''cache'''is located in37 The **cache** is located in 40 38 {{{ 41 39 %LOCALAPPDATA%\JOSM\cache … … 48 46 49 47 === MacOS=== 50 51 48 On MacOS, the default locations are as follows: 52 49 Preferences:: `Users/<YourName>/Library/Preferences/JOSM` … … 55 52 56 53 === Linux === 57 58 54 Since r11162, JOSM uses the [https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html XDG Base Directory Specification] for fresh installations, i.e. 59 55 Preferences:: `$HOME/.config/JOSM` … … 70 66 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. 71 67 72 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 shortcutCtrl+H.68 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`. 73 69 74 70 === Customization (all operating systems) === 75 76 71 ==== Setting all 3 locations ==== 77 78 The locations can be set using system properties specified from the [wikitr:/Help/CommandLineOptions|commandline]: 72 The locations can be set using system properties specified from the [wikitr:/Help/CommandLineOptions command line]: 79 73 Preferences:: `-Djosm.pref=...` 80 74 User data:: `-Djosm.userdata=...` … … 87 81 88 82 ==== Setting a common directory ==== 89 90 83 Alternatively, all 3 locations can be moved to a common location using the system property `-Djosm.home=...`. 91 84 For example with … … 99 92 100 93 ==== Changing the directory base name ==== 101 102 94 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: 103 {{{ 95 {{{#!sh 104 96 java -Djosm.dir.name=JOSM-dev -jar josm-latest.jar 105 97 }}} … … 111 103 (For locations in the style prior to r11162, the lower-case version with the prepended dot will be used, e.g. `$HOME/.josm-dev`.) 112 104 105 113 106 === preferences.xml Schema === 107 See [/preferences-1.0.xml]. 114 108 115 http://josm.openstreetmap.de/preferences-1.0 116 117 Some descriptions can be found in [wikitr:/Help/Preferences/ImportExport] (stub) 109 Some descriptions can be found in [wikitr:/Help/Preferences/ImportExport Custom configuration XML files for JOSM] 118 110 119 111 === Auto save subfolder === 120 121 112 Utilized by [wikitr:/Help/Action/AutoSave autosave function]. 122 113 114 123 115 == See also == 124 * [wikitr:/Help/ResetPreferences] - ways to reset preferences 125 * [wikitr:/Help/Action/AutoSave] feature 126 * [wikitr:/Help/CommandLineOptions] - how to change/load custom settings via command line 116 * [wikitr:/Help/ResetPreferences Reset preferences] - ways to reset preferences 117 * [wikitr:/Help/Action/AutoSave Autosave] feature 118 * [wikitr:/Help/CommandLineOptions Command line options] - how to change/load custom settings via command line 119 120 121 ---- 122 Back to [wikitr:/Help/Action/Preferences Preferences dialog] \\ 123 Back to [wikitr:/Help Main Help]
