Thomas Koch <[EMAIL PROTECTED]> writes:

Hi Thomas,

> When I use nvidia-settings to turn on the external monitor, then
> awesome takes both monitors as one big screen and maximizes the
> taskbar and all windows above both monitors.

NVidia's TwinView stuff has some Xinemara support/emulation.  I attach
an xorg.conf I used with my old samsung notebook which had a nvidia
card, too.  There, it worked ok, i.e. when starting X and a second
monitor was attached, windows did maximize only to the size of the
current monitor.  But plugging/unplugging monitors while X is up and
running didn't work.

Since some time I have a laptop with intel card and free drivers, and
xrandr works just beautiful.  I wouldn't buy a laptop which forces you
to use non-free drivers anymore. :-)

Bye,
Tassilo
#* Xorg.conf

#** Files

Section "Files"
    FontPath        "unix/:-1"
EndSection

#** Module

Section "Module"
    Load           "glx"
    Load           "bitmap"
    Load           "int10"
    Load           "synaptics"
    Load           "vbe"
EndSection

#** Input devices

#*** InputDevice keyboard

Section "InputDevice"
    Identifier     "keyboard"
    Driver         "evdev"
EndSection

#*** InputDevice touchpad

Section "InputDevice"
    Identifier     "touchpad"
    Driver         "synaptics"
    Option         "Protocol"           "auto-dev"
    Option         "SendCoreEvents"     "true"
    Option         "SHMConfig"          "on"
EndSection

#*** InputDevice mouse

Section "InputDevice"
    Identifier     "mouse"
    Driver         "evdev"
    Option         "Device"             "/dev/input/mice"
    Option         "Protocol"           "ExplorerPS/2"
    Option         "ZAxisMapping"       "4 5"
    Option         "Buttons"            "12"
    Option         "SendCoreEvents"     "true"
EndSection

#** Monitor

Section "Monitor"
    Identifier     "notebooktft"
    DisplaySize     310 232
    Option         "DPMS"
EndSection

#** Device

Section "Device"
    Identifier     "geforce"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce Go 7400"
    Option         "TwinView"  "on"
    Option         "TwinViewOrientation"        "DFP-0 LeftOf CRT-0"
    # Option         "TwinViewOrientation"        "Clone"
    Option         "DPI"                        "115x115"
EndSection

#** Screen

Section "Screen"
    Identifier     "screen"
    Device         "geforce"
    Monitor        "notebooktft"
    DefaultDepth    24
EndSection

#** ServerLayout

Section "ServerLayout"
    Identifier     "Normal"
    Screen         "screen"
    InputDevice    "keyboard" "CoreKeyboard"
    InputDevice    "touchpad" "CorePointer"
    InputDevice    "mouse"
EndSection

#** ServerFlags

Section "ServerFlags"
    Option         "RandR" "on"
EndSection
-- 
Chuck Norris invented a language that incorporates karate and roundhouse
kicks. So next time Chuck Norris  is kicking your ass, don't be offended
or hurt, he may be just trying to tell you he likes your hat.

Reply via email to