Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

I'm running Ubuntu and Gnome, but this should be generally relevant to any system using X11.

I had a look at the source of the Gnome tools that read monitor information. They all use the X RandR (Resize and Rotate) library under the hood to gather monitor information

The xrandr command line tool shows the raw data provided by your monitor

$ xrandr --verbose Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 1280 x 1024 VGA connected 1280x1024+0+0 (0x3c) normal (normal left inverted right +x axis y axis) 338mm x 270mm Identifier: 0x3b Timestamp: 33753 Subpixel: unknown Clones: CRTC: 0 CRTCs: 0 1 Panning: 0x0+0+0 Tracking: 0x0+0+0 Border: 0/0/0/0 Transform: 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000 filter: EDID_DATA: 00ffffffffffff0010ac0ba0554a4632 110f010368221b78eecaf6a357479e23 114f54a54b00714f8180010101010101 010101010101302a009851002a403070 1300520e1100001e000000ff00553439 333135344b32464a550a000000fc0044 454c4c204531373346500a20000000fd 00384b1f500e000a2020202020200099

The EDID_DATA is particularly relevant to us. The read-edid project has utilities that turn the EDID information into something we can use:

$sudo get-edid 2>/dev/null| parse-edid 2>/dev/null| grep ModelName ModelName "DELL E173FP"

In reply to Re^4: How do I find my monitor type and model? by thunders
in thread How do I find my monitor type and model? by markseger

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others exploiting the Monastery: (4)
    As of 2019-05-26 07:55 GMT
    Find Nodes?
      Voting Booth?
      Do you enjoy 3D movies?

      Results (153 votes). Check out past polls.

      • (Sep 10, 2018 at 22:53 UTC) Welcome new users!