Fix Jetbrains IDE Scaling Issues on Linux for HiDPI displays
July 7, 2023•84 words
On HiDPI displays, for me the UI was displaying text extremely small on Fedora 38 KDE. Most regular options like setting the GDK_SCALE_FACTOR
environment variable and other IDE options seemed to not work.
However, simply forcing the UI scale through the editor settings worked. To accomplish this, do the following:
- Open the menu, then navigate to
Help
->Custom VM Options
In the newly opened ".vmoptions" file, add the following line:
-Dsun.java2d.uiScale=2
Restart the editor to apply the changes