headbangerI’m just going to post my entire xorg.conf file here for perusal.

If, on the other hand, you are happy using the ‘nouveau’ driver, you will most likely have no xorg.conf file and you should stop reading now.

I’ve been playing around with graphics on Linux since around the beginning of the Bumblebee project at least.  (for those interested in Bumblebee for “hybrid-graphics”, there are several “Bumblebee” articles I’ve written at jedsdesk.com)

Some may have noticed that upon making the leap to the real deal Nvidia driver, your font sizes are messed up.  By adding the following to your /etc/X11/xorg.conf file, you should be quite happy with the results.

This is a pretty typical xorg.conf file if you happen to need one!  Minor adjustments may be needed to suit your particular hardware!

Section “ServerLayout”
    Identifier     “X.org Configured”
    Screen      0  “Screen0” 0 0
    InputDevice    “Mouse0” “CorePointer”
    InputDevice    “Keyboard0” “CoreKeyboard”
EndSection

Section “Files”
    ModulePath   “/usr/lib/xorg/modules”
    FontPath     “/usr/share/fonts/X11/misc”
    FontPath     “/usr/share/fonts/X11/cyrillic”
    FontPath     “/usr/share/fonts/X11/100dpi/:unscaled”
    FontPath     “/usr/share/fonts/X11/75dpi/:unscaled”
    FontPath     “/usr/share/fonts/X11/Type1”
    FontPath     “/usr/share/fonts/X11/100dpi”
    FontPath     “/usr/share/fonts/X11/75dpi”
    FontPath     “built-ins”
EndSection

Section “Module”
    Load    “glx”
EndSection

Section “InputDevice”
    Identifier  “Keyboard0”
    Driver      “kbd”
EndSection

Section “InputDevice”
    Identifier  “Mouse0”
    Driver      “mouse”
    Option        “Protocol” “auto”
    Option        “Device” “/dev/input/mice”
    Option        “ZAxisMapping” “4 5 6 7”
EndSection

Section “Monitor”
    Identifier   “Monitor0”
    VendorName   “Monitor Vendor”
    ModelName    “Monitor Model”
EndSection

Section “Device”
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: “True”/”False”,
        ### <string>: “String”, <freq>: “<f> Hz/kHz/MHz”,
        ### <percent>: “<f>%”
        ### [arg]: arg optional
        #Option     “SWcursor”               # [<bool>]
        #Option     “HWcursor”               # [<bool>]
        #Option     “NoAccel”                # [<bool>]
        #Option     “ShadowFB”               # [<bool>]
        #Option     “VideoKey”               # <i>
        #Option     “WrappedFB”              # [<bool>]
        #Option     “GLXVBlank”              # [<bool>]
        #Option     “ZaphodHeads”            # <str>
        #Option     “PageFlip”               # [<bool>]
        #Option     “SwapLimit”              # <i>
        #Option     “AsyncUTSDFS”            # [<bool>]
    Identifier  “Card0”
    Driver    “nvidia”
    Option      “Coolbits”    “1”
    Option      “AddARGBGLXVisuals”    “true”
    Option      “TripleBuffer”    “false”
    BusID       “PCI:1:0:0”
EndSection

Section “Screen”
    Identifier “Screen0”
    Device     “Card0”
    Monitor    “Monitor0”
        Option    “DPI”     “90 x 90”   #these are the two lines to add!!!
        Option    “nologo”    “true”         #these are the two lines to add!!!
    SubSection “Display”
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection “Display”
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection “Display”
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection “Display”
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection “Display”
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection “Display”
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

Section “Extensions”
    Option      “Composite”    “enable”
#    Option      “RENDER”    “disable”
EndSection

In the part of the file thats heading says ‘Section “Screen”‘, underneath the “Monitor   Monitor0” line there are two additions you need to make.  These are both “Option” settings.  They are as follows;

Option    “DPI”     “90 x 90”
        Option    “nologo”    “true”

The DPI option reduces the fonts system wide to the normal 90 x 90 that the nouveau driver was showing you all this time.  (the easy explanation)  The next line will stop the Nvidia splash logo from appearing everytime you reboot.  (right before it gets to the lightdm login screen)

Enjoy!

PS there is also the option (which has NEVER worked for me) of supposedly being able to enable the FN key on laptops to adjust the brightness level of your screen.  You can add it right after the two lines you added above.  It is as follows;

Option    “RegistryDwords”          “EnableBrightnessControl=1”

Adding it wont hurt anything, but good luck getting it to work.  If someone can easily explain how to “map keybindings” please post here how to do it!  (or PM me at the VSIDO forums, and I’ll be happy to write it up and credit whoever gets me correct directions)  I have been totally unsuccessful at mapping the fn keys on my laptop, short of some outrageous hacks that I’d never post here out of sheer embarrassment!  (i.e. Keyboard backlight brightness fn keys, Volume Up, Down, and Mute fn keys, the brightness control keys, etc…)

The following two tabs change content below.

admin

Raving Ranter at NixNut.com
My children and wife are my life! Worked in the computer industry as a network engineer, living between Maine and Indiana for the past 20 years or so. Love to write. Love Linux, the community it has inspired, and most importantly, I can run my computer free, better than yours, even with all that money spent to "buy" your OS. Oh yeah, I think I'm funny, (though I know looks aren't everything) and you'll laugh if you read my site posts!

Latest posts by admin (see all)