Skip to content

Instantly share code, notes, and snippets.

@NF1198
Last active October 27, 2017 21:12
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 NF1198/09829ffc9c415462f63599adecc0825f to your computer and use it in GitHub Desktop.
Save NF1198/09829ffc9c415462f63599adecc0825f to your computer and use it in GitHub Desktop.
Set DPI in Linux VM before login screen starts
# find / -name Xsetup 2>/dev/null
# -or-
# find / -name Default 2>/dev/null (e.g. /etc/gdm3/Init/Default) -- doesn't work in gdm3 ...
# vim <path to file>/Xsetup
# verify with $ xdpyinfo | grep -B 2 resolution
# add line:
# xrandr --dpi <dpi>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment