Можно ли настроить x.org так, чтобы мышь можно было отключить на 2 дисплее?
А то неудобно, мышь так и хочет "вылезти" туда. 2й дисплей использую исключительно для вывода полноэкранного видео
X.org отключить мышь на 2м дисплее
Модератор: Модераторы разделов
-
Full Null
- Сообщения: 555
- Статус: Продвинутый ламер
- ОС: ArchLinux
X.org отключить мышь на 2м дисплее
Jabber: reiser_@jabber.ru
Я на LastFM: http://www.lastfm.ru/user/ReiserRUS
Я на LastFM: http://www.lastfm.ru/user/ReiserRUS
-
denel
- Сообщения: 497
- ОС: Gentoo Linux
Re: X.org отключить мышь на 2м дисплее
Код:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Clone" "off"
Option "Xinerama" "off"
EndSection
Section "Files"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/cyrillic"
FontPath "/usr/share/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/75dpi"
EndSection
Section "Module"
Load "extmod"
Load "dbe"
Load "glx"
Load "xtrap"
Load "record"
Load "freetype"
Load "dri"
EndSection
Section "ServerFlags"
Option "Xinerama" "0"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mouse1"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
#DisplaySize 470 300 # mm
### Comment all HorizSync and VertRefresh values to use DDC:
Identifier "Monitor0"
VendorName "ACR"
ModelName "AL2216W"
HorizSync 31.0 - 84.0
VertRefresh 56.0 - 77.0
Option "DPMS"
EndSection
Section "Monitor"
Identifier "Monitor1"
VendorName "Unkown"
ModelName "TV-0"
HorizSync 28.0 - 33.0
VertRefresh 49.0 - 51.0
ModeLine "720x576" 12.0 720 752 792 824 576 589 592 605 +hsync +vsync interlace
Option "DPMS"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "SWcursor" # [<bool>]
#Option "HWcursor" # [<bool>]
#Option "NoAccel" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "UseFBDev" # [<bool>]
#Option "Rotate" # [<str>]
#Option "VideoKey" # <i>
#Option "FlatPanel" # [<bool>]
#Option "FPDither" # [<bool>]
#Option "CrtcNumber" # <i>
#Option "FPScale" # [<bool>]
#Option "FPTweak" # <i>
#Option "DualHead" # [<bool>]
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "GeForce 7300 GT"
Option "RandRRotation" "True"
Option "RenderAccel" "True"
Option "PixmapCacheSize" "3000000"
Option "AllowSHMPixmaps" "0"
Option "OnDemandVBlankInterrupts" "True"
BusID "PCI:2:0:0"
Screen 0
EndSection
Section "Device"
Identifier "Card1"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "GeFeorce 7300 GT"
BusID "PCI:2:0:0"
Screen 1
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
Option "AllowGLXWithComposite" "True"
Option "AddARGBGLXVisuals" "True"
Option "NoLogo" "1"
Option "DPMS" "on"
Option "Backingstore" "True"
Option "HWcursor" "True"
Option "CursorShadow" "1"
Option "CursorShadowAlpha" "64"
Option "CursorShadowOffset" "2"
Option "XvmcUsesTextures" "true"
Option "Coolbits" "1"
Option "AllowDDCCI" "True"
Option "MultisampleCompatibility" "true"
Option "RandRRotation" "true"
Option "TwinView" "0"
Option "metamodes" "DFP: nvidia-auto-select +0+0"
Option "RenderAccel" "True"
Option "PixmapCacheSize" "3000000"
Option "AllowSHMPixmaps" "0"
Option "OnDemandVBlankInterrupts" "True"
SubSection "Display"
Viewport 0 0
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 "Screen"
Identifier "Screen1"
Device "Card1"
Monitor "Monitor1"
DefaultDepth 24
Option "AllowGLXWithComposite" "True"
Option "AddARGBGLXVisuals" "True"
Option "DPMS" "on"
Option "NoLogo" "1"
Option "Backingstore" "True"
Option "HWcursor" "True"
Option "CursorShadow" "1"
Option "CursorShadowAlpha" "64"
Option "CursorShadowXOffset" "2"
Option "CursorShadowYOffset" "4"
Option "XvmcUsesTextures" "true"
Option "Coolbits" "1"
Option "AllowDDCCI" "True"
Option "MultisampleCompatibility" "true"
Option "RandRRotation" "true"
Option "DigitalVibrance" "10"
Option "TVOutFormat" "Composite"
Option "TVOverScan" "25"
Option "SecondMonitorHorizSync" "30-50"
Option "SecondMonitorVertRefresh" "50"
Option "TwinView" "0"
Option "UseEdidFreqs" "True"
Option "TVFlickerFilter" "0"
Option "MetaModes" "TV: 720x576 +0+0"
Option "RenderAccel" "True"
Option "TVStandard" "PAL-G"
Option "ConnectedMonitor" "TV"
SubSection "Display"
Depth 24
Modes "720x576"
EndSubSection
EndSection
Section "Extensions"
Option "RANDR" "Enable"
Option "Composite" "Enable"
EndSectionсмотрите, сравнивайте.
-
Full Null
- Сообщения: 555
- Статус: Продвинутый ламер
- ОС: ArchLinux
Re: X.org отключить мышь на 2м дисплее
помогло. частично 
заменил
на
Но при переключении в полноэкранный режим на TV (с помощью lirc) курсор всё равно "уходит"... Приичём его опять можно вернуть обратно перетаскиванием. Фича xorg?
Просто у меня vlc+tv потоки, а при листании каналов он то переходит в полноэкранный режим, то возвращается обратно. Не очень удобно
заменил
Код: Выделить всё
Screen 1 "Screen1" RightOf "Screen0"на
Код: Выделить всё
Screen 1 "Screen1" 0 0Но при переключении в полноэкранный режим на TV (с помощью lirc) курсор всё равно "уходит"... Приичём его опять можно вернуть обратно перетаскиванием. Фича xorg?
Просто у меня vlc+tv потоки, а при листании каналов он то переходит в полноэкранный режим, то возвращается обратно. Не очень удобно
Jabber: reiser_@jabber.ru
Я на LastFM: http://www.lastfm.ru/user/ReiserRUS
Я на LastFM: http://www.lastfm.ru/user/ReiserRUS