Skip to content

Instantly share code, notes, and snippets.

@giventofly
Last active July 17, 2023 07:31
Show Gist options
  • Save giventofly/9b5cc78ba41e6a77711f960fd80eda88 to your computer and use it in GitHub Desktop.
Save giventofly/9b5cc78ba41e6a77711f960fd80eda88 to your computer and use it in GitHub Desktop.
Samsung g9 linux display resolution xrandr

Add on $HOME/.xprofile to autoload on boot:

xrandr --newmode "5120x1440_59.97" 292.75  5120 5360 5888 6656  1440 1443 1453 1468 +hsync +vsync
xrandr --addmode HDMI-2 5120x1440_59.97
xrandr --output HDMI-2 --mode 5120x1440_59.97

or run

sudo xrandr --newmode "5120x1440_59.97" 292.75  5120 5360 5888 6656  1440 1443 1453 1468 +hsync +vsync
sudo xrandr --addmode HDMI-2 5120x1440_59.97
sudo xrandr --output HDMI-2 --mode 5120x1440_59.97
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment