I am trying to get in the command line the same effect as changing the display scale factor from the Gnome Control Center.
I have tried the following command, but it does not have any effect:
gsettings set org.gnome.desktop.interface scaling-factor 2
I need this command to build a sort of fractional scale factor with the combination of xrandx and the scaling factor in the Gnome Control Center. Since, the execution of xrandr resets the scaling factor in the Gnome Control Center, I would need a command to recover the value in the Gnome Control Center.
Please, any suggestion is welcome. Thanks in advance.
Best Answer
Determine your output device (mine is DP-1) by running xrandr on its own, then use this: