Search:
Login
Preferences
Help/Guide
About Trac
Register
Forgot your password?
Wiki
Timeline
Changelog
Browse Source
View Tickets
New Ticket
Roadmap
Builds
Sonar
Search
Context Navigation
+0
Start Page
Index
History
Editing Ru:Help/Preferences
Adjust edit area height:
8
12
16
20
24
28
32
36
40
Edit side-by-side
[[TranslatedPages(revision=1)]] Настройки JOSM представляют собой пары имя->значение. К имени настройки часто добавляется "пространство имён", отделяемое точкой ('.'). Многие плагины JOSM хранят настройки, сгруппированные в пространство имён. Такое "сырое" представление настроек можно увидеть, открыв файл настроек, но [Help/Preferences/Advanced вкладка 'Расширенные настройки'] предоставляет более удобную альтернативу. = Меню = К большинству настроек можно получить доступ через меню * [[Help/Action/Preferences|Настройки]] (см. также [[Help/Keys by menu]]) * [[Help/Preferences/Advanced|Расширенные настройки]] = Другие настройки = * [[Help/JOSM interface customization|Настройка интерфейса JOSM]] = Каталоги настроек/данных/кэша JOSM = JOSM хранит 3 типа файлов в различных каталогах: Настройки:: Конфигурационные данные и настройки, такие как аутентификация для сервера OSM, список недавно открытых файлов, набор диалоговых панелей справа и т.п. Пользовательские данные:: Специфические данные пользователя, например, данные автосохранения, модули и проигнорированные ошибки валидатора Кэш:: Файл, скачанные с интернета и хранящиеся ограниченное время во избежание повторных загрузок и для ускорения доступа. Например, тайлы подложек и новости, отображаемые при запуске JOSM. Расположение по умолчанию этих каталогов зависит от операционной системы. == Windows == '''Настройки''' и '''данные пользователя''' хранятся в {{{ %APPDATA%\JOSM }}} Чтобы найти эту папку, откройте Проводник, вставьте в строку адреса следующий текст и нажмите Enter: `%APPDATA%\JOSM`. В Windows Vista и более поздних версиях это будет что-то типа `C:\Users\<ВашеИмя>\AppData\Roaming\JOSM`. Обратите внимание, что папка `C:\Users\<YourName>\AppData` может быть скрыта по умолчанию. '''Кэш''' хранится в {{{ %LOCALAPPDATA%\JOSM\cache }}} для Windows Vista и later. Обычно это `C:\Users\<ВашеИмя>\AppData\Local\JOSM\cache`. В Windows XP и более ранних версиях кэш в `%APPDATA%\JOSM\cache`. == Mac OS X == В Mac OS X, расположение по умолчанию следующее: Настройки:: `$HOME/Library/Preferences/JOSM` Пользовательские данные:: `$HOME/Library/JOSM` Кэш:: `$HOME/Library/Caches/JOSM` == Linux == С r11162, JOSM использует [https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html спецификацию расположения базовых каталогов XDG] для новых установок, например: Настройки:: `$HOME/.config/JOSM` Пользовательские данные:: `$HOME/.local/share/JOSM` Кэш:: `$HOME/.cache/JOSM` JOSM учитывает значения переменных окружения `$XDG_CONFIG_HOME`, `$XDG_DATA_HOME` и `$XDG_CACHE_HOME` для изменения этого расположения. До r11162, расположение каталогов было: Настройки:: `$HOME/.josm` Пользовательские данные:: `$HOME/.josm` Кэш:: `$HOME/.josm/cache` JOSM продолжает использовать старое расположение, если каталог `$HOME/.josm` существует. Если вы предпочитаете оставить старую схему при свежей установке JOSM, можете создать каталог `$HOME/.josm` вручную. 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. == Customization (all operating systems) == === Setting all 3 locations === The locations can be set using system properties specified from the [[Help/CommandLineOptions|commandline]]: Preferences:: `-Djosm.pref=...` User data:: `-Djosm.userdata=...` Cache:: `-Djosm.cache=...` For example to store the cache in `D:\cache\JOSM`, you would need to run a command like this: {{{ java -Djosm.cache=D:\cache\JOSM -jar josm.jar }}} === Setting a common directory === Alternatively, all 3 locations can be moved to a common location using the system property `-Djosm.home=...`. For example with {{{ java -Djosm.home=D:\myJOSM -jar josm.jar }}} the locations change to Preferences:: `D:\myJOSM` User data:: `D:\myJOSM` Cache:: `D:\myJOSM\cache` === Changing the directory base name === 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: {{{ java -Djosm.dir.name=JOSM-dev -jar josm-latest.jar }}} On Linux, the directories would then change to Preferences:: `$HOME/.config/JOSM-dev` User data:: `$HOME/.local/share/JOSM-dev` Cache:: `$HOME/.cache/JOSM-dev` (For locations in the style prior to r11162, the lower-case version with prepended dot will be used, e.g. `$HOME/.josm-dev`.) == preferences.xml Schema == http://josm.openstreetmap.de/preferences-1.0 Some descriptions can be found in [[Help/Preferences/ImportExport]] (stub) == Auto save subfolder == Utilized by [wiki:/Help/Action/AutoSave autosave function]. == See also == * [[Help/ResetPreferences]] - there many ways to reset preferences * [[Help/Action/AutoSave]] feature * [[Help/CommandLineOptions]] - how to change/load custom settings via command line
Note:
See
WikiFormatting
and
TracWiki
for help on editing wiki content.
Change information
Your email or username:
E-mail address and name can be saved in the
Preferences
Comment about this change (optional):
Note:
See
TracWiki
for help on using the wiki.