
Here's what works on MATE: gsettings set -mouse cursor-theme 'DMZ-Black'
Mac os change cursor color how to#
Now you gotta figure out how to change a cursor theme by a command at your environment. It should give you something like "00000002" for one layout and "00001002" for the other. Try running this command after switching keyboard layouts: xset -q | grep -A 0 'LED' | cut -c59-67

Various desktop environments have different methods for storing current keyboard layout and for the one I'm working on (MATE) I wasn't even able to figure out a nice method, so I needed to use xset -q which returns very meaningless "mask" that's different for each keyboard layout. xmc extension and then strip that extension, so the names are like in the original, source theme. Let's say "DMZ-White" and "DMZ-Black".Īs for colorizing cursors, you can do it with GIMP and it's "colorize" function/filter, but you gotta apply it to all layers (different sizes) and then export those files with. For the proof-of-concept I'll show you rest by just using cursor themes that should already be available in the system. You can copy ones that you have in /usr/share/icons (check for folders that contain cursor.theme file) into your users ~/.icons folder, rename them by your choice and colorize. ugly.įirst of all, you would need to create you own cursor themes with your own colors. It certainly is possible, but the solution for that I came up with is very.
