Last active
May 24, 2023 10:38
-
-
Save RasulOs/db7717ec6eaa85fcd20853116696d7d7 to your computer and use it in GitHub Desktop.
Setting custom screen resolution (1920x1080) on KDE Plasma/Debian 11
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
First of all, enter "xrandr" in the terminal to list all available screen resolutions: | |
$ xrandr | |
Note the name of the output that corresponds to your monitor, For example, | |
VGA-1 or Virtual1 (For Virtual Box). | |
Then enter this: | |
ro@debian-main:~$ 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 | |
Take the output from that and put in the terminal: | |
ro@debian-main:~$ xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync | |
Then enter these commands: | |
ro@debian-main:~$ xrandr --addmode Virtual1 1920x1080_60.00 | |
ro@debian-main:~$ xrandr -s 1920x1080 -r 60 | |
Screen resolution will change. | |
Enter xrandr in the terminal to see available screen resolutions. | |
ro@debian-main:~$ xrandr | |
And you will see your screen resolution there. | |
P.S. If your screen resolution returns to the same resolution try to turn off the background service "KScreen 2" in the | |
Settings -> Startup and Shutdown -> Background Services. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment