Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I use gnome-display-properties to configure the external screens that I attach to my laptop at home and in the office. Gnome-display-properties cleverly remembers which screen is which, and automatically sets the display up when the screen is plugged.

For example, in gnome-display-properties, the monitor shows as "Monitor: Samsung Electric Company 24''", I wonder where is this info pulled from?

Where is this information saved?

share|improve this question
1  
Could you check on your ~/.config/monitors.xml ? I just briefly Googled it but not sure if it is the correct answer. –  JohanSJA Aug 4 '11 at 4:22
    
yes, the xml shows things like 'SAM' which I believe correspond to the Samsung monitor. In gnome-display-properties, the monitor shows as "Monitor: Samsung Electric Company 24''", I wonder where is this info pulled from. –  213441265152351 Aug 4 '11 at 4:42
    
Perhaps there are some other files/settings that can link the SAM to 'Samsung Electric Company 24'. But I am not expert in that anymore. –  JohanSJA Aug 4 '11 at 4:46
add comment

2 Answers 2

up vote 3 down vote accepted

The information is coming from the monitor's EDID. To check, you can install the package read-edid and run

sudo get-edid | parse-edid

That should output some info including the monitor section we previously had in our xorg.conf files, e.g.:

Section "Monitor"
    # Block type: 2:0 3:ff
    # Block type: 2:0 3:fc
    Identifier "DELL U2311H"
    VendorName "DEL"
    ModelName "DELL U2311H"
    # Block type: 2:0 3:ff
    # Block type: 2:0 3:fc
    # Block type: 2:0 3:fd
    HorizSync 30-83
    VertRefresh 56-76
    # Max dot clock (video bandwidth) 170 MHz
    # DPMS capabilities: Active off:yes  Suspend:yes  Standby:yes

    Mode    "1920x1080" # vfreq 60.000Hz, hfreq 67.500kHz
        DotClock    148.500000
        HTimings    1920 2008 2052 2200
        VTimings    1080 1084 1089 1125
        Flags   "+HSync" "+VSync"
    EndMode
    # Block type: 2:0 3:ff
    # Block type: 2:0 3:fc
    # Block type: 2:0 3:fd
EndSection

Note the three letter VendorName.

share|improve this answer
add comment

Adding to htorque's answer and converting JohanSJA's comment to an answer:

Where is this information saved?

In ~/.config/monitors.xml.

share|improve this answer
add comment

Your Answer

 
discard

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.