Ubuntu 9.10 How to set 96 dpi resolution for X sessions?[SOLVED]

Mark Goldshtein ubuntu.listmail at gmail.com
Fri Dec 18 22:13:18 UTC 2009


On Fri, Dec 18, 2009 at 9:45 AM, Mark Goldshtein
<ubuntu.listmail at gmail.com>wrote:

> Hello, List!
>
>
>
> Would you, please, help me to set 96 dpi resolution in any X session, which
> may be locally started on localhost?
>
>
>
> At the moment, the resolution is 111x117 pixels (1366x768 notebook display
> at nvidia mobile gt240 video board) according to 'xdpyinfo' output. The
> version of a video driver is corresponds to an official repository version.
>
>
>
> Yes, in GNOME Control Center a resolution value is set to 96 dpi. Googled
> solution to put a section '[standard-Server]' in gdm.conf is impossible,
> because there is no such file in proposed place, /etc/gdm/.
>
> Yes, I put '96x96 option' in xorf.conf under 'Monitor' section, but that
> does not work as well. Probably, I have used wrong config strings?
>
>
>
> If you, please, to help with a correct solution for Ubuntu 9.10? I need
> 'nailed' 96 dpi resolution.
>
> Thanks in advance!
>
> --
> Всего хорошего,
> WBR,
> Mark Goldshtein
>

Problem resolved by adding a string to /etc/X11/xorg.conf in 'Section
"Device"' NOT in Section "Monitor".
A fragment from working xorg.conf:

Section "Device"
    Identifier        "Default Device"
    Driver    "nvidia"
    Option    "NoLogo"    "True"
    Option    "DPI"        "96x96"
EndSection

Add and restart X session.

$ xdpyinfo |grep reso
  resolution:    96x96 dots per inch

-- 
Всего хорошего,
WBR,
Mark Goldshtein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20091219/50a00dfd/attachment.html>


More information about the ubuntu-users mailing list