change desktop icon size in linux

C++
gsettings set org.gnome.nautilus.icon-view default-zoom-level 'small'

Source

Also in C++: