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

About Eric Zhiqiang Ma

Eric Zhiqiang Ma is a PhD candidate at Dep. of CSE, HKUST. He is interested in system software for cloud computing, virtualization of large-scale distributed systems and etc. Also find Eric on Facebook, Twitter, LinkedIn and Google+. The views or opinions expressed here are solely Eric's own and do not necessarily represent those of any third parties. More Posts - Website

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Click to subscribe to Fclose.com Posts by Email if you have not.