How can I get my laptop's monitor size?How to get the right DPI resolution on Ubuntu 13.04 Saucy?understanding details of xrandrUnable to detect monitor: “Failed to get size of gamma for output default”How can I make PDFs appear life-size when displayed at 100%?Trouble with external monitor in 11.10Can't detect external monitor with a SiS671 video cardUbuntu 12.10 Dual Monitor setup - ATI Radeon 4000series. Virtual size of 800x600 is actually trying for 2Monitor OptionsCan I use my laptop as a second monitor for my desktop?Which laptop for Ubuntu 16.04 with 4k external monitor?Font size changes after running xrandr --offUbuntu 17.10, logs out when monitor is detached

how do we prove that a sum of two periods is still a period?

Different meanings of こわい

One verb to replace 'be a member of' a club

How can I deal with my CEO asking me to hire someone with a higher salary than me, a co-founder?

Implication of namely

How to find if SQL server backup is encrypted with TDE without restoring the backup

Does int main() need a declaration on C++?

Can a virus destroy the BIOS of a modern computer?

What's the meaning of "Sollensaussagen"?

Avoiding the "not like other girls" trope?

How exploitable/balanced is this homebrew spell: Spell Permanency?

What historical events would have to change in order to make 19th century "steampunk" technology possible?

Why didn't Boeing produce its own regional jet?

Why was Sir Cadogan fired?

In the UK, is it possible to get a referendum by a court decision?

Finding the error in an argument

Send out email when Apex Queueable fails and test it

How could indestructible materials be used in power generation?

What is required to make GPS signals available indoors?

Can compressed videos be decoded back to their uncompresed original format?

What are the G forces leaving Earth orbit?

Why is the sentence "Das ist eine Nase" correct?

Did 'Cinema Songs' exist during Hiranyakshipu's time?

How to prevent "they're falling in love" trope



How can I get my laptop's monitor size?


How to get the right DPI resolution on Ubuntu 13.04 Saucy?understanding details of xrandrUnable to detect monitor: “Failed to get size of gamma for output default”How can I make PDFs appear life-size when displayed at 100%?Trouble with external monitor in 11.10Can't detect external monitor with a SiS671 video cardUbuntu 12.10 Dual Monitor setup - ATI Radeon 4000series. Virtual size of 800x600 is actually trying for 2Monitor OptionsCan I use my laptop as a second monitor for my desktop?Which laptop for Ubuntu 16.04 with 4k external monitor?Font size changes after running xrandr --offUbuntu 17.10, logs out when monitor is detached













34















What is the Ubuntu linux command to find laptop monitor size? I want to know in inches if possible.



Thanks










share|improve this question
























  • Hi user111, please see this: meta.askubuntu.com/q/15051/72216. Could you at least provide some feedback?

    – Jacob Vlijm
    Feb 23 '16 at 20:51















34















What is the Ubuntu linux command to find laptop monitor size? I want to know in inches if possible.



Thanks










share|improve this question
























  • Hi user111, please see this: meta.askubuntu.com/q/15051/72216. Could you at least provide some feedback?

    – Jacob Vlijm
    Feb 23 '16 at 20:51













34












34








34


8






What is the Ubuntu linux command to find laptop monitor size? I want to know in inches if possible.



Thanks










share|improve this question
















What is the Ubuntu linux command to find laptop monitor size? I want to know in inches if possible.



Thanks







monitor






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 18 '16 at 8:43









Jacob Vlijm

65.9k9130228




65.9k9130228










asked Feb 18 '16 at 7:47









user111user111

201149




201149












  • Hi user111, please see this: meta.askubuntu.com/q/15051/72216. Could you at least provide some feedback?

    – Jacob Vlijm
    Feb 23 '16 at 20:51

















  • Hi user111, please see this: meta.askubuntu.com/q/15051/72216. Could you at least provide some feedback?

    – Jacob Vlijm
    Feb 23 '16 at 20:51
















Hi user111, please see this: meta.askubuntu.com/q/15051/72216. Could you at least provide some feedback?

– Jacob Vlijm
Feb 23 '16 at 20:51





Hi user111, please see this: meta.askubuntu.com/q/15051/72216. Could you at least provide some feedback?

– Jacob Vlijm
Feb 23 '16 at 20:51










4 Answers
4






active

oldest

votes


















40














Another option, using xrandr, is the command:



xrandr | grep ' connected'


Output:



DVI-I-1 connected primary 1680x1050+0+0 (normal left inverted right x axis y axis) 473mm x 296mm
VGA-1 connected 1280x1024+1680+0 (normal left inverted right x axis y axis) 376mm x 301mm


(mind the space before connected, else disconnected will be included)



Important differences between xdpyinfo and xrandr



  • While xrandr lists screens separately (in case of multiple monitors), xdpyinfo outputs one single set of dimensions for all screens together ("desktop size" instead of screen size)


  • As noticed by @agold there is (quite) a difference between the two, which seems too big to be a simple rounding difference:



    xrandr: 473mm x 296mm
    xdpyinfo: 445x278


It seems related to a bug in xdpyinfo. See also here.



If you'd insist on inches



Use the small script below; it outputs the size of your screen(s) in inches; width / height / diagonal (inches)



#!/usr/bin/env python3
import subprocess
# change the round factor if you like
r = 1

screens = [l.split()[-3:] for l in subprocess.check_output(
["xrandr"]).decode("utf-8").strip().splitlines() if " connected" in l]

for s in screens:
w = float(s[0].replace("mm", "")); h = float(s[2].replace("mm", "")); d = ((w**2)+(h**2))**(0.5)
print([round(n/25.4, r) for n in [w, h, d]])


To use it:



Copy the script into an empty file, save it as get_dimensions.py, run it by the command:



python3 /path/to/get_dimensions.py


Output on my two screens:



width - height - diagonal (inches)

[18.6, 11.7, 22.0]
[14.8, 11.9, 19.0]






Edit



Fancy version of the same script (with a few improvements and a nicer output), looking like:



Screen width height diagonal
--------------------------------
DVI-I-1 18.6 11.7 22.0
VGA-1 14.8 11.9 19.0


The script:



#!/usr/bin/env python3
import subprocess
# change the round factor if you like
r = 1

screens = [l.split() for l in subprocess.check_output(
["xrandr"]).decode("utf-8").strip().splitlines() if " connected" in l]

scr_data = []
for s in screens:
try:
scr_data.append((
s[0],
float(s[-3].replace("mm", "")),
float(s[-1].replace("mm", ""))
))
except ValueError:
pass

print(("t").join(["Screen", "width", "height", "diagonaln"+32*"-"]))
for s in scr_data:
scr = s[0]; w = s[1]/25.4; h = s[2]/25.4; d = ((w**2)+(h**2))**(0.5)
print(("t").join([scr]+[str(round(n, 1)) for n in [w, h, d]]))





share|improve this answer

























  • Just a side note, but both answers give me different results: xdpyinfo gives me "474x303 millimeters", and xrandr "473mm x 296mm".

    – agold
    Feb 18 '16 at 8:51






  • 1





    @agold Now that is interesting. A rounding difference. Another interesting thing is that xdpyinfo outputs the desktop size (both screens), not the screen's size!

    – Jacob Vlijm
    Feb 18 '16 at 8:54












  • @agold the difference is way too big for a rounding difference!! See my edit.

    – Jacob Vlijm
    Feb 18 '16 at 9:10












  • yes, it is quite big, but how do these programs get this information? Is it some meta information coming from the monitor, or is it estimated based on some other parameters...?

    – agold
    Feb 18 '16 at 9:13











  • @agold It seems to be related to a bug in xdpyinfo: bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/201491 ALthough the report is quite old, I don't see it fixed. Also see: bbs.archlinux.org/viewtopic.php?id=204823

    – Jacob Vlijm
    Feb 18 '16 at 9:21



















13














Just in case you want a more general answer, you can cut the the gordian knot, and use a non-geeky physical ruler for that. As per this wiki, the "size of a screen is usually described by the length of its diagonal":



enter image description here



If you have a ruler that only displays centimeters, you can use the simple conversion:



1 cm = 0.393701 in
(or 2.54 cm = 1 in)


So if your ruler measures 30 centimeters, your screen is 11.811 inches. You can also use google with a query of the form 30 cm to in.




Image credits: https://en.wikipedia.org/wiki/File:Display_size_measurements.png






share|improve this answer

























  • Ask Ubuntu is a site for Software solutions, so your answer is a bit off-topic here... On the other hand, it's correct, well written, very readable and funny! :-) So upvoted!

    – Fabby
    Feb 22 '16 at 13:21






  • 1





    @dn-ʞɔɐqɹW: Actually, it's based on a mistake on my side. I read the question, "How can I get my laptop's monitor size?", and my first thought was "well, with a ruler", and before reading the complete question, I had my answer carved out the stone block.

    – phresnel
    Feb 22 '16 at 14:00











  • As a side note, one inch equals 25.4 mm exactly.

    – Paddy Landau
    Feb 22 '16 at 22:54


















6














Xdpyinfo is a utility for displaying information about an X server. It is used to examine the capabilities of a server, the predefined values for various parameters used in communicating between clients and the server, and the different types of screens and visuals that are available.



The command to get the monitor size is:



xdpyinfo | grep dimensions


Result



dimensions: 1366x768 pixels (361x203 millimeters)





share|improve this answer




















  • 1





    Hi Parto, I really like your answer +1, however, look here: bbs.archlinux.org/viewtopic.php?id=204823 there is a huge difference in the dimensions xdpyinfo reports and xrandr.

    – Jacob Vlijm
    Feb 18 '16 at 9:19











  • @Jacob Something interesting - askubuntu.com/questions/378386/…

    – Parto
    Feb 18 '16 at 9:25






  • 1





    When measuring with a good old physical quality tape-measure, I get on my screen pretty much exactly the output of xrandr: 473mm, while xdpyinfo reports way too short (445mm). This question turns out to be more interesting then OP assumed I guess :)

    – Jacob Vlijm
    Feb 18 '16 at 9:32



















0














Hi Friends you can get Complete Details Step by Step in easy words ...
How To Check Laptop Screen Size





share








New contributor




