Skip to content

Commit

Permalink
Fix modeline
Browse files Browse the repository at this point in the history
```
kabelkrant@kabelkrant:~ $ gtf 1920 1080 50

  # 1920x1080 @ 50.00 Hz (GTF) hsync: 55.60 kHz; pclk: 141.45 MHz
  Modeline "1920x1080_50.00"  141.45  1920 2032 2232 2544  1080 1081 1084 1112  -HSync +Vsync
```
  • Loading branch information
rmens committed Aug 15, 2024
1 parent ef7b54a commit c4671a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@ xset s off # Disable screen saver.
xset s noblank # Don't blank the video device.
# Set the resolution and position monitor 2 to the right of monitor 1
xrandr --newmode "1920x1080_50.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
xrandr --addmode HDMI-1 1920x1080_50.00
xrandr --newmode "1920x1080_50.00" 141.45 1920 2032 2232 2544 1080 1081 1084 1112 -HSync +Vsync
xrandr --addmode HDMI-1 "1920x1080_50.00"
# Set HDMI-1 as the primary monitor
xrandr --output HDMI-1 --primary --mode 1920x1080_50.00 --rate 50
xrandr --output HDMI-1 --mode "1920x1080_50.00"
# Hide the mouse cursor when idle
unclutter -idle 0 &
Expand Down

0 comments on commit c4671a4

Please sign in to comment.