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.
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.
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:
$ 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.
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’.