Are you using Ubuntu in combination with a HiDPI 4K display? Then you are definitely familiar with your windows and text being too small after logging in into your Gnome session; a typical result of wrong scaling settings indeed.
This guide will demonstrate how to permanently set your Ubuntu scaling factor to 200%.
To start off, open up Gnomes configuration XML file:
scaling-factor setting and change it as follows:
Now save your configuration file and exit from your editor.
Then apply the changes with the following command:
That’s it. Now reboot your computer and enjoy your applied 200% scaling factor.