Created
October 14, 2019 13:29
-
-
Save kn100/7193667d393fcf34d4d5c6c359a695af to your computer and use it in GitHub Desktop.
A script that forces your internal Dell XPS 13 4k display to run at 1600x900, so it runs at a similar DPI to your 2k monitor, thereby solving scaling issues.
This file contains hidden or 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/sh | |
sleep 1 | |
xrandr --newmode "1600x900" 118.25 1600 1696 1856 2112 900 903 908 934 -hsync +vsync | |
xrandr --addmode eDP-1 1600x900 | |
xrandr --output DP-1 --auto --pos 0x0 | |
xrandr --output eDP-1 --primary --mode 1600x900 --pos 2560x540 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment