Changes between Version 17 and Version 18 of Help/HiDPISupport


Ignore:
Timestamp:
2024-05-19T16:14:05+02:00 (15 months ago)
Author:
NieWnen
Comment:

Add possibility to save 'export GDK_SCALE' to config file, to avoid running JOSM every time from a terminal or creating custom scripts.

Legend:

Unmodified
Added
Removed
Modified
  • Help/HiDPISupport

    v17 v18  
    2222
    2323=== Linux ===
    24 You can activate HiDPI-mode for one application by running it with the `GDK_SCALE` environment variable set to 2, 4, ..., e.g.
     24You can activate HiDPI-mode for one application by running it with the `GDK_SCALE` environment variable set to 2, 4, ..., e.g.:
    2525{{{#!bash
    2626GDK_SCALE=2 java -jar josm.jar
    2727}}}
    28 Alternatively, you can modify the java2d ui-scaling via the command line or the config file, `josm` respectively `josm-latest`, usually located in `/etc/default/` (Debian/Ubuntu) or `/etc/conf.d/` (Arch). Refer to [wikitr:/Help/Preferences#Customizationalloperatingsystems] for details:
     28If you want to keep it permanently, you can modify the config file, `josm` respectively `josm-latest`, usually located in `/etc/default/` (Debian/Ubuntu) or `/etc/conf.d/` (Arch) by adding this line at the end of the file:
     29{{{#!bash
     30export GDK_SCALE=2
     31}}}
     32
     33Alternatively, you can modify the java2d ui-scaling via the command line or the above config file. Refer to [wikitr:/Help/Preferences#Customizationalloperatingsystems] for details:
    2934{{{#!bash
    3035JOSM_ARGS="-Dsun.java2d.uiScale=2 {other args}"