Welcome to
Frédéric Schoenahl's Homepage

Back home

toshiba image
Toshiba Satellite 2410 on Linux (configuration data)

X.org flexible configuration

A startx alternative for multiboot off the X.org server

All below information is related to an installation of Linux Slackware 10.2 on an i386 (standard PC) Toshiba P20 machine. Other linux distributions should also accept this configuration.

XORG Configuration

This configuration file provides four layouts that are useful, here is the how-to call them and their description:

  • startx -- -layout fbtouchpad - launches an X server based on the framebuffer and with the touchpad
  • startx -- -layout fbusbmouse - launches an X server based on the framebuffer and with an USB mouse connected
  • startx -- -layout nvtouchpad - launches an X server supporting NVidia drivers (they should have been installed prior from the NVidia drivers page) following the manufacturers instructions (linux is IA32) and with the touchpad
  • startx -- -layout nvtouchpad - launches an X server supporting NVidia drivers (same remark as above about NVidia) and with an USB mouse

Please have a look at the startx.alternative section for a pretty interface to these features

# XORG.CONF by F. Schoenahl (c) 2005
# for Toshiba 2410 S - see layouts for
# different boot options. 

Section "Module"

    Load        "dbe"   # Double buffer extension
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension

    EndSubSection
    Load        "type1"
    Load        "freetype"
    Load        "speedo"

    Load        "glx"
EndSection

Section "Files"
    RgbPath    "/usr/X11R6/lib/X11/rgb"
    FontPath   "/usr/X11R6/lib/X11/fonts/local/"

    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"

    FontPath   "/usr/X11R6/lib/X11/fonts/CID/"
    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"

    FontPath   "/usr/X11R6/lib/X11/fonts/cyrillic/"
EndSection

Section "ServerFlags"
EndSection

Section "InputDevice"

    Identifier  "toshkb"
    Driver      "kbd"
    Option      "CoreKeyboard"
    Option      "XkbLayout" "fr_CH"

    Option      "XkbModel"  "pc102"
    Option      "XkbRules"  "xfree86"
EndSection

Section "InputDevice"
    Identifier  "usbmouse"
    Driver      "mouse"
    Option      "Protocol"    "IMPS/2"

    Option      "Device"      "/dev/mouse"
    Option      "ZAxisMapping"  "4 5"
EndSection

Section "InputDevice"
   Identifier   "touchpad"
   Driver       "mouse"
   Option       "CorePointer"

   Option       "Protocol"      "PS/2"
   Option       "Device"        "/dev/psaux"
   Option       "ZAxisMapping"  "4 5"

EndSection

Section "Monitor"
    Identifier  "lcdmon"
    HorizSync   28-60

    VertRefresh 43-72
    Option      "DPMS"
    Option      "NoDDC" "1"

EndSection

Section "Device"
    Identifier  "VESA Framebuffer"
    Driver      "vesa"
EndSection

Section "Device"
    Identifier  "NVidia standard"
    Driver      "nvidia"
EndSection


Section "Screen"
    Identifier  "fbscreen"
    Device      "VESA Framebuffer"
    Monitor     "lcdmon"

    DefaultDepth 24
    Subsection "Display"
        Depth       8
        Modes "1024x768" "800x600" "640x480"

    EndSubsection
    Subsection "Display"
        Depth       16
        Modes "1024x768" "800x600" "640x480"

    EndSubsection
    Subsection "Display"
        Depth       24
        Modes "1024x768" "800x600" "640x480"

    EndSubsection
    Subsection "Display"
        Depth       32
        Modes "1024x768" "800x600" "640x480"

    EndSubsection
EndSection

Section "Screen"
    Identifier  "nvscreen"
    Device      "NVIDIA standard"

    Monitor     "lcdmon"
    DefaultDepth 24
    Option      "NoDDC" "1"

    Option      "NvAgp" "3"
    Subsection "Display"
        Depth       8
        Modes "1024x768" "800x600" "640x480"

    EndSubsection
    Subsection "Display"
        Depth       16
        Modes "1024x768" "800x600" "640x480"

    EndSubsection
    Subsection "Display"
        Depth       24
        Modes "1024x768" "800x600" "640x480"

    EndSubsection
    Subsection "Display"
        Depth       32
        Modes "800x600" "640x480"

    EndSubsection
EndSection



Section "ServerLayout"
    Identifier  "fbusbmouse"
    Screen      "fbscreen"

    InputDevice "usbmouse" "CorePointer"
    InputDevice "toshkb" "CoreKeyboard"
EndSection

Section "ServerLayout"
    Identifier  "fbtouchpad"
    Screen      "fbscreen"
    InputDevice "touchpad" "CorePointer"

    InputDevice "toshkb" "CoreKeyboard"
EndSection

Section "ServerLayout"
    Identifier  "nvtouchpad"

    Screen      "nvscreen"
    InputDevice "touchpad" "CorePointer"
    InputDevice "toshkb" "CoreKeyboard"

EndSection

Section "ServerLayout"
    Identifier  "nvusbmouse"
    Screen      "nvscreen"
    InputDevice "usbmouse" "CorePointer"

    InputDevice "toshkb" "CoreKeyboard"
EndSection

Download this file

^ Back to top



StartX pretty startup

This file provides a pretty startup for the X.org system server. In order to use it, rename it to e.g. 'x' and put it in a conventional path (e.g. /usr/local/bin). As root change its access rights, you can do like this :

# mv startx.alternative x
# chmod u+x x
# cp x /usr/local/bin

Now running 'x' will display :

Download this file

^ Back to top

Directory listing: