自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

Fedora 顯示設備配置工具介紹(二)

系統(tǒng) Linux
當我們用Linux的桌面環(huán)境的時候,有時屏幕發(fā)生偏移或分辯率太低,解決辦法總共有兩個,一個是安裝顯示卡的以驅動,另一個方法是通過xorg-x11軟件包所提供的工具 gtf 來調(diào)整;

以下主要講Fedora 顯示設備配置工具介紹,希望對于Fedora 顯示設置不太懂的可以看看,希望對大家有所幫助。以下接《Fedora 顯示設備配置工具介紹(一)》。

3、gtf的用法;

gtf  h-resolution  v-resolution  refresh  [-v|--verbose]  [-f|--fbmode] [-x|--xorgmode]

舉例:我的顯示器支持1024x768 ,能達到85HZ,在X模式下;
[beinan@localhost ~]# /usr/X11R6/bin/gtf 1024 768 85 -x
# 1024x768 @ 85.00 Hz (GTF) hsync: 68.60 kHz; pclk: 94.39 MHz
Modeline "1024x768_85.00"  94.39  1024 1088 1200 1376  768 769 772 807  -HSync +Vsync

把上面的輸出的信息中Modeline一行,插入到/etc/X11/xorg.conf配置文件中的顯示器(Monitor)配置那段中;加入后類似;

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "LCD Panel 1280x1024"
        HorizSync    31.5 - 67.0
        VertRefresh  50.0 - 75.0
        Option      "dpms"
Modeline "1024x768_85.00"  94.39  1024 1088 1200 1376  768 769 772 807  -HSync +Vsync
EndSection

改動后,重啟X;重新進入桌面模式;

4、 xdpyinfo工具;

我們通過gtf 工具調(diào)整了顯示器的屬性,我們通過觀察一般就知道是不是可行了;比如屏幕不閃動的過于厲害;顯示區(qū)域處于顯示屏正中等;但我們還有一個測試工具xdpyinfo 來測試我們的調(diào)整 ;

xdpyinfo - display information utility for X (用于X的顯示信息測試工具);

[beinan@localhost ~]$ /usr/X11R6/bin/xdpyinfo

通過這個輸出,我們能查看到很多信息,最重要的有如下一段;

default screen number:    0
number of screens:    1

screen #0:
  dimensions:    1024x768 pixels (302x232 millimeters)
  resolution:    86x84 dots per inch
  depths (7):    24, 1, 4, 8, 15, 16, 32
  root window id:    0x3f
  depth of root window:    24 planes

我們可以在 xorg.conf中定義多個顯示屏幕,比如 1024x768;800x600等;顯示屏的定義的標識符號序列從0開始,以此類推;其實定義好一個就足夠用;默認的一般就行;如果我們自己調(diào)整,把1024x768類似的加入到screen 中色深為24那段的 Modes 行中;然后把默認色深設置為24就好;

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     16
                Modes    "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1280x1024" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

其實上面的一段,我們足可以把色深為16的那段刪除或者下面的一段每行前面加#號注掉;因為我們用的是 24的;

SubSection "Display"
                Viewport   0 0
                Depth     16
                Modes    "800x600" "640x480"
EndSubSection

如果我們只有把 DefaultDepth 24 中的24改為16時,這段才起作用;

希望《Fedora 顯示設備配置工具介紹》對大家有所幫助。

【編輯推薦】

  1. Fedora 顯示設備 配置工具介紹(一)
  2. Fedora 顯示設備 配置工具介紹(二)
  3. Linux 系統(tǒng)硬件管理的基礎知識(三)
  4. Linux 系統(tǒng)硬件管理的基礎知識(四)
  5. Ubuntu Linux至少適合5種人

 

責任編輯:志輝 來源: Fedora
相關推薦

2010-03-17 13:30:09

Fedora 顯示

2010-03-17 17:13:55

Fedora 常用軟件

2013-11-12 10:15:59

FedoraFedora 20ARM

2009-12-28 09:51:17

Fedora GNOM

2009-12-15 15:46:23

Fedora平臺

2009-12-18 16:34:47

Fedora proc

2010-03-12 10:20:19

Fedora內(nèi)核

2009-12-24 17:06:35

編譯Fedora內(nèi)核

2009-12-22 15:58:08

2009-12-23 19:13:40

Fedora Linu

2010-01-12 11:02:35

Fedora yum管

2009-12-22 14:22:39

Fedora Core

2009-12-21 17:45:26

Fedora Core

2009-12-28 15:59:25

Fedora yum

2010-01-11 18:01:52

Fedora 9硬盤安

2009-12-23 18:58:51

Fedora 7

2009-12-17 18:50:27

2009-12-18 13:43:22

2010-01-12 14:58:29

2009-12-21 10:12:56

安裝Fedora 7
點贊
收藏

51CTO技術棧公眾號