- 论坛徽章:
- 0
|
如何分区如何双启动 网络设置 自己看手册等等
默认安装后
# Xorg -configure
这会在 /root 中生成一个叫做 xorg.conf.new 的配置文件 (无论您使用
su(1)
或直接登录,
都会改变默认的 $HOME 目录变量)。 X11
程序将尝试探测系统中的图形硬件,并将探测到的硬件信息写入配置文件,
以便加载正确的驱动程序。
下一步是测试现存的配置文件, 以确认 Xorg
能够同系统上的图形设备正常工作。 要完成这个任务,只需:
# Xorg -config xorg.conf.new
如果用户看到一个黑灰的格子和一个 X 形的鼠标指针,那么配置就是成功的。 要退出测试,
只要同时按下 Ctrl+Alt+Backspace。
不成功 如下
我一般就不测试直接上gonme2
xorg.conf.new 内容修改两处 涉及显示器参数
很容易 这句话 要理解 Xorg 能够自动地通过 I2C/DDC
信息来自动获取宽屏显示器的分辨率信息, 并处理显示器支持的频率和分辨率。
看我的 参数
默认Xorg -configure xorg.conf.new 参数
只看两段 也就修改这两段
显示器 硬件参数
Section "Monitor"
#DisplaySize 320 240 # mm
Identifier "Monitor0"
VendorName "LEN"
ModelName "LXB-HF769A"
### Comment all HorizSync and VertRefresh values to use DDC:
HorizSync 30.0 - 70.0
VertRefresh 50.0 - 160.0
Option "DPMS"
EndSection
默认启动桌面 分辨率参数
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
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 "Monitor"
Identifier "Monitor0"
VendorName "LEN"
ModelName "LXB-HF769A"
HorizSync 30.0 - 70.0
VertRefresh 50.0 - 160.0
Option "DPMS"
EndSection
把注解的说明去掉用显示器默认的I2C/DDC
信息 仔细看我去掉了那些东西
第二项
分辨率 仔细看
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24 (我比较懒增添该行默认24)
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" (告诉系统分辨率为1024x768)
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
一般这样做可以直接测试成功
修改后的 xorg.conf.new 要 cp xorg.conf.new /etc/X11/xorg.conf 后就OK了
然后 就选择自己要安装的桌面 比如 GNOME KDE xfce4 fvwm fluxb (稍后补上完整安装,省去搜索之苦阿)
自带的程序: KDE>GNOME>XFCE>FVWM
启动速度: FVWM GNOME> XFCE > FVWM
GUI接口:XFCE&GNOME-GTK,KDE-QT,fvwm本身不依赖于GTK和QT
fvwm-themes: /usr/ports/x11-themes/fvwm-themes
这里是连接
http://wiki.freebsdchina.org/doc/x/freebsd_desktop
恐怕不长久 等会开个标题 整个拷贝进去
等等
举例
# pkg_add -r gnome2
# pkg_add -r scim (安装输入法)
# pkg_add -r mplayer (看电影的)
# pkg_add -r audacious(轻量级听歌的)
# pkg_add -r firefox3 (这个也要安装)
echo "/usr/local/bin/gnome-session" > ~/.xinitrc
这个是我的 .xinitrc 文件内容
export LANG="zh_CN.UTF-8"
export LC CTYPE="zh_CN.UTF-8"(这两行告诉系统用中文)
export XMODIFIERS="@im=SCIM"(默认的输入法)
scim -d (随桌面启动输入法)
#/usr/local/bin/gnome-session
#fvwm-themes-start
#fluxbox
xfce4-session
#startkde
启动是就startx
通过上面的文件大家可以看到我用的是xfce4
然后
就可以冲浪了 能打开网页 还怕什么 无穷尽的知识 学吧 爽吧
好多都是进不了桌面 在此停滞, 仔细看向前冲 冲 冲
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/34109/showart_1852139.html |
|