Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:docs:hidpi [2021/06/23 12:53]
turikhay
en:docs:hidpi [2023/06/15 23:03] (current)
turikhay
Line 1: Line 1:
 ===== HiDPI support ===== ===== HiDPI support =====
  
-TL supports [[https://​blog.elementary.io/​what-is-hidpi/​|HiDPI mode]]. You'll need:+Legacy Launcher ​supports [[https://​blog.elementary.io/​what-is-hidpi/​|HiDPI mode]]. You'll need:
  
-  * TL 1.123.0 or newer+  * Legacy Launcher ​1.123.0 or newer
   * Windows, macOS with Java 11 or newer   * Windows, macOS with Java 11 or newer
   * Linux with Java 11.0.12+ or 17+   * Linux with Java 11.0.12+ or 17+
  
 == Windows и macOS == == Windows и macOS ==
-{{ :​docs:​screenshot_2021-06-23_173306.jpg?​direct&​800 |Windows 10, Java 11.0.11, uiScale=2}}+{{ :en:​docs:​screenshot_2021-06-26_160227.png?​direct&​801 |Windows 10, Java 11.0.11, uiScale=2}}
  
 UI scale works out of the box if you use Java 11 or newer. UI scale works out of the box if you use Java 11 or newer.
  
-Install [[https://tlaun.ch/​latest/​jar|latest ​TL (jar)]] and [[https://​adoptopenjdk.net/​|Java 11 (or newer)]].+Install [[https://llaun.ch/​latest/​jar|latest ​Legacy Launcher ​(jar)]] and [[https://​adoptopenjdk.net/​|Java 11 (or newer)]].
  
 == Linux == == Linux ==
-{{ :​docs:​screenshot_from_2021-06-23_17-20-13.png?​direct&​800 |Linux, Java 17-ea, GNOME 40, uiScale=3}}+{{:en:​docs:​screenshot_from_2021-06-26_16-10-54.png?​direct&​800|Linux,​ Java 17-ea, GNOME 40, uiScale=3}} 
  
 Launcher is tested in GNOME 40 with GTKLookAndFeel on [[https://​jdk.java.net/​17/​|JDK 17 (Early Access)]] (11.0.12+ should work too) Launcher is tested in GNOME 40 with GTKLookAndFeel on [[https://​jdk.java.net/​17/​|JDK 17 (Early Access)]] (11.0.12+ should work too)
  
-Launcher [[https://​bugs.openjdk.java.net/​browse/​JDK-8255790|may crash]] if you use some other version.+Launcher [[https://​bugs.openjdk.java.net/​browse/​JDK-8255790|may crash]] if you use e.g. 11.0.11.
  
 If your JRE isn't picking up GNOME L&F settings and/or doesn'​t scale up the UI, then do the following: If your JRE isn't picking up GNOME L&F settings and/or doesn'​t scale up the UI, then do the following:
  
-1. Create arguments file (replace N in uiScale=N with a number, e.g. 1.25 or 2)+1. Create arguments file (set variable ''​TL_UI_SCALE''​ to a number, e.g. ''​1.25'' ​or ''​2''​) 
 +<code bash> 
 +$ TL_UI_SCALE= 
 +</​code>​
 <code bash> <code bash>
-$ echo "​-Dsun.java2d.uiScale=-Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel -Dswing.crossplatformlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel" tl.bootargs+[ -z "​$TL_UI_SCALE"​ ] && ​echo "Don't just copy-paste. Please actually set TL_UI_SCALE"​ >&2 || cat <<EOF > tl.bootargs 
 +-Dsun.java2d.uiScale=$TL_UI_SCALE 
 +-Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel 
 +-Dswing.crossplatformlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel 
 +EOF
 </​code>​ </​code>​
 2. And start the launcher 2. And start the launcher
 <code bash> <code bash>
-$ java -cp TL.jar ru.turikhay.tlauncher.bootstrap.BootstrapStarterDebug+$ java -cp LegacyLauncher.jar Debug
 $ # or just: $ # or just:
-$ java -jar TL.jar+$ java -jar LegacyLauncher.jar
 </​code>​ </​code>​