linux - 在 Linux 上仅运行具有特殊 GTK3 主题的特定应用程序

标签 linux themes gtk3

一些 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 launchercreate your own .

关于linux - 在 Linux 上仅运行具有特殊 GTK3 主题的特定应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53817521/

相关文章:

linux - 如何使用 emacs 键绑定(bind)启动 shell 脚本,将光标下的单词作为变量传递

linux - 如何从 linux 命令行查找视频的录制时间

python - 如何在 Gtk3 中获取 DrawingArea 窗口句柄?

Sense 手机上的 Android 应用程序主题

c++ - OpenCV - 从 C/C++ 中的默认网络摄像头获取图片 - GTK 问题

linux - 第一次无法在 Linux 上安装 teSTLink

linux - ffmpeg每秒提取一帧视频?

asp.net - 为什么皮肤文件中的控件需要 runat ="server"?

themes - 通过命令提示符重新安装 webmin 主题