Skip to content

Instantly share code, notes, and snippets.

@leoluk
Created June 5, 2020 09:08
Show Gist options
  • Save leoluk/79b967b4f6a2042d4514c18406bac4ea to your computer and use it in GitHub Desktop.
Save leoluk/79b967b4f6a2042d4514c18406bac4ea to your computer and use it in GitHub Desktop.
High DPI scaling tricks
# .config/i3/config
exec xrandr --dpi 144
# .Xresources
Xft.dpi: 144
Xft.hinting: 1
Xft.hintstyle: hintslight
Xft.antialias: 1
Xft.rgba: none
Xcursor.size: 48
Xcursor.theme: Adwaita
# xrandr monitor layout switching scripts
xrandr --dpi 144
# Gnome settings
gsettings set org.cinnamon.desktop.interface scaling-factor 1
gsettings set org.cinnamon.desktop.interface text-scaling-factor 1.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment