Skip to content

Instantly share code, notes, and snippets.

@kc2zgu
Created April 26, 2024 02:00
Show Gist options
  • Save kc2zgu/fdbb9c2f3733c6f68f08120f90445f44 to your computer and use it in GitHub Desktop.
Save kc2zgu/fdbb9c2f3733c6f68f08120f90445f44 to your computer and use it in GitHub Desktop.
Rpi 4 overscan (xrandr)
[Desktop Entry]
Type=Application
Exec=overscan.sh
Hidden=false
Name=overscan
Comment=Configure display overscan/margins
#!/bin/bash
OUT="HDMI-1"
xrandr --output $OUT --set 'top margin' 16
xrandr --output $OUT --set 'left margin' 28
xrandr --output $OUT --set 'bottom margin' 18
xrandr --output $OUT --set 'right margin' 28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment