【问题标题】:Eclipse color themes not workingEclipse 颜色主题不起作用
【发布时间】:2015-07-27 06:07:04
【问题描述】:

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

  1. 不显示预览。
  2. 单击应用并接受时,主题未应用。

我检查了其他问题,例如: How can I change Eclipse theme? Eclipse Color Theme is not working 但这些不是我的问题。我没有收到任何错误。

更新:事实证明编辑器正在工作,但其余窗口仍保持原始外观。

欢迎任何建议。谢谢!

【问题讨论】:

  • 更换主题后是否尝试过重启Eclipse?
  • 经过更多搜索我发现这是一个已知问题:github.com/guari/eclipse-ui-theme/issues/73
  • 我建议回答您自己的问题。发布该链接和解释,以便其他搜索此问题的人可以轻松了解发生了什么。
  • 实际上我投票决定关闭它,因为我不喜欢回答我自己的问题 :) 但我会听从你的建议。

标签: eclipse


【解决方案1】:

我找到了答案:这是该 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 主题设置为 ON。

【讨论】:

    猜你喜欢
    • 2016-05-21
    • 1970-01-01
    • 2021-10-12
    • 2016-02-15
    • 2018-09-23
    • 2019-05-27
    • 1970-01-01
    • 1970-01-01
    • 2019-05-21
    相关资源
    最近更新 更多