Tested: Ubuntu Gnome 16.04 LTS
I'm having trouble getting my HiDPI display, 3200x1800, working correctly with Chromium. By default, Chromium supports high resolution, but does not adapt manually.
So, I found a job to make it work and wanted to share it with everyone else.
Here is what I did:
Originally searched:
$ cd / & && find -iname 'chromium *'
Returned a lot of results ... If your results are somewhere like mine, you will see the file in: / etc / chrome browser / by default
Change this file (all settings):
$ sudo nano / etc / chromium-browser / default
There is a section in which the variable for the arguments is passed to the actual file, which is called in the / bin folder .
Looks like:
CHROMIUM_FLAGS = ""
EDIT it:
CHROMIUM_FLAGS = "- device-power scale factor = 2"
Save the changes and restart Chromium. This should fix Chrome for those who want to use Chromium with a higher resolution.
[ATTENTION] Keep in mind that the scaling factor takes a floating point value, so you can scale it to 1.25 or 2.13 or any other preferred value.
Hope this helps.
source share