Ubuntu – Mouse cursor does not honor night light

cursorgnome-shellredshiftthemes

I just installed 18.04.

Night Light is active, but the mouse cursor is not "red-shifting".
I am using the default 'DMZ-Black' cursor theme.

But the pointer outline is a glaring bright white color, the same as when Night Light is turned off.

Is there a way to get the mouse cursor to honor the Gnome Night Light setting?
(I do not want to install a different cursor theme).

Best Answer

After spending 4+ hours I found the only solution:

  • For now, it's not possible to change cursor color. Use custom cursors for night mode.

I didn't find good looking night cursors so tried to create myself. I used https://github.com/charakterziffer/cursor-toolbox and spent about 1h to change colors in svgs/template.svg to make ok looking cursors for day/night mode.

My example commit: https://github.com/fedotxxl/cursor-toolbox/commit/1ef4faa717fefb2d144871ad0fd4a060c6bf3877

Replace style="fill:#000;fill-opacity:1;stroke:#fff;stroke-opacity:1" with your custom color, compile and try.

Hope it will help someone