Configuring Mouse Cursor Style for QT Applications in GNOME / MATE Desktop

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

Eric Ma

Eric is a systems guy. Eric is interested in building high-performance and scalable distributed systems and related technologies. The views or opinions expressed here are solely Eric's own and do not necessarily represent those of any third parties.

2 comments:

Leave a Reply

Your email address will not be published. Required fields are marked *