Skip to content

Instantly share code, notes, and snippets.

@dnozay
Created October 5, 2014 00:17
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save dnozay/486747bfe4b9c3df6a0e to your computer and use it in GitHub Desktop.
Save dnozay/486747bfe4b9c3df6a0e to your computer and use it in GitHub Desktop.
use xrandr to properly fit Sceptre 40" display over HDMI output.
#!/bin/bash
# fix display for Sceptre 40" X405BV-FHD3 on Fedora 20.
# this is done by turning on the underscan feature with xrandr.
# usage: call this script from within /etc/gdm/Init/Default.
xrandr --output HDMI-1 \
--set "underscan" on \
--set "underscan hborder" 50 \
--set "underscan vborder" 30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment