How do I change the screen resolution using Ubuntu command line?












37















I installed Ubuntu and the resolution of the desktop is so big that it only shows about 50% of the screen, but is shows up normal while using command line.



What should I type in the command line to change the desktop screen resolution?










share|improve this question

























  • Follow the procedures mentioned in this answer and tell us if that method solve your problem.

    – Lucio
    Apr 14 '13 at 21:09











  • What do you mean by "while using command line"? That is, when and how to you get to the command line?

    – Tanel Mae
    Apr 14 '13 at 21:29











  • wiki.ubuntu.com/X/Config/Resolution

    – rɑːdʒɑ
    Apr 15 '13 at 14:06
















37















I installed Ubuntu and the resolution of the desktop is so big that it only shows about 50% of the screen, but is shows up normal while using command line.



What should I type in the command line to change the desktop screen resolution?










share|improve this question

























  • Follow the procedures mentioned in this answer and tell us if that method solve your problem.

    – Lucio
    Apr 14 '13 at 21:09











  • What do you mean by "while using command line"? That is, when and how to you get to the command line?

    – Tanel Mae
    Apr 14 '13 at 21:29











  • wiki.ubuntu.com/X/Config/Resolution

    – rɑːdʒɑ
    Apr 15 '13 at 14:06














37












37








37


11






I installed Ubuntu and the resolution of the desktop is so big that it only shows about 50% of the screen, but is shows up normal while using command line.



What should I type in the command line to change the desktop screen resolution?










share|improve this question
















I installed Ubuntu and the resolution of the desktop is so big that it only shows about 50% of the screen, but is shows up normal while using command line.



What should I type in the command line to change the desktop screen resolution?







command-line screen display-resolution






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 26 '17 at 6:36









Community

1




1










asked Apr 14 '13 at 20:46









CollinCollin

186123




186123













  • Follow the procedures mentioned in this answer and tell us if that method solve your problem.

    – Lucio
    Apr 14 '13 at 21:09











  • What do you mean by "while using command line"? That is, when and how to you get to the command line?

    – Tanel Mae
    Apr 14 '13 at 21:29











  • wiki.ubuntu.com/X/Config/Resolution

    – rɑːdʒɑ
    Apr 15 '13 at 14:06



















  • Follow the procedures mentioned in this answer and tell us if that method solve your problem.

    – Lucio
    Apr 14 '13 at 21:09











  • What do you mean by "while using command line"? That is, when and how to you get to the command line?

    – Tanel Mae
    Apr 14 '13 at 21:29











  • wiki.ubuntu.com/X/Config/Resolution

    – rɑːdʒɑ
    Apr 15 '13 at 14:06

















Follow the procedures mentioned in this answer and tell us if that method solve your problem.

– Lucio
Apr 14 '13 at 21:09





Follow the procedures mentioned in this answer and tell us if that method solve your problem.

– Lucio
Apr 14 '13 at 21:09













What do you mean by "while using command line"? That is, when and how to you get to the command line?

– Tanel Mae
Apr 14 '13 at 21:29





What do you mean by "while using command line"? That is, when and how to you get to the command line?

– Tanel Mae
Apr 14 '13 at 21:29













wiki.ubuntu.com/X/Config/Resolution

– rɑːdʒɑ
Apr 15 '13 at 14:06





wiki.ubuntu.com/X/Config/Resolution

– rɑːdʒɑ
Apr 15 '13 at 14:06










4 Answers
4






active

oldest

votes


















33














This worked for me:



Enumerate the names of all your video outputs, and the possible resolutions for those currently connected to a monitor:



xrandr -q


Choose the name of the output you wish to change the resolution of, and:



xrandr --output <OUTPUT> --mode 1024x768


Note: If running from a text terminal, that is not running in gfx environment, you'll have to add a -d :0 parameter, i.e:



xrandr -d :0 -q
xrandr -d :0 --output <OUTPUT> --mode 1024x768





