gnome 3 mate
QT and GTK applications use different settings for cursor styles. This makes the mouse cursor styles for QT applications in the GNOME / MATE desktop environment or GTK applications in the KDE desktop environment look different with other programs.
QT和GTK应用程序对光标样式使用不同的设置。 这使GNOME / MATE桌面环境中的QT应用程序或KDE桌面环境中的GTK应用程序的鼠标光标样式看起来与其他程序不同。
In the post Configuring Mouse Cursor Style for GTK Applications in KDE Desktop, we talked about how to configure the mouse cursor style for GTK applications in the KDE desktop environment. In this post, we will introduce how to configure the mouse cursor style for QT applications in the GNOME / MATE desktop environment.
在“ 在KDE Desktop中为GTK应用程序配置鼠标光标样式”一文中 ,我们讨论了如何在KDE桌面环境中为GTK应用程序配置鼠标光标样式。 在本文中,我们将介绍如何在GNOME / MATE桌面环境中为QT应用程序配置鼠标光标样式。
QT reads the theme configuration from the ‘.icons/theme’ directory under the user’s home. We can simply set it to the theme we like. For example, I use the ‘mate’ cursor theme on MATE. This is my configuration:
QT从用户主目录下的“ .icons / theme”目录中读取主题配置。 我们可以简单地将其设置为我们喜欢的主题。 例如,我在MATE使用'mate'光标主题。 这是我的配置:
$ cat ~/.icons/default/index.theme
[Icon Theme]
Inherits=mate
After setting this environment, the QT applications start to use the same cursor theme (also the ‘mate’) as I set in MATE for other programs.
设置此环境后,QT应用程序开始使用与我在MATE中为其他程序设置的相同的光标主题(也称为“伴侣”)。
BTW: Set the theme style for QT applications is easier, just use the qtconfig-qt4
program provided by QT. The package for this program on Fedora is ‘qt-config’.
顺便说一句:为QT应用程序设置主题样式更加容易,只需使用QT提供的qtconfig-qt4
程序即可。 在Fedora上此程序的软件包是“ qt-config”。
gnome 3 mate