PDA

View Full Version : [all variants] Dual X-sessions, dual keyboards



jonasback
August 24th, 2010, 09:29 PM
Hello!

I'll try to explain shortly what I'd like to do. I have my computer set up with dual x-screens. (Configured by nvidia-settings) The first x-screen is on my primary monitor. The second one is on my TV. What I'd like to do is lock my keyboard and mouse to my primary monitor, and disable moving the mouse to the second monitor. (TV)

I've got another keybaord hooked up via bluetooth. (Logitech Dinovo Mini). I'd like to bind this keyboard to my second display. i.e. the second x-screen.

Anyone know how this could be done?




# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 256.44 (buildmeister@builder103.nvidia.com) Thu Jul 29 01:52:36 PDT 2010

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Samsung SyncMaster"
HorizSync 30.0 - 75.0
VertRefresh 56.0 - 61.0
Option "DPMS"
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Unknown"
ModelName "SAMSUNG"
HorizSync 26.0 - 81.0
VertRefresh 24.0 - 75.0
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 9800 GTX/9800 GTX+"
BusID "PCI:2:0:0"
Screen 0
EndSection

Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 9800 GTX/9800 GTX+"
BusID "PCI:2:0:0"
Screen 1
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "DFP-0: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Device1"
Monitor "Monitor1"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "DFP-1: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

jonasback
August 25th, 2010, 09:15 PM
bump