Forcing a Display Size on Ubuntu 16.04

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I am running Ubuntu 16.04 LTS with a Samsung 25" monitor at 1920x1200 (16:10). The monitor is reporting its size as 160x90mm rather than its actual 540x340mm. This might not normally be a problem for most apps which ignore the monitor size and just size by pixels, but I have a "smart" app that sizes itself thinking it is on the super-tiny monitor -- thus becomes unusable.



So the trick is to somehow tell Ubuntu that the display size is 540x340mm.



Here is what I know:
1. The Displays utility shows 7" diagonal (i.e. 160x90mm).
2. "xrandr -q" returns 160x90mm
3. "xdpyinfo | grep -B2 resolution" returns 508x318mm.
4. "sudo get-edid | parse-edid" shows "DisplaySize 160 90".



The fourth fact involves actually reading the Extended Display Identification Data from the monitor and decoding it, which shows that the monitor is not returning its correct size.



I tried making a xorg.conf file as follows:



Section "Monitor"
Identifier "Monitor0"
VendorName "Samsung"
ModelName "T260HD"
DisplaySize 540 340
EndSection



I tried placing this file in the following places (so far):
/etc/X11/xorg.conf
/usr/share/X11/xorg.conf
/usr/share/X11/xorg.conf.d/xorg_dag.conf



Reebooting each time, but nothing changes.



Any help or suggestions would be welcome. Thanks!







share|improve this question
























    up vote
    0
    down vote

    favorite












    I am running Ubuntu 16.04 LTS with a Samsung 25" monitor at 1920x1200 (16:10). The monitor is reporting its size as 160x90mm rather than its actual 540x340mm. This might not normally be a problem for most apps which ignore the monitor size and just size by pixels, but I have a "smart" app that sizes itself thinking it is on the super-tiny monitor -- thus becomes unusable.



    So the trick is to somehow tell Ubuntu that the display size is 540x340mm.



    Here is what I know:
    1. The Displays utility shows 7" diagonal (i.e. 160x90mm).
    2. "xrandr -q" returns 160x90mm
    3. "xdpyinfo | grep -B2 resolution" returns 508x318mm.
    4. "sudo get-edid | parse-edid" shows "DisplaySize 160 90".



    The fourth fact involves actually reading the Extended Display Identification Data from the monitor and decoding it, which shows that the monitor is not returning its correct size.



    I tried making a xorg.conf file as follows:



    Section "Monitor"
    Identifier "Monitor0"
    VendorName "Samsung"
    ModelName "T260HD"
    DisplaySize 540 340
    EndSection



    I tried placing this file in the following places (so far):
    /etc/X11/xorg.conf
    /usr/share/X11/xorg.conf
    /usr/share/X11/xorg.conf.d/xorg_dag.conf



    Reebooting each time, but nothing changes.



    Any help or suggestions would be welcome. Thanks!







    share|improve this question






















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I am running Ubuntu 16.04 LTS with a Samsung 25" monitor at 1920x1200 (16:10). The monitor is reporting its size as 160x90mm rather than its actual 540x340mm. This might not normally be a problem for most apps which ignore the monitor size and just size by pixels, but I have a "smart" app that sizes itself thinking it is on the super-tiny monitor -- thus becomes unusable.



      So the trick is to somehow tell Ubuntu that the display size is 540x340mm.



      Here is what I know:
      1. The Displays utility shows 7" diagonal (i.e. 160x90mm).
      2. "xrandr -q" returns 160x90mm
      3. "xdpyinfo | grep -B2 resolution" returns 508x318mm.
      4. "sudo get-edid | parse-edid" shows "DisplaySize 160 90".



      The fourth fact involves actually reading the Extended Display Identification Data from the monitor and decoding it, which shows that the monitor is not returning its correct size.



      I tried making a xorg.conf file as follows:



      Section "Monitor"
      Identifier "Monitor0"
      VendorName "Samsung"
      ModelName "T260HD"
      DisplaySize 540 340
      EndSection



      I tried placing this file in the following places (so far):
      /etc/X11/xorg.conf
      /usr/share/X11/xorg.conf
      /usr/share/X11/xorg.conf.d/xorg_dag.conf



      Reebooting each time, but nothing changes.



      Any help or suggestions would be welcome. Thanks!







      share|improve this question












      I am running Ubuntu 16.04 LTS with a Samsung 25" monitor at 1920x1200 (16:10). The monitor is reporting its size as 160x90mm rather than its actual 540x340mm. This might not normally be a problem for most apps which ignore the monitor size and just size by pixels, but I have a "smart" app that sizes itself thinking it is on the super-tiny monitor -- thus becomes unusable.



      So the trick is to somehow tell Ubuntu that the display size is 540x340mm.



      Here is what I know:
      1. The Displays utility shows 7" diagonal (i.e. 160x90mm).
      2. "xrandr -q" returns 160x90mm
      3. "xdpyinfo | grep -B2 resolution" returns 508x318mm.
      4. "sudo get-edid | parse-edid" shows "DisplaySize 160 90".



      The fourth fact involves actually reading the Extended Display Identification Data from the monitor and decoding it, which shows that the monitor is not returning its correct size.



      I tried making a xorg.conf file as follows:



      Section "Monitor"
      Identifier "Monitor0"
      VendorName "Samsung"
      ModelName "T260HD"
      DisplaySize 540 340
      EndSection



      I tried placing this file in the following places (so far):
      /etc/X11/xorg.conf
      /usr/share/X11/xorg.conf
      /usr/share/X11/xorg.conf.d/xorg_dag.conf



      Reebooting each time, but nothing changes.



      Any help or suggestions would be welcome. Thanks!









      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 22 at 3:41









      DAG

      11




      11

























          active

          oldest

          votes











          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',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          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%2f1027085%2fforcing-a-display-size-on-ubuntu-16-04%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1027085%2fforcing-a-display-size-on-ubuntu-16-04%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          pylint3 and pip3 broken

          Missing snmpget and snmpwalk

          How to enroll fingerprints to Ubuntu 17.10 with VFS491