Created
April 26, 2024 02:00
-
-
Save kc2zgu/fdbb9c2f3733c6f68f08120f90445f44 to your computer and use it in GitHub Desktop.
Rpi 4 overscan (xrandr)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Desktop Entry] | |
Type=Application | |
Exec=overscan.sh | |
Hidden=false | |
Name=overscan | |
Comment=Configure display overscan/margins |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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