一些 GTK3 主题,例如Linux Mint MATE 17.1 上的默认 Mint-X,会给基于 Java/SWT 的应用程序带来严重问题。是否可以只运行具有不同主题的特定应用程序(这里是基于 Java/SWT 的应用程序),而不必将整个系统切换到不同的主题?
最佳答案
设置GTK_THEME environment variable :
GTK_THEME. If set, makes GTK+ use the named theme instead of the theme that is specified by the gtk-theme-name setting. This is intended mainly for easy debugging of theme issues. It is also possible to specify a theme variant to load, by appending the variant name with a colon, like this:
GTK_THEME=Adwaita:dark
.
我不知道 MATE,但我想你需要 modify your launcher或 create your own .
关于linux - 在 Linux 上仅运行具有特殊 GTK3 主题的特定应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53817521/