> cvt 1920 1080
# 1920x1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz
Modeline "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
# 1920x1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz
Modeline "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
> sudo xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
>sudo xrandr --addmode eDP-1 "1920x1080_60.00"
new resolution is added
> xrandr --output VGA1 --mode "1920x1080_60.00"
or u can use arandr/xrandr/lxrandr to swithch to new resolution or use de interface
make shell script for auto loadhh
nano cures.sh
--------------------------------------------------------------------------------------------------------------------------
sudo xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
sudo xrandr --addmode eDP-1 "1920x1080_60.00"
xrandr --output eDP-1 --mode "1920x1080_60.00"
src:
https://wiki.archlinux.org/index.php/Xrandr
http://www.thinkwiki.org/wiki/Xorg_RandR_1.2
https://wiki.debian.org/XStrikeForce/HowToRandR12
https://wiki.ubuntu.com/X/Config/Resolution
make shell script for auto loadhh
nano cures.sh
--------------------------------------------------------------------------------------------------------------------------
sudo xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
sudo xrandr --addmode eDP-1 "1920x1080_60.00"
xrandr --output eDP-1 --mode "1920x1080_60.00"
--------------------------------------------------------------------------------------------------------------------------
/etc/X11/xorg.conf.d/10-monitor.conf
Section "Monitor" Identifier "VGA1" Modeline "1280x1024_60.00" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync Option "PreferredMode" "1280x1024_60.00" EndSection Section "Screen" Identifier "Screen0" Monitor "VGA1" DefaultDepth 24 SubSection "Display" Modes "1280x1024_60.00" EndSubSection EndSection Section "Device" Identifier "Device0" Driver "intel" EndSection
src:
https://wiki.archlinux.org/index.php/Xrandr
http://www.thinkwiki.org/wiki/Xorg_RandR_1.2
https://wiki.debian.org/XStrikeForce/HowToRandR12
https://wiki.ubuntu.com/X/Config/Resolution
Comments
Post a Comment