Eclipse颜色主题不起作用

时间:2015-05-15 10:38:47

标签: eclipse

我已按照明确的说明在Eclipse Luna 4.4.0,Ubuntu 10.04.2 64Bits中安装Eclipse Color Themes 1.0.0,每当我检查任何主题时:

  1. 未显示预览。
  2. 点击“申请并接受”后,主题不会应用。
  3. 我检查了其他问题,例如: How can I change Eclipse theme? Eclipse Color Theme is not working 但那些不是我的问题。我没有错。

    更新:事实证明编辑器正在运行,但其余的窗口都是原始的。

    欢迎任何建议。谢谢!

1 个答案:

答案 0 :(得分:0)

我找到了答案:这是Eclipse版本的已知错误: https://github.com/guari/eclipse-ui-theme/issues/73

基本上,您必须在启动时启用GTK3,这可以在.desktop文件中完成:

[Desktop Entry]
Name=Eclipse
Comment=Eclipse Luna
Exec=env SWT_GTK3=1 ~/Apps/eclipse/eclipse
Icon=~/Apps/eclipse/eclipse-1.png
StartupNotify=true
Terminal=false
Type=Application

还需要在Gnome Tweak工具上设置Global Dark主题。