how to change the position of show application icon in ubuntuto left

C++
gsettings set org.gnome.shell.extensions.dash-to-dock show-apps-at-top true

Source

Also in C++: