For some reason, IntelliJ IDEs still run on Xwayland in Wayland WMs (as of 2025-08-12). This can cause scaling issues for some monitors where everyting is scaled 2x, or more. (I assume this is caused by HiDPI info provided is incorrect)
To fix this, you can instruct the IDE to use WLToolKit
for AWT.
Steps:
- Go to
Help | Edit Custom VM Options...
. You can use the search function to find it as well. A file with.vmoptions
extensions will be opened. - Add a line at the end of the file:
-Dawt.toolkit.name=WLToolkit
. - Restart your IDE.