Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can we get the serial number of monitor in ubuntu?

share|improve this question

migrated from Apr 11 '11 at 7:06

This question came from our site for professional and enthusiast programmers.

With a Linux system (Ubuntu), you can use ddcprobe.

run in a termial

sudo apt-get install xresprobe


sudo ddcprobe

You'll see lots of info about your graphics card. Then at the end, you'll see

monitorserial: xxxxxxx
monitorname: xxxxxx
monitorrange: xxxxxx
share|improve this answer
Its not working. – sreekanth Apr 11 '11 at 12:00
So, is it just blank? Are you getting an error message? Do tell. – d-_-b Apr 11 '11 at 12:03
yes a blank message – sreekanth Apr 11 '11 at 17:46
Well, in that case your video card or monitor may not support reading this data from the monitor. Are you trying to set up X11? Or is there another purpose for this exercise? Because there may be another way to achieve the same result. – d-_-b Apr 12 '11 at 0:36
As Joachim said, you could also try read-edid. That's also available from Ubuntu's package repositories: sudo apt-get install read-edid – d-_-b Apr 12 '11 at 0:38

There's a software package called read-edid that should help you get to pretty much all information the monitor gives away. The separate tools are called read-edid and parse-edid.

share|improve this answer

Do you mean the Monitor Make and Model? You can not get the Monitor's serial number, but you can get the make & model once X is running:

you can look for it in /var/log/Xorg.0.log , e.g. grep '--' /var/log/Xorg.0.log or in

share|improve this answer
For what it is worth, I can see both my monitor's serial number and model in the Xorg log file (search for "Serial No:"). If it isn't showing for you, then perhaps your monitor isn't providing it in the EDID info. – James Henstridge Apr 11 '11 at 7:46

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.