AdMob Booster is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "89"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f736113%2fhow-can-i-get-my-laptops-monitor-size%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    4 Answers
    4






    active

    oldest

    votes








    4 Answers
    4






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    40














    Another option, using xrandr, is the command:



    xrandr | grep ' connected'


    Output:



    DVI-I-1 connected primary 1680x1050+0+0 (normal left inverted right x axis y axis) 473mm x 296mm
    VGA-1 connected 1280x1024+1680+0 (normal left inverted right x axis y axis) 376mm x 301mm


    (mind the space before connected, else disconnected will be included)



    Important differences between xdpyinfo and xrandr



    • While xrandr lists screens separately (in case of multiple monitors), xdpyinfo outputs one single set of dimensions for all screens together ("desktop size" instead of screen size)


    • As noticed by @agold there is (quite) a difference between the two, which seems too big to be a simple rounding difference:



      xrandr: 473mm x 296mm
      xdpyinfo: 445x278


    It seems related to a bug in xdpyinfo. See also here.



    If you'd insist on inches



    Use the small script below; it outputs the size of your screen(s) in inches; width / height / diagonal (inches)



    #!/usr/bin/env python3
    import subprocess
    # change the round factor if you like
    r = 1

    screens = [l.split()[-3:] for l in subprocess.check_output(
    ["xrandr"]).decode("utf-8").strip().splitlines() if " connected" in l]

    for s in screens:
    w = float(s[0].replace("mm", "")); h = float(s[2].replace("mm", "")); d = ((w**2)+(h**2))**(0.5)
    print([round(n/25.4, r) for n in [w, h, d]])


    To use it:



    Copy the script into an empty file, save it as get_dimensions.py, run it by the command:



    python3 /path/to/get_dimensions.py


    Output on my two screens:



    width - height - diagonal (inches)

    [18.6, 11.7, 22.0]
    [14.8, 11.9, 19.0]






    Edit



    Fancy version of the same script (with a few improvements and a nicer output), looking like:



    Screen width height diagonal
    --------------------------------
    DVI-I-1 18.6 11.7 22.0
    VGA-1 14.8 11.9 19.0


    The script:



    #!/usr/bin/env python3
    import subprocess
    # change the round factor if you like
    r = 1

    screens = [l.split() for l in subprocess.check_output(
    ["xrandr"]).decode("utf-8").strip().splitlines() if " connected" in l]

    scr_data = []
    for s in screens:
    try:
    scr_data.append((
    s[0],
    float(s[-3].replace("mm", "")),
    float(s[-1].replace("mm", ""))
    ))
    except ValueError:
    pass

    print(("t").join(["Screen", "width", "height", "diagonaln"+32*"-"]))
    for s in scr_data:
    scr = s[0]; w = s[1]/25.4; h = s[2]/25.4; d = ((w**2)+(h**2))**(0.5)
    print(("t").join([scr]+[str(round(n, 1)) for n in [w, h, d]]))





    share|improve this answer

























    • Just a side note, but both answers give me different results: xdpyinfo gives me "474x303 millimeters", and xrandr "473mm x 296mm".

      – agold
      Feb 18 '16 at 8:51






    • 1





      @agold Now that is interesting. A rounding difference. Another interesting thing is that xdpyinfo outputs the desktop size (both screens), not the screen's size!

      – Jacob Vlijm
      Feb 18 '16 at 8:54












    • @agold the difference is way too big for a rounding difference!! See my edit.

      – Jacob Vlijm
      Feb 18 '16 at 9:10












    • yes, it is quite big, but how do these programs get this information? Is it some meta information coming from the monitor, or is it estimated based on some other parameters...?

      – agold
      Feb 18 '16 at 9:13











    • @agold It seems to be related to a bug in xdpyinfo: bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/201491 ALthough the report is quite old, I don't see it fixed. Also see: bbs.archlinux.org/viewtopic.php?id=204823

      – Jacob Vlijm
      Feb 18 '16 at 9:21
















    40














    Another option, using xrandr, is the command:



    xrandr | grep ' connected'


    Output:



    DVI-I-1 connected primary 1680x1050+0+0 (normal left inverted right x axis y axis) 473mm x 296mm
    VGA-1 connected 1280x1024+1680+0 (normal left inverted right x axis y axis) 376mm x 301mm


    (mind the space before connected, else disconnected will be included)



    Important differences between xdpyinfo and xrandr



    • While xrandr lists screens separately (in case of multiple monitors), xdpyinfo outputs one single set of dimensions for all screens together ("desktop size" instead of screen size)


    • As noticed by @agold there is (quite) a difference between the two, which seems too big to be a simple rounding difference:



      xrandr: 473mm x 296mm
      xdpyinfo: 445x278


    It seems related to a bug in xdpyinfo. See also here.



    If you'd insist on inches



    Use the small script below; it outputs the size of your screen(s) in inches; width / height / diagonal (inches)



    #!/usr/bin/env python3
    import subprocess
    # change the round factor if you like
    r = 1

    screens = [l.split()[-3:] for l in subprocess.check_output(
    ["xrandr"]).decode("utf-8").strip().splitlines() if " connected" in l]

    for s in screens:
    w = float(s[0].replace("mm", "")); h = float(s[2].replace("mm", "")); d = ((w**2)+(h**2))**(0.5)
    print([round(n/25.4, r) for n in [w, h, d]])


    To use it:



    Copy the script into an empty file, save it as get_dimensions.py, run it by the command:



    python3 /path/to/get_dimensions.py


    Output on my two screens:



    width - height - diagonal (inches)

    [18.6, 11.7, 22.0]
    [14.8, 11.9, 19.0]






    Edit



    Fancy version of the same script (with a few improvements and a nicer output), looking like:



    Screen width height diagonal
    --------------------------------
    DVI-I-1 18.6 11.7 22.0
    VGA-1 14.8 11.9 19.0


    The script:



    #!/usr/bin/env python3
    import subprocess
    # change the round factor if you like
    r = 1

    screens = [l.split() for l in subprocess.check_output(
    ["xrandr"]).decode("utf-8").strip().splitlines() if " connected" in l]

    scr_data = []
    for s in screens:
    try:
    scr_data.append((
    s[0],
    float(s[-3].replace("mm", "")),
    float(s[-1].replace("mm", ""))
    ))
    except ValueError:
    pass

    print(("t").join(["Screen", "width", "height", "diagonaln"+32*"-"]))
    for s in scr_data:
    scr = s[0]; w = s[1]/25.4; h = s[2]/25.4; d = ((w**2)+(h**2))**(0.5)
    print(("t").join([scr]+[str(round(n, 1)) for n in [w, h, d]]))





    share|improve this answer

























    • Just a side note, but both answers give me different results: xdpyinfo gives me "474x303 millimeters", and xrandr "473mm x 296mm".

      – agold
      Feb 18 '16 at 8:51






    • 1





      @agold Now that is interesting. A rounding difference. Another interesting thing is that xdpyinfo outputs the desktop size (both screens), not the screen's size!

      – Jacob Vlijm
      Feb 18 '16 at 8:54












    • @agold the difference is way too big for a rounding difference!! See my edit.

      – Jacob Vlijm
      Feb 18 '16 at 9:10












    • yes, it is quite big, but how do these programs get this information? Is it some meta information coming from the monitor, or is it estimated based on some other parameters...?

      – agold
      Feb 18 '16 at 9:13











    • @agold It seems to be related to a bug in xdpyinfo: bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/201491 ALthough the report is quite old, I don't see it fixed. Also see: bbs.archlinux.org/viewtopic.php?id=204823

      – Jacob Vlijm
      Feb 18 '16 at 9:21














    40












    40








    40







    Another option, using xrandr, is the command:



    xrandr | grep ' connected'


    Output:



    DVI-I-1 connected primary 1680x1050+0+0 (normal left inverted right x axis y axis) 473mm x 296mm
    VGA-1 connected 1280x1024+1680+0 (normal left inverted right x axis y axis) 376mm x 301mm


    (mind the space before connected, else disconnected will be included)



    Important differences between xdpyinfo and xrandr



    • While xrandr lists screens separately (in case of multiple monitors), xdpyinfo outputs one single set of dimensions for all screens together ("desktop size" instead of screen size)


    • As noticed by @agold there is (quite) a difference between the two, which seems too big to be a simple rounding difference:



      xrandr: 473mm x 296mm
      xdpyinfo: 445x278


    It seems related to a bug in xdpyinfo. See also here.



    If you'd insist on inches



    Use the small script below; it outputs the size of your screen(s) in inches; width / height / diagonal (inches)



    #!/usr/bin/env python3
    import subprocess
    # change the round factor if you like
    r = 1

    screens = [l.split()[-3:] for l in subprocess.check_output(
    ["xrandr"]).decode("utf-8").strip().splitlines() if " connected" in l]

    for s in screens:
    w = float(s[0].replace("mm", "")); h = float(s[2].replace("mm", "")); d = ((w**2)+(h**2))**(0.5)
    print([round(n/25.4, r) for n in [w, h, d]])


    To use it:



    Copy the script into an empty file, save it as get_dimensions.py, run it by the command:



    python3 /path/to/get_dimensions.py


    Output on my two screens:



    width - height - diagonal (inches)

    [18.6, 11.7, 22.0]
    [14.8, 11.9, 19.0]






    Edit



    Fancy version of the same script (with a few improvements and a nicer output), looking like:



    Screen width height diagonal
    --------------------------------
    DVI-I-1 18.6 11.7 22.0
    VGA-1 14.8 11.9 19.0


    The script:



    #!/usr/bin/env python3
    import subprocess
    # change the round factor if you like
    r = 1

    screens = [l.split() for l in subprocess.check_output(
    ["xrandr"]).decode("utf-8").strip().splitlines() if " connected" in l]

    scr_data = []
    for s in screens:
    try:
    scr_data.append((
    s[0],
    float(s[-3].replace("mm", "")),
    float(s[-1].replace("mm", ""))
    ))
    except ValueError:
    pass

    print(("t").join(["Screen", "width", "height", "diagonaln"+32*"-"]))
    for s in scr_data:
    scr = s[0]; w = s[1]/25.4; h = s[2]/25.4; d = ((w**2)+(h**2))**(0.5)
    print(("t").join([scr]+[str(round(n, 1)) for n in [w, h, d]]))





    share|improve this answer















    Another option, using xrandr, is the command:



    xrandr | grep ' connected'


    Output:



    DVI-I-1 connected primary 1680x1050+0+0 (normal left inverted right x axis y axis) 473mm x 296mm
    VGA-1 connected 1280x1024+1680+0 (normal left inverted right x axis y axis) 376mm x 301mm


    (mind the space before connected, else disconnected will be included)



    Important differences between xdpyinfo and xrandr



    • While xrandr lists screens separately (in case of multiple monitors), xdpyinfo outputs one single set of dimensions for all screens together ("desktop size" instead of screen size)


    • As noticed by @agold there is (quite) a difference between the two, which seems too big to be a simple rounding difference:



      xrandr: 473mm x 296mm
      xdpyinfo: 445x278


    It seems related to a bug in xdpyinfo. See also here.



    If you'd insist on inches



    Use the small script below; it outputs the size of your screen(s) in inches; width / height / diagonal (inches)



    #!/usr/bin/env python3
    import subprocess
    # change the round factor if you like
    r = 1

    screens = [l.split()[-3:] for l in subprocess.check_output(
    ["xrandr"]).decode("utf-8").strip().splitlines() if " connected" in l]

    for s in screens:
    w = float(s[0].replace("mm", "")); h = float(s[2].replace("mm", "")); d = ((w**2)+(h**2))**(0.5)
    print([round(n/25.4, r) for n in [w, h, d]])


    To use it:



    Copy the script into an empty file, save it as get_dimensions.py, run it by the command:



    python3 /path/to/get_dimensions.py


    Output on my two screens:



    width - height - diagonal (inches)

    [18.6, 11.7, 22.0]
    [14.8, 11.9, 19.0]






    Edit



    Fancy version of the same script (with a few improvements and a nicer output), looking like:



    Screen width height diagonal
    --------------------------------
    DVI-I-1 18.6 11.7 22.0
    VGA-1 14.8 11.9 19.0


    The script:



    #!/usr/bin/env python3
    import subprocess
    # change the round factor if you like
    r = 1

    screens = [l.split() for l in subprocess.check_output(
    ["xrandr"]).decode("utf-8").strip().splitlines() if " connected" in l]

    scr_data = []
    for s in screens:
    try:
    scr_data.append((
    s[0],
    float(s[-3].replace("mm", "")),
    float(s[-1].replace("mm", ""))
    ))
    except ValueError:
    pass

    print(("t").join(["Screen", "width", "height", "diagonaln"+32*"-"]))
    for s in scr_data:
    scr = s[0]; w = s[1]/25.4; h = s[2]/25.4; d = ((w**2)+(h**2))**(0.5)
    print(("t").join([scr]+[str(round(n, 1)) for n in [w, h, d]]))






    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Feb 19 '16 at 17:51

























    answered Feb 18 '16 at 8:08









    Jacob VlijmJacob Vlijm

    65.9k9130228




    65.9k9130228












    • Just a side note, but both answers give me different results: xdpyinfo gives me "474x303 millimeters", and xrandr "473mm x 296mm".

      – agold
      Feb 18 '16 at 8:51






    • 1





      @agold Now that is interesting. A rounding difference. Another interesting thing is that xdpyinfo outputs the desktop size (both screens), not the screen's size!

      – Jacob Vlijm
      Feb 18 '16 at 8:54












    • @agold the difference is way too big for a rounding difference!! See my edit.

      – Jacob Vlijm
      Feb 18 '16 at 9:10












    • yes, it is quite big, but how do these programs get this information? Is it some meta information coming from the monitor, or is it estimated based on some other parameters...?

      – agold
      Feb 18 '16 at 9:13











    • @agold It seems to be related to a bug in xdpyinfo: bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/201491 ALthough the report is quite old, I don't see it fixed. Also see: bbs.archlinux.org/viewtopic.php?id=204823

      – Jacob Vlijm
      Feb 18 '16 at 9:21


















    • Just a side note, but both answers give me different results: xdpyinfo gives me "474x303 millimeters", and xrandr "473mm x 296mm".

      – agold
      Feb 18 '16 at 8:51






    • 1





      @agold Now that is interesting. A rounding difference. Another interesting thing is that xdpyinfo outputs the desktop size (both screens), not the screen's size!

      – Jacob Vlijm
      Feb 18 '16 at 8:54












    • @agold the difference is way too big for a rounding difference!! See my edit.

      – Jacob Vlijm
      Feb 18 '16 at 9:10












    • yes, it is quite big, but how do these programs get this information? Is it some meta information coming from the monitor, or is it estimated based on some other parameters...?

      – agold
      Feb 18 '16 at 9:13











    • @agold It seems to be related to a bug in xdpyinfo: bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/201491 ALthough the report is quite old, I don't see it fixed. Also see: bbs.archlinux.org/viewtopic.php?id=204823

      – Jacob Vlijm
      Feb 18 '16 at 9:21

















    Just a side note, but both answers give me different results: xdpyinfo gives me "474x303 millimeters", and xrandr "473mm x 296mm".

    – agold
    Feb 18 '16 at 8:51





    Just a side note, but both answers give me different results: xdpyinfo gives me "474x303 millimeters", and xrandr "473mm x 296mm".

    – agold
    Feb 18 '16 at 8:51




    1




    1





    @agold Now that is interesting. A rounding difference. Another interesting thing is that xdpyinfo outputs the desktop size (both screens), not the screen's size!

    – Jacob Vlijm
    Feb 18 '16 at 8:54






    @agold Now that is interesting. A rounding difference. Another interesting thing is that xdpyinfo outputs the desktop size (both screens), not the screen's size!

    – Jacob Vlijm
    Feb 18 '16 at 8:54














    @agold the difference is way too big for a rounding difference!! See my edit.

    – Jacob Vlijm
    Feb 18 '16 at 9:10






    @agold the difference is way too big for a rounding difference!! See my edit.

    – Jacob Vlijm
    Feb 18 '16 at 9:10














    yes, it is quite big, but how do these programs get this information? Is it some meta information coming from the monitor, or is it estimated based on some other parameters...?

    – agold
    Feb 18 '16 at 9:13





    yes, it is quite big, but how do these programs get this information? Is it some meta information coming from the monitor, or is it estimated based on some other parameters...?

    – agold
    Feb 18 '16 at 9:13













    @agold It seems to be related to a bug in xdpyinfo: bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/201491 ALthough the report is quite old, I don't see it fixed. Also see: bbs.archlinux.org/viewtopic.php?id=204823

    – Jacob Vlijm
    Feb 18 '16 at 9:21






    @agold It seems to be related to a bug in xdpyinfo: bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/201491 ALthough the report is quite old, I don't see it fixed. Also see: bbs.archlinux.org/viewtopic.php?id=204823

    – Jacob Vlijm
    Feb 18 '16 at 9:21














    13














    Just in case you want a more general answer, you can cut the the gordian knot, and use a non-geeky physical ruler for that. As per this wiki, the "size of a screen is usually described by the length of its diagonal":



    enter image description here



    If you have a ruler that only displays centimeters, you can use the simple conversion:



    1 cm = 0.393701 in
    (or 2.54 cm = 1 in)


    So if your ruler measures 30 centimeters, your screen is 11.811 inches. You can also use google with a query of the form 30 cm to in.




    Image credits: https://en.wikipedia.org/wiki/File:Display_size_measurements.png






    share|improve this answer

























    • Ask Ubuntu is a site for Software solutions, so your answer is a bit off-topic here... On the other hand, it's correct, well written, very readable and funny! :-) So upvoted!

      – Fabby
      Feb 22 '16 at 13:21






    • 1





      @dn-ʞɔɐqɹW: Actually, it's based on a mistake on my side. I read the question, "How can I get my laptop's monitor size?", and my first thought was "well, with a ruler", and before reading the complete question, I had my answer carved out the stone block.

      – phresnel
      Feb 22 '16 at 14:00











    • As a side note, one inch equals 25.4 mm exactly.

      – Paddy Landau
      Feb 22 '16 at 22:54















    13














    Just in case you want a more general answer, you can cut the the gordian knot, and use a non-geeky physical ruler for that. As per this wiki, the "size of a screen is usually described by the length of its diagonal":



    enter image description here



    If you have a ruler that only displays centimeters, you can use the simple conversion:



    1 cm = 0.393701 in
    (or 2.54 cm = 1 in)


    So if your ruler measures 30 centimeters, your screen is 11.811 inches. You can also use google with a query of the form 30 cm to in.




    Image credits: https://en.wikipedia.org/wiki/File:Display_size_measurements.png






    share|improve this answer

























    • Ask Ubuntu is a site for Software solutions, so your answer is a bit off-topic here... On the other hand, it's correct, well written, very readable and funny! :-) So upvoted!

      – Fabby
      Feb 22 '16 at 13:21






    • 1





      @dn-ʞɔɐqɹW: Actually, it's based on a mistake on my side. I read the question, "How can I get my laptop's monitor size?", and my first thought was "well, with a ruler", and before reading the complete question, I had my answer carved out the stone block.

      – phresnel
      Feb 22 '16 at 14:00











    • As a side note, one inch equals 25.4 mm exactly.

      – Paddy Landau
      Feb 22 '16 at 22:54













    13












    13








    13







    Just in case you want a more general answer, you can cut the the gordian knot, and use a non-geeky physical ruler for that. As per this wiki, the "size of a screen is usually described by the length of its diagonal":



    enter image description here



    If you have a ruler that only displays centimeters, you can use the simple conversion:



    1 cm = 0.393701 in
    (or 2.54 cm = 1 in)


    So if your ruler measures 30 centimeters, your screen is 11.811 inches. You can also use google with a query of the form 30 cm to in.




    Image credits: https://en.wikipedia.org/wiki/File:Display_size_measurements.png






    share|improve this answer















    Just in case you want a more general answer, you can cut the the gordian knot, and use a non-geeky physical ruler for that. As per this wiki, the "size of a screen is usually described by the length of its diagonal":



    enter image description here



    If you have a ruler that only displays centimeters, you can use the simple conversion:



    1 cm = 0.393701 in
    (or 2.54 cm = 1 in)


    So if your ruler measures 30 centimeters, your screen is 11.811 inches. You can also use google with a query of the form 30 cm to in.




    Image credits: https://en.wikipedia.org/wiki/File:Display_size_measurements.png







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Feb 23 '16 at 8:36

























    answered Feb 18 '16 at 10:41









    phresnelphresnel

    23316




    23316












    • Ask Ubuntu is a site for Software solutions, so your answer is a bit off-topic here... On the other hand, it's correct, well written, very readable and funny! :-) So upvoted!

      – Fabby
      Feb 22 '16 at 13:21






    • 1





      @dn-ʞɔɐqɹW: Actually, it's based on a mistake on my side. I read the question, "How can I get my laptop's monitor size?", and my first thought was "well, with a ruler", and before reading the complete question, I had my answer carved out the stone block.

      – phresnel
      Feb 22 '16 at 14:00











    • As a side note, one inch equals 25.4 mm exactly.

      – Paddy Landau
      Feb 22 '16 at 22:54

















    • Ask Ubuntu is a site for Software solutions, so your answer is a bit off-topic here... On the other hand, it's correct, well written, very readable and funny! :-) So upvoted!

      – Fabby
      Feb 22 '16 at 13:21






    • 1





      @dn-ʞɔɐqɹW: Actually, it's based on a mistake on my side. I read the question, "How can I get my laptop's monitor size?", and my first thought was "well, with a ruler", and before reading the complete question, I had my answer carved out the stone block.

      – phresnel
      Feb 22 '16 at 14:00











    • As a side note, one inch equals 25.4 mm exactly.

      – Paddy Landau
      Feb 22 '16 at 22:54
















    Ask Ubuntu is a site for Software solutions, so your answer is a bit off-topic here... On the other hand, it's correct, well written, very readable and funny! :-) So upvoted!

    – Fabby
    Feb 22 '16 at 13:21





    Ask Ubuntu is a site for Software solutions, so your answer is a bit off-topic here... On the other hand, it's correct, well written, very readable and funny! :-) So upvoted!

    – Fabby
    Feb 22 '16 at 13:21




    1




    1





    @dn-ʞɔɐqɹW: Actually, it's based on a mistake on my side. I read the question, "How can I get my laptop's monitor size?", and my first thought was "well, with a ruler", and before reading the complete question, I had my answer carved out the stone block.

    – phresnel
    Feb 22 '16 at 14:00





    @dn-ʞɔɐqɹW: Actually, it's based on a mistake on my side. I read the question, "How can I get my laptop's monitor size?", and my first thought was "well, with a ruler", and before reading the complete question, I had my answer carved out the stone block.

    – phresnel
    Feb 22 '16 at 14:00













    As a side note, one inch equals 25.4 mm exactly.

    – Paddy Landau
    Feb 22 '16 at 22:54





    As a side note, one inch equals 25.4 mm exactly.

    – Paddy Landau
    Feb 22 '16 at 22:54











    6














    Xdpyinfo is a utility for displaying information about an X server. It is used to examine the capabilities of a server, the predefined values for various parameters used in communicating between clients and the server, and the different types of screens and visuals that are available.



    The command to get the monitor size is:



    xdpyinfo | grep dimensions


    Result



    dimensions: 1366x768 pixels (361x203 millimeters)





    share|improve this answer




















    • 1





      Hi Parto, I really like your answer +1, however, look here: bbs.archlinux.org/viewtopic.php?id=204823 there is a huge difference in the dimensions xdpyinfo reports and xrandr.

      – Jacob Vlijm
      Feb 18 '16 at 9:19











    • @Jacob Something interesting - askubuntu.com/questions/378386/…

      – Parto
      Feb 18 '16 at 9:25






    • 1





      When measuring with a good old physical quality tape-measure, I get on my screen pretty much exactly the output of xrandr: 473mm, while xdpyinfo reports way too short (445mm). This question turns out to be more interesting then OP assumed I guess :)

      – Jacob Vlijm
      Feb 18 '16 at 9:32
















    6














    Xdpyinfo is a utility for displaying information about an X server. It is used to examine the capabilities of a server, the predefined values for various parameters used in communicating between clients and the server, and the different types of screens and visuals that are available.



    The command to get the monitor size is:



    xdpyinfo | grep dimensions


    Result



    dimensions: 1366x768 pixels (361x203 millimeters)





    share|improve this answer




















    • 1





      Hi Parto, I really like your answer +1, however, look here: bbs.archlinux.org/viewtopic.php?id=204823 there is a huge difference in the dimensions xdpyinfo reports and xrandr.

      – Jacob Vlijm
      Feb 18 '16 at 9:19











    • @Jacob Something interesting - askubuntu.com/questions/378386/…

      – Parto
      Feb 18 '16 at 9:25






    • 1





      When measuring with a good old physical quality tape-measure, I get on my screen pretty much exactly the output of xrandr: 473mm, while xdpyinfo reports way too short (445mm). This question turns out to be more interesting then OP assumed I guess :)

      – Jacob Vlijm
      Feb 18 '16 at 9:32














    6












    6








    6







    Xdpyinfo is a utility for displaying information about an X server. It is used to examine the capabilities of a server, the predefined values for various parameters used in communicating between clients and the server, and the different types of screens and visuals that are available.



    The command to get the monitor size is:



    xdpyinfo | grep dimensions


    Result



    dimensions: 1366x768 pixels (361x203 millimeters)





    share|improve this answer















    Xdpyinfo is a utility for displaying information about an X server. It is used to examine the capabilities of a server, the predefined values for various parameters used in communicating between clients and the server, and the different types of screens and visuals that are available.



    The command to get the monitor size is:



    xdpyinfo | grep dimensions


    Result



    dimensions: 1366x768 pixels (361x203 millimeters)






    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Feb 18 '16 at 8:25

























    answered Feb 18 '16 at 7:57









    PartoParto

    9,5821967105




    9,5821967105







    • 1





      Hi Parto, I really like your answer +1, however, look here: bbs.archlinux.org/viewtopic.php?id=204823 there is a huge difference in the dimensions xdpyinfo reports and xrandr.

      – Jacob Vlijm
      Feb 18 '16 at 9:19











    • @Jacob Something interesting - askubuntu.com/questions/378386/…

      – Parto
      Feb 18 '16 at 9:25






    • 1





      When measuring with a good old physical quality tape-measure, I get on my screen pretty much exactly the output of xrandr: 473mm, while xdpyinfo reports way too short (445mm). This question turns out to be more interesting then OP assumed I guess :)

      – Jacob Vlijm
      Feb 18 '16 at 9:32













    • 1





      Hi Parto, I really like your answer +1, however, look here: bbs.archlinux.org/viewtopic.php?id=204823 there is a huge difference in the dimensions xdpyinfo reports and xrandr.

      – Jacob Vlijm
      Feb 18 '16 at 9:19











    • @Jacob Something interesting - askubuntu.com/questions/378386/…

      – Parto
      Feb 18 '16 at 9:25






    • 1





      When measuring with a good old physical quality tape-measure, I get on my screen pretty much exactly the output of xrandr: 473mm, while xdpyinfo reports way too short (445mm). This question turns out to be more interesting then OP assumed I guess :)

      – Jacob Vlijm
      Feb 18 '16 at 9:32








    1




    1





    Hi Parto, I really like your answer +1, however, look here: bbs.archlinux.org/viewtopic.php?id=204823 there is a huge difference in the dimensions xdpyinfo reports and xrandr.

    – Jacob Vlijm
    Feb 18 '16 at 9:19





    Hi Parto, I really like your answer +1, however, look here: bbs.archlinux.org/viewtopic.php?id=204823 there is a huge difference in the dimensions xdpyinfo reports and xrandr.

    – Jacob Vlijm
    Feb 18 '16 at 9:19













    @Jacob Something interesting - askubuntu.com/questions/378386/…

    – Parto
    Feb 18 '16 at 9:25





    @Jacob Something interesting - askubuntu.com/questions/378386/…

    – Parto
    Feb 18 '16 at 9:25




    1




    1





    When measuring with a good old physical quality tape-measure, I get on my screen pretty much exactly the output of xrandr: 473mm, while xdpyinfo reports way too short (445mm). This question turns out to be more interesting then OP assumed I guess :)

    – Jacob Vlijm
    Feb 18 '16 at 9:32






    When measuring with a good old physical quality tape-measure, I get on my screen pretty much exactly the output of xrandr: 473mm, while xdpyinfo reports way too short (445mm). This question turns out to be more interesting then OP assumed I guess :)

    – Jacob Vlijm
    Feb 18 '16 at 9:32












    0














    Hi Friends you can get Complete Details Step by Step in easy words ...
    How To Check Laptop Screen Size





    share








    New contributor




    AdMob Booster is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.
























      0














      Hi Friends you can get Complete Details Step by Step in easy words ...
      How To Check Laptop Screen Size





      share








      New contributor




      AdMob Booster is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















        0












        0








        0







        Hi Friends you can get Complete Details Step by Step in easy words ...
        How To Check Laptop Screen Size





        share








        New contributor




        AdMob Booster is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.










        Hi Friends you can get Complete Details Step by Step in easy words ...
        How To Check Laptop Screen Size






        share








        New contributor




        AdMob Booster is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.








        share


        share






        New contributor




        AdMob Booster is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        answered 8 mins ago









        AdMob BoosterAdMob Booster

        1




        1




        New contributor




        AdMob Booster is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.





        New contributor





        AdMob Booster is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






        AdMob Booster is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f736113%2fhow-can-i-get-my-laptops-monitor-size%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Möglingen Índice Localización Historia Demografía Referencias Enlaces externos Menú de navegación48°53′18″N 9°07′45″E / 48.888333333333, 9.129166666666748°53′18″N 9°07′45″E / 48.888333333333, 9.1291666666667Sitio web oficial Mapa de Möglingen«Gemeinden in Deutschland nach Fläche, Bevölkerung und Postleitzahl am 30.09.2016»Möglingen

            Virtualbox - Configuration error: Querying “UUID” failed (VERR_CFGM_VALUE_NOT_FOUND)“VERR_SUPLIB_WORLD_WRITABLE” error when trying to installing OS in virtualboxVirtual Box Kernel errorFailed to open a seesion for the virtual machineFailed to open a session for the virtual machineUbuntu 14.04 LTS Virtualbox errorcan't use VM VirtualBoxusing virtualboxI can't run Linux-64 Bit on VirtualBoxUnable to insert the virtual optical disk (VBoxguestaddition) in virtual machine for ubuntu server in win 10VirtuaBox in Ubuntu 18.04 Issues with Win10.ISO Installation

            Torre de la Isleta Índice Véase también Referencias Bibliografía Enlaces externos Menú de navegación38°25′58″N 0°23′02″O / 38.43277778, -0.3838888938°25′58″N 0°23′02″O / 38.43277778, -0.38388889Torre de la Illeta de l’Horta o Torre Saleta. Base de datos de bienes inmuebles. Patrimonio Cultural. Secretaría de Estado de CulturaFicha BIC Torre de la Illeta de l’Horta. Dirección General de Patrimonio Cultural. Generalitat ValencianaLugares de interés. Ayuntamiento del CampelloTorre de la Isleta en CastillosNet.org