cursor size in linux not changing on the desktop

C++
$ gsettings set org.gnome.desktop.interface cursor-size [sizeInPixels]
Source

Also in C++: