How can I run IntelliJ IDEA on a remote desktop

后端 未结 5 1591
猫巷女王i
猫巷女王i 2021-01-31 09:44

IntelliJ IDEA 12 on a remove NX desktop is almost unusable. Screen refreshes are painful as you scroll, and simple operations like selecting text is a chore. Is there any way to

5条回答
  •  日久生厌
    2021-01-31 10:14

    This problem has been discussed here. One of the suggestions was to disable double buffering with RepaintManager.currentManager(null).setDoubleBufferingEnabled(false), and set sun.java2d.noddraw=false in the idea.properties file.

    To make things easy, I have created a plugin that toggles double buffering. You can get the source code from here, or you can download the compiled JAR from here.

    With the plugin installed, go into the Tools menu and select Enable/Disable Double Buffering. You will experience a lot of flickering with double buffering disabled, but the performance over a remote desktop connection is significantly improved.

    You may also have some luck setting -Dsun.java2d.xrender=true. See here for details.

提交回复
热议问题