在Linux中讓xorg支援寬屏以及滑鼠的中鍵支援(轉)
在Linux中讓xorg支援寬屏以及滑鼠的中鍵支援(轉)[@more@]新買的寬屏一直在linux下表現的差強人意,最近終於搞定。
1、xorg支援寬屏(注:此方法適合nv和ati的卡)
首先確認你的顯示卡支援非標準的解析度(上官方網站查)
最佳解決方案:
bash#gtf 1440 900 60
# 1440x900 @ 60.00 Hz (GTF) hsync: 55.92 kHz; pclk: 106.47 MHz
Modeline "1440x900_60.00" 106.47 1440 1520 1672 1904 900 901 904 932 -HSync +Vsync
示出1440x900@60Hz的modeline,將其新增到xorg.conf的Section "Monitor"中
比如我的:
Section "Monitor"
Identifier "Monitor0"
VendorName "AOC 193FW"
ModelName "General LCD Panel"
Option "DPMS" "True"
HorizSync 30.0-80.0
VertRefresh 55.0-75.0
ModeLine "1440x900_60.00" 106.47 1440 1520 1672 1904 900 901 904 932 -HSync +Vsync
EndSection
當然還有比較次的解決方案:
將Virtual 1440 900新增到Section "Screen"中。
比如這樣:
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Virtual 1440 900
Depth 24
EndSubSection
2、讓滑鼠的中鍵好用起來
將Option "ZAXisMapping" "4 5"新增到Section "InputDevice"中。
比如我的:
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "ImPS/2"
Option "Device" "/dev/psaux"
Option "ZAXisMapping" "4 5"
EndSection
1、xorg支援寬屏(注:此方法適合nv和ati的卡)
首先確認你的顯示卡支援非標準的解析度(上官方網站查)
最佳解決方案:
bash#gtf 1440 900 60
# 1440x900 @ 60.00 Hz (GTF) hsync: 55.92 kHz; pclk: 106.47 MHz
Modeline "1440x900_60.00" 106.47 1440 1520 1672 1904 900 901 904 932 -HSync +Vsync
示出1440x900@60Hz的modeline,將其新增到xorg.conf的Section "Monitor"中
比如我的:
Section "Monitor"
Identifier "Monitor0"
VendorName "AOC 193FW"
ModelName "General LCD Panel"
Option "DPMS" "True"
HorizSync 30.0-80.0
VertRefresh 55.0-75.0
ModeLine "1440x900_60.00" 106.47 1440 1520 1672 1904 900 901 904 932 -HSync +Vsync
EndSection
當然還有比較次的解決方案:
將Virtual 1440 900新增到Section "Screen"中。
比如這樣:
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Virtual 1440 900
Depth 24
EndSubSection
2、讓滑鼠的中鍵好用起來
將Option "ZAXisMapping" "4 5"新增到Section "InputDevice"中。
比如我的:
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "ImPS/2"
Option "Device" "/dev/psaux"
Option "ZAXisMapping" "4 5"
EndSection
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10617731/viewspace-950278/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 在access中增加農曆支援模組. (轉)
- 讓linux支援你的DMA66硬碟(轉)Linux硬碟
- Linux漢化之讓MandrakeLinux支援中文(轉)Linux
- 如何讓任何小程式都支援在windows系統中開啟?Windows
- 眾多Logitech滑鼠/鍵盤支援改進Git
- 讓JavaScript中setTimeout支援鏈式操作的方法JavaScript
- osx中讓idea支援jdk8的方法IdeaJDK
- spring中對hibernate的支援(轉)Spring
- 讓VC++支援中文 (轉)C++
- 讓LINUX成功支援Cirrus Logic軟貓(轉)Linux
- Redhat linux 9下讓PHP支援java類(轉)RedhatLinuxPHPJava
- 讓windows cmd 支援utf8中文Windows
- 微軟XboxOne遊戲將支援鍵盤滑鼠操控微軟遊戲
- 微軟將在資料庫軟體中增加對java的支援 (轉)微軟資料庫Java
- 技術支援在大資料分析中的作用大資料
- 讓預設安裝的Linux支援中文Linux
- IT職場:支援在六西格瑪中必不可少
- DBMS_FLASHBACK_ARCHIVE在Oracle版本中的支援情況HiveOracle
- 微軟Xbox One新預覽版推送:支援滑鼠鍵盤微軟
- 讓Web專案中Velocity的#parse支援相對路徑Web
- 讓你的Mozilla支援XML資料島 (轉)XML
- SQL Server 中的稀疏列支援SQLServer
- JavaScript滑鼠中鍵滾動事件JavaScript事件
- Linux或增加VMware支援 讓其與Xen平等競爭(轉)Linux
- 專家:桌面Linux普及關鍵是驅動程式支援(轉)Linux
- 怎麼在tomcat支援的網頁中開啟pptTomcat網頁
- 讓apache支援phpApachePHP
- 滑鼠雙擊在Excel中的妙用Excel
- [譯] 支援庫 27.1.0 中的 Loader
- tkinter中滑鼠與鍵盤事件(十五)事件
- Linux中如何找出系統所支援的最大記憶體Linux記憶體
- 讓Pqmagic在Server版中執行 (轉)Server
- 讓Acrobat5支援Office XP(轉)BAT
- 讓ubuntu支援新浪微博Ubuntu
- 讓MySQL支援歐元字元MySql字元
- 安裝配置xorg [Install and configure xorg](轉)
- JavaScript實現的水果忍者遊戲,支援滑鼠操作JavaScript遊戲
- Swinsian for Mac(支援寬屏格式的音樂播放器) 3.0 Preview 10中文版Mac播放器View