Skip to content

Instantly share code, notes, and snippets.

@iinm
Last active July 2, 2023 08:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iinm/fd64b2ce5b21ba1795eeea19014d2e12 to your computer and use it in GitHub Desktop.
Save iinm/fd64b2ce5b21ba1795eeea19014d2e12 to your computer and use it in GitHub Desktop.
Fix Chrome scaling factor on Ubuntu
cat /usr/share/applications/google-chrome.desktop \
| sed -E 's,^(Exec=[^ ]+)(.*),\1 --force-device-scale-factor=1.15\2,g' \
> ~/.local/share/applications/google-chrome.desktop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment