How to run JOSM on Chromebook
Дасланы omgitsgela 26 Чэрвень 2019 на English. Апошняе абнаўленьне 27 Чэрвень 2019.Did you just get a Chromebook, and excited to get mapping with it? You can run JOSM on Chromebook with a little bit of effort. This guide was written for ChromeOS 74.0.3729.159 and up and relies on the Debian Stretch 9 emulator Crostini. As you’re entering these commands, you can copy and paste them from the website to the Debian terminal by using a right click (or Alt + Click if you don’t have an external mouse connected)
Step 1 - Enable Linux Apps
Open the Settings app, and search for Linux. Click “Turn On” to enable Linux support. On the popup installer, click Install. Sit back and wait. When the installation is complete, a Debian Linux shell terminal will automatically open.
Step 2 - Add the JOSM repository
This command adds the JOSM repository to the sources list. echo deb https://josm.openstreetmap.de/apt alldist universe | sudo tee -a /etc/apt/sources.list
Download and register the OpenStreetMap public key. wget -q https://josm.openstreetmap.de/josm-apt.key -O- | sudo apt-key add -
Step 3 - Update the APT repositories and install
This will query updates to all packages, and install josm afterwards. This will take quite some time. Go grab a coffee. sudo apt update ; sudo apt install josm
Step 4 - Run JOSM
Open up JOSM within the App Folder “Linux Apps” from the launcher. It’s possible that JOSM could have too small a font to read on your screen. The fix is to install Java 11 and use UIScaling to render the applet with a larger font. If you wish to fix this and give JOSM a larger font, follow the next steps:
Optional Step 5 - Enable Backports
Debian Stretch doesn’t come with Java JDK 11 by default, but we can enable it by adding the backports software repository.
echo deb http://deb.debian.org/debian stretch-backports main | sudo tee -a /etc/apt/sources.list |