how to ubuntu scaling code example
Example 1: ubuntu set scale to 150
gsettings set org.gnome.desktop.interface text-scaling-factor 1.2
Example 2: ubuntu fractional scaling
sudo apt install gnome-tweaks
gsettings set org.gnome.desktop.interface text-scaling-factor 1.2
sudo apt install gnome-tweaks