Solve the problem that the double scaling of the ubuntu virtual machine cannot be maintained

Due to the use of 4K monitors, 100% of the UI interface display is too small. Therefore, the UI interface scaling needs to be changed to 200%. But once the size of the VMware window is adjusted, the ubuntu UI interface will return to 100%.
insert image description here
Just two commands:

gsettings set org.gnome.desktop.interface scaling-factor  2
xrandr --output Virtual1 --mode 3840x2160 --scale 1x1

If you zoom in and out, the window size will not change anymore. Rebooting is no problem either.

Guess you like

Origin blog.csdn.net/duapple/article/details/128601044
Recommended