You are not logged in.

#1 2012-10-31 16:06:38

kc3
Member
Registered: 2012-02-24
Posts: 32

DPI Issue - NVIDIA Driver

I normally use Gnome, not just because I like it but once I install the NVIDIA driver it's the only one that displays text at the appropriate size, well as the latest update seems to have borked my gnome I've been thinking maybe I should stick with something more simple, such as fluxbox which I used to use in slackware. Problem is in any interface other than gnome the text is really really big, I tested in KDE it had the same problem but than went into the settings and changed the dpi to 120 instead of 96 and it looks just fine (however GTK applications still had the same problem) how can I fix this? Any help would be appreciated.

Offline

#2 2012-10-31 17:36:46

johni
Member
Registered: 2012-02-03
Posts: 102

Re: DPI Issue - NVIDIA Driver

With the binary nvidia driver you can manually set the DPI in the /etc/X11/xorg.conf.d,
one of the files there probably has a 'Section "Device"', and in that section it has a 'Driver "nvidia"'.  Somewhere in that section, add 'Option "DPI" "96x96"'

Here is an example from my 20-nvidia.conf file:

Section "Device"
    Identifier "8600GT"
    Driver "nvidia"
    Option "RenderAccel" "1"
    Option "CoolBits" "1"
    Option "AddARGBGLXVisuals" "True"
    Option "AllowGLXWithComposite" "True"
    Option "backingstore" "False"
    Option "TripleBuffer" "True"
    Option "AllowIndirectPixmaps" "False"
    Option "AllowSHMPixmaps" "0"
    Option "PixmapCacheSize" "1000000"
    Option "UseEvents" "False"
    Option "UseEDIDDpi" "False"
    Option "DPI" "96x96"
EndSection

It is also possible that your desktop environment is changing the DPI.  If so, you will have to find the setting in the desktop config.

Offline

#3 2012-11-01 22:30:49

kc3
Member
Registered: 2012-02-24
Posts: 32

Re: DPI Issue - NVIDIA Driver

Thanks for the response, however I didnt have any file that contained that information. Regardless I went ahead and reinstalled, I really like Gnome3 lol

Offline

#4 2018-06-19 15:28:55

kgmoney
Member
Registered: 2018-06-19
Posts: 1

Re: DPI Issue - NVIDIA Driver

johni wrote:

add 'Option "DPI" "96x96"'

Thanks, worked for me!

Offline

#5 2018-06-19 16:04:45

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: DPI Issue - NVIDIA Driver


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB