High-dpi settings for chrome on Linux

On a high-reslution screen with firefox, you can set in about:config

layout.css.devPixelsPerPx=2

so everything in Firefox has double size.

Is there such a setting for chrome-browser as well?

1

1 Answer

I'm using google-chrome in Linux, and what worked for me was editing the launcher so that it passes the command line argument --force-device-scale-factor=2

e.g. in /usr/bin/google-chrome-stable

# ...
# Make sure that the profile directory specified in the environment, if any,
# overrides the default.
if [[ -n "$CHROME_USER_DATA_DIR" ]]; then # Note: exec -a below is a bashism. exec -a "$0" "$HERE/chrome" \ --force-device-scale-factor=2 \ --user-data-dir="$CHROME_USER_DATA_DIR" "$@"
else exec -a "$0" "$HERE/chrome" \ --force-device-scale-factor=2 \ "$@"
fi

See Chrome UI size & zoom levels in Ubuntu 16.04

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like