share|improve this answer





















  • 5





    There was an warning saying VGA1 or LVDS not found

    – Ramana Reddy
    Oct 4 '15 at 14:55











  • lookup the screen after first comment, choose the profile appear in the screen

    – Hoai-Thu Vuong
    Jul 12 '16 at 18:48






  • 1





    xrandr --output `xrandr | grep " connected"|cut -f1 -d" "` --mode 1920x1080 if you want a one-liner that auto-detects output.

    – exebook
    Nov 3 '16 at 20:18





















14














Change screen resolution:



Create a new resolution using cvt



$> cvt 1600 900 75
1600x900 74.89 Hz (CVT 1.44M9) hsync: 70.55 kHz; pclk: 151.25 MHz
Modeline "1600x900_75.00" 151.25 1600 1704 1872 2144 900 903 908 942 -hsync +vsync


Add a new mode to the existing list (newmode is the name and remaining portion is )



$ sudo xrandr --newmode "1600x900_75.00"  151.25  1600 1704 1872 2144  900 903 908 942 -hsync +vsync


Find the current display



$ xrandr | grep -e " connected [^(]" | sed -e "s/([A-Z0-9]+) connected.*/1/"
Virtual1


Add new display mode where is the output from the previous command



$ sudo xrandr --addmode <Virtual1> 1600x900_75.00


This will add the new resolution to your existing list of supported resolutions. You can then choose the right option from the "display settings" or following command



$ xrandr --output Virtual1 --mode "1600x900_75.00"


To make this change permanent,



$ cat> ~/.xprofile
sudo xrandr --newmode "1600x900_75.00" 151.25 1600 1704 1872 2144 900 903 908 942 -hsync +vsync
sudo xrandr --addmode Virtual1 1600x900_75.00
xrandr --output Virtual1 --mode "1600x900_75.00"





share|improve this answer
























  • Thanks a lot. I thought the cable didn't support it!

    – Simon Baars
    Aug 30 '18 at 18:42



















6














I know it is an old question but for me the simple stuff was to do



$ xrandr -q

SZ: Pixels Physical Refresh
0 1024 x 768 ( 271mm x 201mm ) 75 70 60
1 800 x 600 ( 271mm x 201mm ) 85 75 72 60 56
2 640 x 480 ( 271mm x 201mm ) 85 75 72 60
*3 832 x 624 ( 271mm x 201mm ) *74
4 720 x 400 ( 271mm x 201mm ) 85
5 640 x 400 ( 271mm x 201mm ) 85
6 640 x 350 ( 271mm x 201mm ) 85


Or something equivalent. The * marks the screen resolution currently used. To change it to one of the supported resolutions from the list above simply:



xandr -s 800x600


and the resolution is changed.



Tested on Ubuntu 14.04



Update



Sometimes when there is a lot of refresh rates (the numbers to the right in the above sample results from xrandr -q), you need to specify the refresh rate. In that case you should write:



xandr -s 800x600 -r 85


Finally



If you have multiple outputs on your board or the device is not reacting then you can extend the above line with output,the value for the output is still found with xrandr -q, in my case HDMI-0. The line therefore becomes:



xandr -s 800x600 -r 85 --output HDMI-0





share|improve this answer





















  • 1





    worked fine with me in suse

    – ofarouk
    Nov 7 '16 at 13:05



















2
















  1. Run xrandr -q | grep "connected primary"



    This command shows all connected devices--feel free to not grep to see the list. HDMI-0 connected primary 1920x1080+0+0 means that my primary display is called "HDMI-0". Use that in the following command:




  2. xrandr --output HDMI-0 --auto



    If you have a specific desired resolution, use, for example:



    xrandr --output HDMI-0 --mode 1920x1080



    For more information, see the wiki








