Fix Jetbrains IDE Scaling Issues on Linux for HiDPI displays

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:

  1. Open the menu, then navigate to Help -> Custom VM Options
  2. In the newly opened ".vmoptions" file, add the following line:

    -Dsun.java2d.uiScale=2
    
  3. Restart the editor to apply the changes

More from gridlocdev's blog
All posts