Section "ServerLayout" Identifier "aticonfig Layout" Option "AIGLX" "True" InputDevice "Kbd" InputDevice "Mouse0" # Turn off HAL !!! #Option "AutoAddDevices" "off" EndSection Section "InputDevice" Identifier "Mouse0" Driver "evdev" Option "CorePointer" # Using udev rule instead #Option "Device" "/dev/mouse-razor" Option "Device" "/dev/input/by-id/usb-Razer_Razer_DeathAdder-event-mouse" #Option "Name" "Mouse" Option "Buttons" "9" Option "WHEELRelativeAxisButtons" "4 5" Option "HWHEELRelativeAxisButtons" "7 6" ##Option "AccelerationScheme" "lightweight" ##Option "AccelerationScheme" "none" #Option "AccelerationScheme" "predictable" #Option "AccelerationProfile" "5" # power function #Option "AccelerationProfileAveraging" "False" ##Option "ConstantDeceleration" "2.3" #Option "AdaptiveDeceleration" "2.3" #Option "Softening" "False" #Option "AccelerationNumerator" "1" #Option "AccelerationDenominator" "1" #Option "AccelerationProfile" "-1" #Option "AccelerationScheme" "none" #Option "AccelSpeed" "-1" Option "AccelerationScheme" "predictable" Option "AccelerationProfile" "4" Option "AdaptiveDeceleration" "6.3" Option "AccelerationNumerator" "1" Option "AccelerationDenominator" "3" Option "Resolution" "1000" Option "SampleRate" "1000" Option "SendCoreEvents" "true" Option "Emulate3Buttons" "False" EndSection Section "InputDevice" Identifier "Kbd" Driver "evdev" Option "CoreKeyboard" # Using udev rule instead Option "Device" "/dev/kbd-ms" Option "XkbLayout" "us,ru" Option "XkbOptions" "ctrl:nocaps,terminate:ctrl_alt_bksp,altwin:menu,compose:ralt" EndSection Section "Files" # Multiple FontPath entries are allowed (which are concatenated together), # as well as specifying multiple comma-separated entries in one FontPath # command (or a combination of both methods) # # FontPath "/usr/lib/X11/fonts/local/" # FontPath "/usr/lib/X11/fonts/misc/" # FontPath "/usr/lib/X11/fonts/75dpi/:unscaled" # FontPath "/usr/lib/X11/fonts/100dpi/:unscaled" # FontPath "/usr/lib/X11/fonts/Type1/" # FontPath "/usr/lib/X11/fonts/TrueType/" # FontPath "/usr/lib/X11/fonts/freefont/" # FontPath "/usr/lib/X11/fonts/75dpi/" # FontPath "/usr/lib/X11/fonts/100dpi/" # The module search path. The default path is shown here. # ModulePath "/usr/lib/modules" FontPath "/usr/share/fonts/misc/" FontPath "/usr/share/fonts/TTF/" FontPath "/usr/share/fonts/OTF" FontPath "/usr/share/fonts/Type1/" FontPath "/usr/share/fonts/100dpi/" FontPath "/usr/share/fonts/75dpi/" FontPath "/usr/share/fonts/corefonts/" FontPath "/usr/share/fonts/cyrillic/" FontPath "/usr/share/fonts/default/" FontPath "/usr/share/fonts/terminus/" EndSection Section "Module" Load "GLcore" Load "glx" Load "dri" # включить vnc сервер (пакет tigervnc). #Load "vnc" EndSection Section "ServerFlags" #Option "Xinerama" "on" Option "Xinerama" "off" Option "AllowMouseOpenFail" "on" #Option "IgnoreABI" "on" Option "AIGLX" "true" EndSection Section "Monitor" Identifier "monLeft" Option "DPMS" #Option "PreferredMode" "2048x1152" #Modeline "2048x1152" 59.9 156.75 2048 2096 2128 2208 1152 1155 1160 1185 +hsync -vsync #Modeline "2048x1152_59.9" 156.75 2048 2096 2128 2208 1152 1155 1160 1185 +hsync -vsync EndSection Section "Monitor" Identifier "monRight" #Option "RightOf" "monLeft" # does not work and one of the monitors is turned off!!! Option "DPMS" #Option "PreferredMode" "2048x1152" #Modeline "2048x1152" 59.9 156.75 2048 2096 2128 2208 1152 1155 1160 1185 +hsync -vsync #Modeline "2048x1152_59.9" 156.75 2048 2096 2128 2208 1152 1155 1160 1185 +hsync -vsync EndSection Section "Device" Identifier "aticonfig-Device[0]-0" #Driver "radeon" Driver "amdgpu" # под xf86-video-ati софтовый курсор глючит Option "SWcursor" "off" # software cursor # не используется #Option "DynamicPM" "on" Option "TearFree" "on" Option "EnablePageFlip" "on" Option "ClockGating" "on" #Option "ForceLowPowerMode" "on" Option "ColorTiling" "on" Option "ColorTiling2D" "on" #Option "ColorTiling" "off" #Option "ColorTiling2D" "off" Option "DRI3" "on" Option "AccelMethod" "glamor" #Option "Monitor-DVI-D-0" "monLeft" #Option "Monitor-HDMI-A-0" "monRight" # BusID "PCI:1:0:0" BusID "PCI:6:0:0" EndSection Section "Screen" Identifier "aticonfig-Screen[0]-1" Device "aticonfig-Device[0]-0" Monitor "MonLeft" DefaultDepth 24 # # ====================VNC====================================================== # # спрашивать пароль при подключении через vnc # Option "SecurityTypes" "VncAuth" # Option "UserPasswdVerifier" "VncAuth" # # спрашивать разрешения при подключении. Должна быть запущена программа vncconfig # Option "QueryConnect" "on" # # пароль для подключения берется из этого файла. Файл создается через vncpasswd # Option "PasswordFile" "/root/.vnc/passwd" # # ====================VNC====================================================== EndSection Section "Extensions" #Option "Composite" "off" Option "Composite" "on" EndSection Section "DRI" Group 0 Mode 0666 EndSection