Changes between Version 27 and Version 36 of Help/Preferences


Ignore:
Timestamp:
(multiple changes)
Author:
(multiple changes)
Comment:
(multiple changes)

Legend:

Unmodified
Added
Removed
Modified
  • Help/Preferences

    v27 v36  
    11[[TranslatedPages]]
     2[[PageOutline(2-10,Table of Contents)]]
    23
    34= Preferences Overview =
    4 
    55The 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.
    66
    7 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.
     7You 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.
    88
    9 == Menus ==
    10 
    11 Most of the settings can be reached via menus
    12 * [[Help/Action/Preferences]]
    13 * [[Help/Preferences/Advanced]]
     9Most of the settings can be reached via menus in the [[JOSMImage(preference)]] [wikitr:/Help/Action/Preferences preferences dialog].
    1410
    1511== Other preferences ==
     12* [wikitr:"/Help/JOSM interface customization" JOSM interface customization]
    1613
    17 * [[Help/JOSM interface customization]]
    1814
    19 == JOSM preference/data/cache directories ==
     15== JOSM preference/data/cache directories ==#JOSMpreferencedatacachedirectories
     16{{{#!comment
     17#JOSMpreferencedatacachedirectories is called from Help/Preferences/Plugins - Manual installation
     18}}}
    2019
    2120JOSM stores 3 kinds of files in different directories:
     
    2423 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.
    2524
    26 The default location of the directories depends on your operating system.
     25The default location of the directories depends on your operating system and is listed in the [wikitr:/Help/Action/About#InstallationDetails Installation details] tab of the [[JOSMImage(logo_48x48x32,link=,middle,24)]][wikitr:/Help/Action/About About dialog] in the [wikitr:/Help/Menu/Help Help menu]
    2726
    2827=== Windows ===
    29 
    30 '''Preferences''' and '''user data''' is stored in
     28**Preferences** and **user data** is stored in
    3129{{{
    3230%APPDATA%\JOSM
     
    3432To 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.
    3533
    36 The '''cache''' is located in
     34The **cache** is located in
    3735{{{
    3836%LOCALAPPDATA%\JOSM\cache
     
    4543
    4644=== MacOS===
    47 
    4845On MacOS, the default locations are as follows:
    4946 Preferences:: `Users/<YourName>/Library/Preferences/JOSM`
     
    5249
    5350=== Linux ===
    54 
    5551Since r11162, JOSM uses the [https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html XDG Base Directory Specification] for fresh installations, i.e.
    5652 Preferences:: `$HOME/.config/JOSM`
     
    6561 Cache:: `$HOME/.josm/cache`
    6662
     63If JOSM is installed via flatpak, the locations are
     64 Preferences:: `$HOME/.var/app/org.openstreetmap.josm/config`
     65 User data:: `$HOME/.var/app/org.openstreetmap.josm/data`
     66 Cache:: `$HOME/.var/app/org.openstreetmap.josm/cache`
     67
     68
    6769JOSM 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.
    6870
    69 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.
     71Note 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`.
    7072
    71 === Customization (all operating systems) ===
    72 
     73=== Customization (all operating systems) === #Customizationalloperatingsystems
    7374==== Setting all 3 locations ====
    74 
    75 The locations can be set using system properties specified from the [[Help/CommandLineOptions|commandline]]:
     75The locations can be set using system properties specified from the [wikitr:/Help/CommandLineOptions command line]:
    7676 Preferences:: `-Djosm.pref=...`
    7777 User data:: `-Djosm.userdata=...`
     
    8484
    8585==== Setting a common directory ====
    86 
    8786Alternatively, all 3 locations can be moved to a common location using the system property `-Djosm.home=...`.
    8887For example with
     
    9695
    9796==== Changing the directory base name ====
    98 
    9997Instead 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:
    100 {{{
     98{{{#!sh
    10199java -Djosm.dir.name=JOSM-dev -jar josm-latest.jar
    102100}}}
     
    108106(For locations in the style prior to r11162, the lower-case version with the prepended dot will be used, e.g. `$HOME/.josm-dev`.)
    109107
     108
    110109=== preferences.xml Schema ===
     110See [/preferences-1.0.xml].
    111111
    112 http://josm.openstreetmap.de/preferences-1.0
    113 
    114 Some descriptions can be found in [[Help/Preferences/ImportExport]] (stub)
     112Some descriptions can be found in [wikitr:/Help/Preferences/ImportExport Custom configuration XML files for JOSM]
    115113
    116114=== Auto save subfolder ===
     115Utilized by [wikitr:/Help/Action/AutoSave autosave function].
    117116
    118 Utilized by [wiki:/Help/Action/AutoSave autosave function].
    119117
    120118== See also ==
    121 * [[Help/ResetPreferences]] - ways to reset preferences
    122 * [[Help/Action/AutoSave]] feature
    123 * [[Help/CommandLineOptions]] - how to change/load custom settings via command line
     119* [wikitr:/Help/Action/About#InstallationDetails Installation details]
     120* [wikitr:/Help/ResetPreferences Reset preferences] - ways to reset preferences
     121* [wikitr:/Help/Action/AutoSave Autosave] feature
     122* [wikitr:/Help/CommandLineOptions Command line options] - how to change/load custom settings via command line
     123
     124
     125----
     126Back to [wikitr:/Help/Action/Preferences Preferences dialog] \\
     127Back to [wikitr:/Help Main Help]