Stuff
This commit is contained in:
parent
91f9627a9b
commit
d6b41b5e0f
2 changed files with 60 additions and 0 deletions
39
framework_screen_pains.md
Normal file
39
framework_screen_pains.md
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
# How to get the home office monitor working
|
||||
|
||||
- Run the following commands
|
||||
|
||||
```shell
|
||||
|
||||
# Check output and note what's the name of the display
|
||||
xrandr --listmonitors
|
||||
DISPLAY_NAME="write_the_name_here"
|
||||
|
||||
# Then run the following and copy what comes in the modeline after "Modeline"
|
||||
cvt 1920 1080 59.80
|
||||
|
||||
# First generate a "modeline" by using cvt
|
||||
# Syntax is: cvt width height refreshrate
|
||||
|
||||
cvt 1920 1080 59.80
|
||||
|
||||
#this gives you:
|
||||
|
||||
# 1920x1080 59.79 Hz (CVT) hsync: 66.96 kHz; pclk: 172.50 MHz
|
||||
Modeline "1920x1080_59.80" 172.50 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
|
||||
|
||||
# Now tell this to xrandr:
|
||||
|
||||
xrandr --newmode "1920x1080_59.80" 172.50 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
|
||||
|
||||
# Then you can now add it to the table of possible resolutions of an output of your choice:
|
||||
|
||||
xrandr --addmode ${DISPLAY_NAME} 1920x1080_59.80
|
||||
|
||||
#The changes are lost after reboot, to set up the resolution persistently, create the file ~/.xprofile with the content:
|
||||
|
||||
#!/bin/sh
|
||||
xrandr --newmode "1920x1080_59.80" 172.50 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
|
||||
xrandr --addmode ${DISPLAY_NAME} 1920x1080_59.80
|
||||
|
||||
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue