Howto: prevent mouse cursor size from changing (MX-17/18)

Here is where you can post tips and tricks to share with other users of MX. Do not ask for help in this Forum.
Message
Author
User avatar
JayM
Posts: 6796
Joined: Tue Jan 08, 2019 3:47 am

Howto: prevent mouse cursor size from changing (MX-17/18)

#1 Post by JayM »

Problem: Your mouse cursor reverts to its original size after you reboot or log out and in. The cursor size setting in Settings/Mouse and Touchpad/Theme tab doesn't seem to "stick".
Solution: Edit the file ~/.gtkrc-2.0 (or create it if it doesn't already exist) and add

Code: Select all

gtk-cursor-theme-name=YourCursorTheme
gtk-cursor-theme-size=40
replacing "YourCursorTheme" with the actual name of your mouse cursor's theme, i.e. DMZ-Black, and changing size 40 to whatever size you want.

Note that this only works for MX-18.3 and earlier as MX-19 will use GTK3, not GTK2. MX-19 doesn't have this issue.

(I found this solution for someone who was having this issue and now I find myself having it as well, every time I have to install MX, so I'm putting it here so I don't have to keep searching through my own posts to find it again.)

(Multiple edits to correct typos.)
Please read the Forum Rules, How To Ask For Help, How to Break Your System and Don't Break Debian. Always include your full Quick System Info (QSI) with each and every new help request.

Return to “Tips & Tricks by users”