How to set a custom resolution?How to add a resolution in display settings?Ubuntu 14.04 resolution problemDisplay resolution stuck at 800x600Dual Monitor (2x Acer R271) with Geforce GT 555xrandr outputs errors when I try to add a new resolutionUbuntu takes ~30 minutes to remember my monitor settingsSamsung monitor installationHigher screen resolution in VirtualBox?How to set screen borders for HDMI outputHow to make my maximum screen resolution to be detected by Ubuntu?Unable to change the refresh rate to 60hz with xrandrHow to make video resolution setting permanent?Stuck at 800x600 display resolution Ubuntu 14Resolution on Ubuntu 12.04 VMwareCan't Set Resolution To 1080pxrandr can't set up right screen resolution for screen 1 (ubuntu)Problem with second monitor's resolution
Well-known American figure with Roman numerals
Did medieval stores have names?
What (if anything) could have caused all three shuttle main engines to stop at the same time?
Why is it “Cat in the Hat”?
What would happen to the world if all lightning stopped?
QGIS "open attribute table" as tab
Implement the Max-Pooling operation from Convolutional Neural Networks
Check the validity of a 10-digit telephone number
Is it sportsmanlike to waste opponents' time by giving check at the end of the game?
Bash to check if directory exist. If not create with an array
Does an envoy warforged have to choose a specific vehicle?
An historical mystery : Poincaré’s silence on Lebesgue integral and measure theory?
Effects of quantum computing on parallel universes
Extra long braces with beginarray[t]
How to get out of the Ice Palace in Zelda A link to the Past?
Why do airports in the UK have so few runways?
Why do three series connected 1.2 V NiMH batteries read 4.16 V when charged?
What's the name of the role of characters who buff teammates?
Was the whistle-blower's (12 Aug 2019) complaint deemed credible?
Hands-on murderer
A professor commented that my research is too simple as compared to my colleagues. What does that mean about my future prospects?
Is Schrodinger operator with potential self adjoint
Is current polling about Democrats lead over Trump trustworthy?
Explanatory vs Non-explanatory Proofs
How to set a custom resolution?
How to add a resolution in display settings?Ubuntu 14.04 resolution problemDisplay resolution stuck at 800x600Dual Monitor (2x Acer R271) with Geforce GT 555xrandr outputs errors when I try to add a new resolutionUbuntu takes ~30 minutes to remember my monitor settingsSamsung monitor installationHigher screen resolution in VirtualBox?How to set screen borders for HDMI outputHow to make my maximum screen resolution to be detected by Ubuntu?Unable to change the refresh rate to 60hz with xrandrHow to make video resolution setting permanent?Stuck at 800x600 display resolution Ubuntu 14Resolution on Ubuntu 12.04 VMwareCan't Set Resolution To 1080pxrandr can't set up right screen resolution for screen 1 (ubuntu)Problem with second monitor's resolution
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
I tried to use xrandr
to set 1680x1050 as a new mode to VGA output, but it says:
sudo xrandr --addmode VGA-0 1680
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 18 (RRAddOutputMode)
Serial number of failed request: 35
Current serial number in output stream: 36
display-resolution xrandr
add a comment
|
I tried to use xrandr
to set 1680x1050 as a new mode to VGA output, but it says:
sudo xrandr --addmode VGA-0 1680
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 18 (RRAddOutputMode)
Serial number of failed request: 35
Current serial number in output stream: 36
display-resolution xrandr
add a comment
|
I tried to use xrandr
to set 1680x1050 as a new mode to VGA output, but it says:
sudo xrandr --addmode VGA-0 1680
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 18 (RRAddOutputMode)
Serial number of failed request: 35
Current serial number in output stream: 36
display-resolution xrandr
I tried to use xrandr
to set 1680x1050 as a new mode to VGA output, but it says:
sudo xrandr --addmode VGA-0 1680
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 18 (RRAddOutputMode)
Serial number of failed request: 35
Current serial number in output stream: 36
display-resolution xrandr
display-resolution xrandr
edited Apr 13 at 2:17
Pablo A
4,3453 gold badges22 silver badges49 bronze badges
4,3453 gold badges22 silver badges49 bronze badges
asked Nov 16 '13 at 13:24
user216356user216356
3911 gold badge4 silver badges3 bronze badges
3911 gold badge4 silver badges3 bronze badges
add a comment
|
add a comment
|
4 Answers
4
active
oldest
votes
First generate a "modeline" by using cvt
Syntax is: cvt width height refreshrate
cvt 1680 1050 60
this gives you:
# 1680x1050 59.95 Hz (CVT 1.76MA) hsync: 65.29 kHz; pclk: 146.25 MHz
Modeline "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
Now tell this to xrandr:
xrandr --newmode "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
Then you can now add it to the table of possible resolutions of an output of your choice:
xrandr --addmode VGA-0 1680x1050_60.00
The changes are lost after reboot, to set up the resolution persistently, create the file ~/.xprofile
with the content:
#!/bin/sh
xrandr --newmode "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
xrandr --addmode VGA-0 1680x1050_60.00
21
The connected device might not beVGA-0
. If you get the messagexrandr: cannot find output "VGA-0"
, try running the following command:xrandr | grep -e " connected [^(]" | sed -e "s/([A-Z0-9]+) connected.*/1/"
(source: xrandr on ArchWiki). The output of that command should be the correct device identifier.
– thirdender
Jul 9 '14 at 6:25
10
You do not need sudo with xrandr
– Panther
Oct 12 '15 at 18:14
2
I would like to add that I have the same error - and the above does not solve the problem at all
– TellMeWhy
Oct 13 '15 at 9:35
3
If you're on a VM, the display is usuallyVirtual1
instead of VGA-0.
– CyberEd
Mar 22 '16 at 22:37
5
You need to replace VGA-0 with your monitor connection. Usexrandr --listmonitors
. See How to fix error 'xrandr: cannot find output “VGA1”'?
– Hooman
Mar 7 '18 at 5:27
|
show 9 more comments
How to set a custom resolution previously specified. After executing the other steps defined to create the resolution, run:
xrandr -s 1680x1050
add a comment
|
How to set a custom resolution previously specified when running multiple monitors. After executing the other steps defined to create the resolution, run:
xrandr --output DVI-0 --mode 1680x1050
Replace DVI-0
with your device-id, e.g. VGA-0
add a comment
|
Thanks to thom and thirdender this is basically a single command configuration based on the most voted answer.
RES="1920 1200 60" &&
DISP=$(xrandr | grep -e " connected [^(]" | sed -e "s/([A-Z0-9]+) connected.*/1/") &&
MODELINE=$(cvt $(echo $RES) | grep -e "Modeline [^(]" | sed -r 's/.*Modeline (.*)/1/') &&
MODERES=$(echo $MODELINE | grep -o -P '(?<=").*(?=")') &&
cat > ~/.xprofile << _EOF
#!/bin/sh
xrandr --newmode $MODELINE
xrandr --addmode $DISP $MODERES
_EOF
The above command will generate the desired ~/.xprofile
file. Just make sure you use the resolution (i.e. the RES
variable) of your liking. More info here.
add a comment
|
protected by Community♦ Jun 15 '18 at 18:24
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
First generate a "modeline" by using cvt
Syntax is: cvt width height refreshrate
cvt 1680 1050 60
this gives you:
# 1680x1050 59.95 Hz (CVT 1.76MA) hsync: 65.29 kHz; pclk: 146.25 MHz
Modeline "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
Now tell this to xrandr:
xrandr --newmode "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
Then you can now add it to the table of possible resolutions of an output of your choice:
xrandr --addmode VGA-0 1680x1050_60.00
The changes are lost after reboot, to set up the resolution persistently, create the file ~/.xprofile
with the content:
#!/bin/sh
xrandr --newmode "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
xrandr --addmode VGA-0 1680x1050_60.00
21
The connected device might not beVGA-0
. If you get the messagexrandr: cannot find output "VGA-0"
, try running the following command:xrandr | grep -e " connected [^(]" | sed -e "s/([A-Z0-9]+) connected.*/1/"
(source: xrandr on ArchWiki). The output of that command should be the correct device identifier.
– thirdender
Jul 9 '14 at 6:25
10
You do not need sudo with xrandr
– Panther
Oct 12 '15 at 18:14
2
I would like to add that I have the same error - and the above does not solve the problem at all
– TellMeWhy
Oct 13 '15 at 9:35
3
If you're on a VM, the display is usuallyVirtual1
instead of VGA-0.
– CyberEd
Mar 22 '16 at 22:37
5
You need to replace VGA-0 with your monitor connection. Usexrandr --listmonitors
. See How to fix error 'xrandr: cannot find output “VGA1”'?
– Hooman
Mar 7 '18 at 5:27
|
show 9 more comments
First generate a "modeline" by using cvt
Syntax is: cvt width height refreshrate
cvt 1680 1050 60
this gives you:
# 1680x1050 59.95 Hz (CVT 1.76MA) hsync: 65.29 kHz; pclk: 146.25 MHz
Modeline "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
Now tell this to xrandr:
xrandr --newmode "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
Then you can now add it to the table of possible resolutions of an output of your choice:
xrandr --addmode VGA-0 1680x1050_60.00
The changes are lost after reboot, to set up the resolution persistently, create the file ~/.xprofile
with the content:
#!/bin/sh
xrandr --newmode "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
xrandr --addmode VGA-0 1680x1050_60.00
21
The connected device might not beVGA-0
. If you get the messagexrandr: cannot find output "VGA-0"
, try running the following command:xrandr | grep -e " connected [^(]" | sed -e "s/([A-Z0-9]+) connected.*/1/"
(source: xrandr on ArchWiki). The output of that command should be the correct device identifier.
– thirdender
Jul 9 '14 at 6:25
10
You do not need sudo with xrandr
– Panther
Oct 12 '15 at 18:14
2
I would like to add that I have the same error - and the above does not solve the problem at all
– TellMeWhy
Oct 13 '15 at 9:35
3
If you're on a VM, the display is usuallyVirtual1
instead of VGA-0.
– CyberEd
Mar 22 '16 at 22:37
5
You need to replace VGA-0 with your monitor connection. Usexrandr --listmonitors
. See How to fix error 'xrandr: cannot find output “VGA1”'?
– Hooman
Mar 7 '18 at 5:27
|
show 9 more comments
First generate a "modeline" by using cvt
Syntax is: cvt width height refreshrate
cvt 1680 1050 60
this gives you:
# 1680x1050 59.95 Hz (CVT 1.76MA) hsync: 65.29 kHz; pclk: 146.25 MHz
Modeline "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
Now tell this to xrandr:
xrandr --newmode "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
Then you can now add it to the table of possible resolutions of an output of your choice:
xrandr --addmode VGA-0 1680x1050_60.00
The changes are lost after reboot, to set up the resolution persistently, create the file ~/.xprofile
with the content:
#!/bin/sh
xrandr --newmode "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
xrandr --addmode VGA-0 1680x1050_60.00
First generate a "modeline" by using cvt
Syntax is: cvt width height refreshrate
cvt 1680 1050 60
this gives you:
# 1680x1050 59.95 Hz (CVT 1.76MA) hsync: 65.29 kHz; pclk: 146.25 MHz
Modeline "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
Now tell this to xrandr:
xrandr --newmode "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
Then you can now add it to the table of possible resolutions of an output of your choice:
xrandr --addmode VGA-0 1680x1050_60.00
The changes are lost after reboot, to set up the resolution persistently, create the file ~/.xprofile
with the content:
#!/bin/sh
xrandr --newmode "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
xrandr --addmode VGA-0 1680x1050_60.00
edited May 21 '18 at 5:04
miyalys
1156 bronze badges
1156 bronze badges
answered Nov 16 '13 at 13:42
thomthom
5,3073 gold badges18 silver badges25 bronze badges
5,3073 gold badges18 silver badges25 bronze badges
21
The connected device might not beVGA-0
. If you get the messagexrandr: cannot find output "VGA-0"
, try running the following command:xrandr | grep -e " connected [^(]" | sed -e "s/([A-Z0-9]+) connected.*/1/"
(source: xrandr on ArchWiki). The output of that command should be the correct device identifier.
– thirdender
Jul 9 '14 at 6:25
10
You do not need sudo with xrandr
– Panther
Oct 12 '15 at 18:14
2
I would like to add that I have the same error - and the above does not solve the problem at all
– TellMeWhy
Oct 13 '15 at 9:35
3
If you're on a VM, the display is usuallyVirtual1
instead of VGA-0.
– CyberEd
Mar 22 '16 at 22:37
5
You need to replace VGA-0 with your monitor connection. Usexrandr --listmonitors
. See How to fix error 'xrandr: cannot find output “VGA1”'?
– Hooman
Mar 7 '18 at 5:27
|
show 9 more comments
21
The connected device might not beVGA-0
. If you get the messagexrandr: cannot find output "VGA-0"
, try running the following command:xrandr | grep -e " connected [^(]" | sed -e "s/([A-Z0-9]+) connected.*/1/"
(source: xrandr on ArchWiki). The output of that command should be the correct device identifier.
– thirdender
Jul 9 '14 at 6:25
10
You do not need sudo with xrandr
– Panther
Oct 12 '15 at 18:14
2
I would like to add that I have the same error - and the above does not solve the problem at all
– TellMeWhy
Oct 13 '15 at 9:35
3
If you're on a VM, the display is usuallyVirtual1
instead of VGA-0.
– CyberEd
Mar 22 '16 at 22:37
5
You need to replace VGA-0 with your monitor connection. Usexrandr --listmonitors
. See How to fix error 'xrandr: cannot find output “VGA1”'?
– Hooman
Mar 7 '18 at 5:27
21
21
The connected device might not be
VGA-0
. If you get the message xrandr: cannot find output "VGA-0"
, try running the following command: xrandr | grep -e " connected [^(]" | sed -e "s/([A-Z0-9]+) connected.*/1/"
(source: xrandr on ArchWiki). The output of that command should be the correct device identifier.– thirdender
Jul 9 '14 at 6:25
The connected device might not be
VGA-0
. If you get the message xrandr: cannot find output "VGA-0"
, try running the following command: xrandr | grep -e " connected [^(]" | sed -e "s/([A-Z0-9]+) connected.*/1/"
(source: xrandr on ArchWiki). The output of that command should be the correct device identifier.– thirdender
Jul 9 '14 at 6:25
10
10
You do not need sudo with xrandr
– Panther
Oct 12 '15 at 18:14
You do not need sudo with xrandr
– Panther
Oct 12 '15 at 18:14
2
2
I would like to add that I have the same error - and the above does not solve the problem at all
– TellMeWhy
Oct 13 '15 at 9:35
I would like to add that I have the same error - and the above does not solve the problem at all
– TellMeWhy
Oct 13 '15 at 9:35
3
3
If you're on a VM, the display is usually
Virtual1
instead of VGA-0.– CyberEd
Mar 22 '16 at 22:37
If you're on a VM, the display is usually
Virtual1
instead of VGA-0.– CyberEd
Mar 22 '16 at 22:37
5
5
You need to replace VGA-0 with your monitor connection. Use
xrandr --listmonitors
. See How to fix error 'xrandr: cannot find output “VGA1”'?– Hooman
Mar 7 '18 at 5:27
You need to replace VGA-0 with your monitor connection. Use
xrandr --listmonitors
. See How to fix error 'xrandr: cannot find output “VGA1”'?– Hooman
Mar 7 '18 at 5:27
|
show 9 more comments
How to set a custom resolution previously specified. After executing the other steps defined to create the resolution, run:
xrandr -s 1680x1050
add a comment
|
How to set a custom resolution previously specified. After executing the other steps defined to create the resolution, run:
xrandr -s 1680x1050
add a comment
|
How to set a custom resolution previously specified. After executing the other steps defined to create the resolution, run:
xrandr -s 1680x1050
How to set a custom resolution previously specified. After executing the other steps defined to create the resolution, run:
xrandr -s 1680x1050
edited Dec 27 '15 at 8:23
Eric Leschinski
1,6011 gold badge14 silver badges21 bronze badges
1,6011 gold badge14 silver badges21 bronze badges
answered Apr 25 '15 at 0:20
GuiRitterGuiRitter
2412 silver badges5 bronze badges
2412 silver badges5 bronze badges
add a comment
|
add a comment
|
How to set a custom resolution previously specified when running multiple monitors. After executing the other steps defined to create the resolution, run:
xrandr --output DVI-0 --mode 1680x1050
Replace DVI-0
with your device-id, e.g. VGA-0
add a comment
|
How to set a custom resolution previously specified when running multiple monitors. After executing the other steps defined to create the resolution, run:
xrandr --output DVI-0 --mode 1680x1050
Replace DVI-0
with your device-id, e.g. VGA-0
add a comment
|
How to set a custom resolution previously specified when running multiple monitors. After executing the other steps defined to create the resolution, run:
xrandr --output DVI-0 --mode 1680x1050
Replace DVI-0
with your device-id, e.g. VGA-0
How to set a custom resolution previously specified when running multiple monitors. After executing the other steps defined to create the resolution, run:
xrandr --output DVI-0 --mode 1680x1050
Replace DVI-0
with your device-id, e.g. VGA-0
answered Jul 3 '17 at 7:32
pokkiepokkie
1578 bronze badges
1578 bronze badges
add a comment
|
add a comment
|
Thanks to thom and thirdender this is basically a single command configuration based on the most voted answer.
RES="1920 1200 60" &&
DISP=$(xrandr | grep -e " connected [^(]" | sed -e "s/([A-Z0-9]+) connected.*/1/") &&
MODELINE=$(cvt $(echo $RES) | grep -e "Modeline [^(]" | sed -r 's/.*Modeline (.*)/1/') &&
MODERES=$(echo $MODELINE | grep -o -P '(?<=").*(?=")') &&
cat > ~/.xprofile << _EOF
#!/bin/sh
xrandr --newmode $MODELINE
xrandr --addmode $DISP $MODERES
_EOF
The above command will generate the desired ~/.xprofile
file. Just make sure you use the resolution (i.e. the RES
variable) of your liking. More info here.
add a comment
|
Thanks to thom and thirdender this is basically a single command configuration based on the most voted answer.
RES="1920 1200 60" &&
DISP=$(xrandr | grep -e " connected [^(]" | sed -e "s/([A-Z0-9]+) connected.*/1/") &&
MODELINE=$(cvt $(echo $RES) | grep -e "Modeline [^(]" | sed -r 's/.*Modeline (.*)/1/') &&
MODERES=$(echo $MODELINE | grep -o -P '(?<=").*(?=")') &&
cat > ~/.xprofile << _EOF
#!/bin/sh
xrandr --newmode $MODELINE
xrandr --addmode $DISP $MODERES
_EOF
The above command will generate the desired ~/.xprofile
file. Just make sure you use the resolution (i.e. the RES
variable) of your liking. More info here.
add a comment
|
Thanks to thom and thirdender this is basically a single command configuration based on the most voted answer.
RES="1920 1200 60" &&
DISP=$(xrandr | grep -e " connected [^(]" | sed -e "s/([A-Z0-9]+) connected.*/1/") &&
MODELINE=$(cvt $(echo $RES) | grep -e "Modeline [^(]" | sed -r 's/.*Modeline (.*)/1/') &&
MODERES=$(echo $MODELINE | grep -o -P '(?<=").*(?=")') &&
cat > ~/.xprofile << _EOF
#!/bin/sh
xrandr --newmode $MODELINE
xrandr --addmode $DISP $MODERES
_EOF
The above command will generate the desired ~/.xprofile
file. Just make sure you use the resolution (i.e. the RES
variable) of your liking. More info here.
Thanks to thom and thirdender this is basically a single command configuration based on the most voted answer.
RES="1920 1200 60" &&
DISP=$(xrandr | grep -e " connected [^(]" | sed -e "s/([A-Z0-9]+) connected.*/1/") &&
MODELINE=$(cvt $(echo $RES) | grep -e "Modeline [^(]" | sed -r 's/.*Modeline (.*)/1/') &&
MODERES=$(echo $MODELINE | grep -o -P '(?<=").*(?=")') &&
cat > ~/.xprofile << _EOF
#!/bin/sh
xrandr --newmode $MODELINE
xrandr --addmode $DISP $MODERES
_EOF
The above command will generate the desired ~/.xprofile
file. Just make sure you use the resolution (i.e. the RES
variable) of your liking. More info here.
edited Nov 20 '18 at 11:18
answered Oct 8 '18 at 13:15
TanasisTanasis
2511 silver badge5 bronze badges
2511 silver badge5 bronze badges
add a comment
|
add a comment
|
protected by Community♦ Jun 15 '18 at 18:24
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?