share|improve this answer






















    protected by Community Sep 11 '18 at 0:30



    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









    33














    This worked for me:



    Enumerate the names of all your video outputs, and the possible resolutions for those currently connected to a monitor:



    xrandr -q


    Choose the name of the output you wish to change the resolution of, and:



    xrandr --output <OUTPUT> --mode 1024x768


    Note: If running from a text terminal, that is not running in gfx environment, you'll have to add a -d :0 parameter, i.e:



    xrandr -d :0 -q
    xrandr -d :0 --output <OUTPUT> --mode 1024x768





    share|improve this answer





















    • 5





      There was an warning saying VGA1 or LVDS not found

      – Ramana Reddy
      Oct 4 '15 at 14:55











    • lookup the screen after first comment, choose the profile appear in the screen

      – Hoai-Thu Vuong
      Jul 12 '16 at 18:48






    • 1





      xrandr --output `xrandr | grep " connected"|cut -f1 -d" "` --mode 1920x1080 if you want a one-liner that auto-detects output.

      – exebook
      Nov 3 '16 at 20:18


















    33














    This worked for me:



    Enumerate the names of all your video outputs, and the possible resolutions for those currently connected to a monitor:



    xrandr -q


    Choose the name of the output you wish to change the resolution of, and:



    xrandr --output <OUTPUT> --mode 1024x768


    Note: If running from a text terminal, that is not running in gfx environment, you'll have to add a -d :0 parameter, i.e:



    xrandr -d :0 -q
    xrandr -d :0 --output <OUTPUT> --mode 1024x768





    share|improve this answer





















    • 5





      There was an warning saying VGA1 or LVDS not found

      – Ramana Reddy
      Oct 4 '15 at 14:55











    • lookup the screen after first comment, choose the profile appear in the screen

      – Hoai-Thu Vuong
      Jul 12 '16 at 18:48






    • 1





      xrandr --output `xrandr | grep " connected"|cut -f1 -d" "` --mode 1920x1080 if you want a one-liner that auto-detects output.

      – exebook
      Nov 3 '16 at 20:18
















    33












    33








    33







    This worked for me:



    Enumerate the names of all your video outputs, and the possible resolutions for those currently connected to a monitor:



    xrandr -q


    Choose the name of the output you wish to change the resolution of, and:



    xrandr --output <OUTPUT> --mode 1024x768


    Note: If running from a text terminal, that is not running in gfx environment, you'll have to add a -d :0 parameter, i.e:



    xrandr -d :0 -q
    xrandr -d :0 --output <OUTPUT> --mode 1024x768





    share|improve this answer















    This worked for me:



    Enumerate the names of all your video outputs, and the possible resolutions for those currently connected to a monitor:



    xrandr -q


    Choose the name of the output you wish to change the resolution of, and:



    xrandr --output <OUTPUT> --mode 1024x768


    Note: If running from a text terminal, that is not running in gfx environment, you'll have to add a -d :0 parameter, i.e:



    xrandr -d :0 -q
    xrandr -d :0 --output <OUTPUT> --mode 1024x768






    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Jul 13 '17 at 13:24









    Jonathan Hartley

    575613




    575613










    answered Jan 2 '14 at 1:59









    David BalažicDavid Balažic

    44847




    44847








    • 5





      There was an warning saying VGA1 or LVDS not found

      – Ramana Reddy
      Oct 4 '15 at 14:55











    • lookup the screen after first comment, choose the profile appear in the screen

      – Hoai-Thu Vuong
      Jul 12 '16 at 18:48






    • 1





      xrandr --output `xrandr | grep " connected"|cut -f1 -d" "` --mode 1920x1080 if you want a one-liner that auto-detects output.

      – exebook
      Nov 3 '16 at 20:18
















    • 5





      There was an warning saying VGA1 or LVDS not found

      – Ramana Reddy
      Oct 4 '15 at 14:55











    • lookup the screen after first comment, choose the profile appear in the screen

      – Hoai-Thu Vuong
      Jul 12 '16 at 18:48






    • 1





      xrandr --output `xrandr | grep " connected"|cut -f1 -d" "` --mode 1920x1080 if you want a one-liner that auto-detects output.

      – exebook
      Nov 3 '16 at 20:18










    5




    5





    There was an warning saying VGA1 or LVDS not found

    – Ramana Reddy
    Oct 4 '15 at 14:55





    There was an warning saying VGA1 or LVDS not found

    – Ramana Reddy
    Oct 4 '15 at 14:55













    lookup the screen after first comment, choose the profile appear in the screen

    – Hoai-Thu Vuong
    Jul 12 '16 at 18:48





    lookup the screen after first comment, choose the profile appear in the screen

    – Hoai-Thu Vuong
    Jul 12 '16 at 18:48




    1




    1





    xrandr --output `xrandr | grep " connected"|cut -f1 -d" "` --mode 1920x1080 if you want a one-liner that auto-detects output.

    – exebook
    Nov 3 '16 at 20:18







    xrandr --output `xrandr | grep " connected"|cut -f1 -d" "` --mode 1920x1080 if you want a one-liner that auto-detects output.

    – exebook
    Nov 3 '16 at 20:18















    14














    Change screen resolution:



    Create a new resolution using cvt



    $> cvt 1600 900 75
    1600x900 74.89 Hz (CVT 1.44M9) hsync: 70.55 kHz; pclk: 151.25 MHz
    Modeline "1600x900_75.00" 151.25 1600 1704 1872 2144 900 903 908 942 -hsync +vsync


    Add a new mode to the existing list (newmode is the name and remaining portion is )



    $ sudo xrandr --newmode "1600x900_75.00"  151.25  1600 1704 1872 2144  900 903 908 942 -hsync +vsync


    Find the current display



    $ xrandr | grep -e " connected [^(]" | sed -e "s/([A-Z0-9]+) connected.*/1/"
    Virtual1


    Add new display mode where is the output from the previous command



    $ sudo xrandr --addmode <Virtual1> 1600x900_75.00


    This will add the new resolution to your existing list of supported resolutions. You can then choose the right option from the "display settings" or following command



    $ xrandr --output Virtual1 --mode "1600x900_75.00"


    To make this change permanent,



    $ cat> ~/.xprofile
    sudo xrandr --newmode "1600x900_75.00" 151.25 1600 1704 1872 2144 900 903 908 942 -hsync +vsync
    sudo xrandr --addmode Virtual1 1600x900_75.00
    xrandr --output Virtual1 --mode "1600x900_75.00"





    share|improve this answer
























    • Thanks a lot. I thought the cable didn't support it!

      – Simon Baars
      Aug 30 '18 at 18:42
















    14














    Change screen resolution:



    Create a new resolution using cvt



    $> cvt 1600 900 75
    1600x900 74.89 Hz (CVT 1.44M9) hsync: 70.55 kHz; pclk: 151.25 MHz
    Modeline "1600x900_75.00" 151.25 1600 1704 1872 2144 900 903 908 942 -hsync +vsync


    Add a new mode to the existing list (newmode is the name and remaining portion is )



    $ sudo xrandr --newmode "1600x900_75.00"  151.25  1600 1704 1872 2144  900 903 908 942 -hsync +vsync


    Find the current display



    $ xrandr | grep -e " connected [^(]" | sed -e "s/([A-Z0-9]+) connected.*/1/"
    Virtual1


    Add new display mode where is the output from the previous command



    $ sudo xrandr --addmode <Virtual1> 1600x900_75.00


    This will add the new resolution to your existing list of supported resolutions. You can then choose the right option from the "display settings" or following command



    $ xrandr --output Virtual1 --mode "1600x900_75.00"


    To make this change permanent,



    $ cat> ~/.xprofile
    sudo xrandr --newmode "1600x900_75.00" 151.25 1600 1704 1872 2144 900 903 908 942 -hsync +vsync
    sudo xrandr --addmode Virtual1 1600x900_75.00
    xrandr --output Virtual1 --mode "1600x900_75.00"





    share|improve this answer
























    • Thanks a lot. I thought the cable didn't support it!

      – Simon Baars
      Aug 30 '18 at 18:42














    14












    14








    14







    Change screen resolution:



    Create a new resolution using cvt



    $> cvt 1600 900 75
    1600x900 74.89 Hz (CVT 1.44M9) hsync: 70.55 kHz; pclk: 151.25 MHz
    Modeline "1600x900_75.00" 151.25 1600 1704 1872 2144 900 903 908 942 -hsync +vsync


    Add a new mode to the existing list (newmode is the name and remaining portion is )



    $ sudo xrandr --newmode "1600x900_75.00"  151.25  1600 1704 1872 2144  900 903 908 942 -hsync +vsync


    Find the current display



    $ xrandr | grep -e " connected [^(]" | sed -e "s/([A-Z0-9]+) connected.*/1/"
    Virtual1


    Add new display mode where is the output from the previous command



    $ sudo xrandr --addmode <Virtual1> 1600x900_75.00


    This will add the new resolution to your existing list of supported resolutions. You can then choose the right option from the "display settings" or following command



    $ xrandr --output Virtual1 --mode "1600x900_75.00"


    To make this change permanent,



    $ cat> ~/.xprofile
    sudo xrandr --newmode "1600x900_75.00" 151.25 1600 1704 1872 2144 900 903 908 942 -hsync +vsync
    sudo xrandr --addmode Virtual1 1600x900_75.00
    xrandr --output Virtual1 --mode "1600x900_75.00"





    share|improve this answer













    Change screen resolution:



    Create a new resolution using cvt



    $> cvt 1600 900 75
    1600x900 74.89 Hz (CVT 1.44M9) hsync: 70.55 kHz; pclk: 151.25 MHz
    Modeline "1600x900_75.00" 151.25 1600 1704 1872 2144 900 903 908 942 -hsync +vsync


    Add a new mode to the existing list (newmode is the name and remaining portion is )



    $ sudo xrandr --newmode "1600x900_75.00"  151.25  1600 1704 1872 2144  900 903 908 942 -hsync +vsync


    Find the current display



    $ xrandr | grep -e " connected [^(]" | sed -e "s/([A-Z0-9]+) connected.*/1/"
    Virtual1


    Add new display mode where is the output from the previous command



    $ sudo xrandr --addmode <Virtual1> 1600x900_75.00


    This will add the new resolution to your existing list of supported resolutions. You can then choose the right option from the "display settings" or following command



    $ xrandr --output Virtual1 --mode "1600x900_75.00"


    To make this change permanent,



    $ cat> ~/.xprofile
    sudo xrandr --newmode "1600x900_75.00" 151.25 1600 1704 1872 2144 900 903 908 942 -hsync +vsync
    sudo xrandr --addmode Virtual1 1600x900_75.00
    xrandr --output Virtual1 --mode "1600x900_75.00"






    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Aug 26 '16 at 8:36









    Ashwini KumarAshwini Kumar

    14112




    14112













    • Thanks a lot. I thought the cable didn't support it!

      – Simon Baars
      Aug 30 '18 at 18:42



















    • Thanks a lot. I thought the cable didn't support it!

      – Simon Baars
      Aug 30 '18 at 18:42

















    Thanks a lot. I thought the cable didn't support it!

    – Simon Baars
    Aug 30 '18 at 18:42





    Thanks a lot. I thought the cable didn't support it!

    – Simon Baars
    Aug 30 '18 at 18:42











    6














    I know it is an old question but for me the simple stuff was to do



    $ xrandr -q

    SZ: Pixels Physical Refresh
    0 1024 x 768 ( 271mm x 201mm ) 75 70 60
    1 800 x 600 ( 271mm x 201mm ) 85 75 72 60 56
    2 640 x 480 ( 271mm x 201mm ) 85 75 72 60
    *3 832 x 624 ( 271mm x 201mm ) *74
    4 720 x 400 ( 271mm x 201mm ) 85
    5 640 x 400 ( 271mm x 201mm ) 85
    6 640 x 350 ( 271mm x 201mm ) 85


    Or something equivalent. The * marks the screen resolution currently used. To change it to one of the supported resolutions from the list above simply:



    xandr -s 800x600


    and the resolution is changed.



    Tested on Ubuntu 14.04



    Update



    Sometimes when there is a lot of refresh rates (the numbers to the right in the above sample results from xrandr -q), you need to specify the refresh rate. In that case you should write:



    xandr -s 800x600 -r 85


    Finally



    If you have multiple outputs on your board or the device is not reacting then you can extend the above line with output,the value for the output is still found with xrandr -q, in my case HDMI-0. The line therefore becomes:



    xandr -s 800x600 -r 85 --output HDMI-0





    share|improve this answer





















    • 1





      worked fine with me in suse

      – ofarouk
      Nov 7 '16 at 13:05
















    6














    I know it is an old question but for me the simple stuff was to do



    $ xrandr -q

    SZ: Pixels Physical Refresh
    0 1024 x 768 ( 271mm x 201mm ) 75 70 60
    1 800 x 600 ( 271mm x 201mm ) 85 75 72 60 56
    2 640 x 480 ( 271mm x 201mm ) 85 75 72 60
    *3 832 x 624 ( 271mm x 201mm ) *74
    4 720 x 400 ( 271mm x 201mm ) 85
    5 640 x 400 ( 271mm x 201mm ) 85
    6 640 x 350 ( 271mm x 201mm ) 85


    Or something equivalent. The * marks the screen resolution currently used. To change it to one of the supported resolutions from the list above simply:



    xandr -s 800x600


    and the resolution is changed.



    Tested on Ubuntu 14.04



    Update



    Sometimes when there is a lot of refresh rates (the numbers to the right in the above sample results from xrandr -q), you need to specify the refresh rate. In that case you should write:



    xandr -s 800x600 -r 85


    Finally



    If you have multiple outputs on your board or the device is not reacting then you can extend the above line with output,the value for the output is still found with xrandr -q, in my case HDMI-0. The line therefore becomes:



    xandr -s 800x600 -r 85 --output HDMI-0





    share|improve this answer





















    • 1





      worked fine with me in suse

      – ofarouk
      Nov 7 '16 at 13:05














    6












    6








    6







    I know it is an old question but for me the simple stuff was to do



    $ xrandr -q

    SZ: Pixels Physical Refresh
    0 1024 x 768 ( 271mm x 201mm ) 75 70 60
    1 800 x 600 ( 271mm x 201mm ) 85 75 72 60 56
    2 640 x 480 ( 271mm x 201mm ) 85 75 72 60
    *3 832 x 624 ( 271mm x 201mm ) *74
    4 720 x 400 ( 271mm x 201mm ) 85
    5 640 x 400 ( 271mm x 201mm ) 85
    6 640 x 350 ( 271mm x 201mm ) 85


    Or something equivalent. The * marks the screen resolution currently used. To change it to one of the supported resolutions from the list above simply:



    xandr -s 800x600


    and the resolution is changed.



    Tested on Ubuntu 14.04



    Update



    Sometimes when there is a lot of refresh rates (the numbers to the right in the above sample results from xrandr -q), you need to specify the refresh rate. In that case you should write:



    xandr -s 800x600 -r 85


    Finally



    If you have multiple outputs on your board or the device is not reacting then you can extend the above line with output,the value for the output is still found with xrandr -q, in my case HDMI-0. The line therefore becomes:



    xandr -s 800x600 -r 85 --output HDMI-0





    share|improve this answer















    I know it is an old question but for me the simple stuff was to do



    $ xrandr -q

    SZ: Pixels Physical Refresh
    0 1024 x 768 ( 271mm x 201mm ) 75 70 60
    1 800 x 600 ( 271mm x 201mm ) 85 75 72 60 56
    2 640 x 480 ( 271mm x 201mm ) 85 75 72 60
    *3 832 x 624 ( 271mm x 201mm ) *74
    4 720 x 400 ( 271mm x 201mm ) 85
    5 640 x 400 ( 271mm x 201mm ) 85
    6 640 x 350 ( 271mm x 201mm ) 85


    Or something equivalent. The * marks the screen resolution currently used. To change it to one of the supported resolutions from the list above simply:



    xandr -s 800x600


    and the resolution is changed.



    Tested on Ubuntu 14.04



    Update



    Sometimes when there is a lot of refresh rates (the numbers to the right in the above sample results from xrandr -q), you need to specify the refresh rate. In that case you should write:



    xandr -s 800x600 -r 85


    Finally



    If you have multiple outputs on your board or the device is not reacting then you can extend the above line with output,the value for the output is still found with xrandr -q, in my case HDMI-0. The line therefore becomes:



    xandr -s 800x600 -r 85 --output HDMI-0






    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Nov 29 '17 at 20:02









    Pablo Bianchi

    2,94521535




    2,94521535










    answered Oct 14 '16 at 9:38









    JTIMJTIM

    19116




    19116








    • 1





      worked fine with me in suse

      – ofarouk
      Nov 7 '16 at 13:05














    • 1





      worked fine with me in suse

      – ofarouk
      Nov 7 '16 at 13:05








    1




    1





    worked fine with me in suse

    – ofarouk
    Nov 7 '16 at 13:05





    worked fine with me in suse

    – ofarouk
    Nov 7 '16 at 13:05











    2
















    1. Run xrandr -q | grep "connected primary"



      This command shows all connected devices--feel free to not grep to see the list. HDMI-0 connected primary 1920x1080+0+0 means that my primary display is called "HDMI-0". Use that in the following command:




    2. xrandr --output HDMI-0 --auto



      If you have a specific desired resolution, use, for example:



      xrandr --output HDMI-0 --mode 1920x1080



      For more information, see the wiki








    share|improve this answer




























      2
















      1. Run xrandr -q | grep "connected primary"



        This command shows all connected devices--feel free to not grep to see the list. HDMI-0 connected primary 1920x1080+0+0 means that my primary display is called "HDMI-0". Use that in the following command:




      2. xrandr --output HDMI-0 --auto



        If you have a specific desired resolution, use, for example:



        xrandr --output HDMI-0 --mode 1920x1080



        For more information, see the wiki








      share|improve this answer


























        2












        2








        2









        1. Run xrandr -q | grep "connected primary"



          This command shows all connected devices--feel free to not grep to see the list. HDMI-0 connected primary 1920x1080+0+0 means that my primary display is called "HDMI-0". Use that in the following command:




        2. xrandr --output HDMI-0 --auto



          If you have a specific desired resolution, use, for example:



          xrandr --output HDMI-0 --mode 1920x1080



          For more information, see the wiki








        share|improve this answer















        1. Run xrandr -q | grep "connected primary"



          This command shows all connected devices--feel free to not grep to see the list. HDMI-0 connected primary 1920x1080+0+0 means that my primary display is called "HDMI-0". Use that in the following command:




        2. xrandr --output HDMI-0 --auto



          If you have a specific desired resolution, use, for example:



          xrandr --output HDMI-0 --mode 1920x1080



          For more information, see the wiki









        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Sep 24 '16 at 2:52









        WolfWolf

        7571719




        7571719

















            protected by Community Sep 11 '18 at 0:30



            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?



            Popular posts from this blog

            數位音樂下載

            格利澤436b

            When can things happen in Etherscan, such as the picture below?