如何在远程桌面上运行IntelliJ IDEA [英] How can I run IntelliJ IDEA on a remote desktop
问题描述
删除NX桌面上的IntelliJ IDEA 12几乎无法使用。滚动时屏幕刷新很痛苦,选择文本等简单操作是件苦差事。有没有办法在远程桌面上改善IDEA的体验?
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 improve the experience of IDEA on a remote desktop?
推荐答案
已经讨论过这个问题这里。其中一个建议是使用 RepaintManager.currentManager(null).setDoubleBufferingEnabled(false)
禁用双缓冲,并设置 sun.java2d.noddraw = false idea.properties 文件中的
。
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.
您可能还有一些运气设置 -Dsun.java2d.xrender =真
。有关详细信息,请参见此处。
You may also have some luck setting -Dsun.java2d.xrender=true
. See here for details.
这篇关于如何在远程桌面上运行IntelliJ IDEA的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!