rss· 投稿· 设为首页· 加入收藏· 繁體版
当前位置: 火魔网 » 操作系统 » Linux桌面

Debian LINUX 基础常识介绍-Linux计算机(3)

Debian Linux 3.1

==============================================

安装过程:

1、增加APT源:

deb ./

deb ./

2、安装基础程序:

apt-get install debhelper kernel-package fakeroot

国外教程中还包括下面几个基础程序:

(libqt3-mt-dev xlibs-dev libxtst-dev rpm wget)

3、安装fglrx程序:

apt-get install fglrx-driver

apt-get install fglrx-kernel-src

国外教程中提到我们要验证下面包否安装:

(fglrx-driver.deb fglrx-driver-dev.deb fglrx-kernel-src.deb

fglrx-control-qt3.deb fglrx-sources.deb)

4、安装fglrx核心,对应你内核版本:

apt-get install fglrx-kernel-2.6.8-2-386

5、安装完成以后将会生成 fglrx-4.3.0-3.9.0.tar.gz 这个包。

/usr/src/目录下.进入目录.解压缩该包。

tar -zxvf /usr/src/fglrx-4.3.0-3.9.0.tar.gz

cd /usr/src/modules/fglrx-4.3.0-3.9.0

6、进入 /usr/src/modules/fglrx 目录开始编译。

./make.sh

如果提示如下错误: Link /lib/modules/2.6.8-2-386/build does not exist (or is not a link)

请执行如下安装: apt-get install kernel-headers-2.6.8-2 kernel-kbuild-2.6-3

7、编译成功后会提示你把 fglrx.ko 拷贝到 /lib/modules/2.6.5/misc 下

cp fglrx.ko /lib/modules/2.6.5/misc

运行如下命令:

depmod -ae转载请注明出处:,,

查看 fglrx.ko 这个模块否存:

modprobe -l

(如果没有这个命令,我通过查询Debian包信息,安装下面包:

apt-get install module-init-tools modutils)

8、加载模块:

module-assistant prepare

module-assistant a-i fglrx

(如果没有这个命令.我同样查询Debian官方站点,查询并安装:

apt-get install module-assistant)

9、安装模块:

modprobe fglrx

10. 配置ATI驱动:

fglrxconfig

测试显卡:

glxgears

显卡状态:

glxinfo

11、调整XF86Config-4

将Load %26quot;extmod%26quot; 替换成:

# Load %26quot;extmod%26quot; but omit DGA extension

# (the DGA extension is broken in the fglrx driver)

SubSection %26quot;extmod%26quot;

Option %26quot;omit xfree86-dga%26quot;

EndSubSection

Section %26quot;Device%26quot;按如下修改:

Section %26quot;Device%26quot;

Identifier %26quot;ATI%26quot;

Driver %26quot;fglrx%26quot; # this is the important bit

Option %26quot;VideoOverlay%26quot; %26quot;on%26quot;

Option %26quot;OpenGLOverlay%26quot; %26quot;off%26quot;

Option %26quot;UseInternalAGPGART%26quot; %26quot;no%26quot; #出现问题改成Yes

EndSection

Section %26quot;Screen%26quot; 中 Device 改成 ATI

Section %26quot;DRI%26quot;如下修改:

Section %26quot;DRI%26quot;

Mode 0666

EndSection

==============================================

非常感谢你能坚持到这里,为了表示奖励,HOHO。本人告诉你一个非常简单安装ATI显卡办法。就,直接登陆 下载 Linux 驱动。

ATI完整版驱动 For XFree86 下载地址:

下载完以后个 *.run 文件,直接运行就可以了。

运行完以后记得修改 /etc/X11/XF86Config-4 配置,怎么修改?按照上面第11步修改就行了,OVER。

$$分页$$

Debian Cedega 支持中文配置方法

vim ~/.transgaming/config

[FontAlias]

%26quot;Times New Roman%26quot;=%26quot;simsun%26quot;

%26quot;MS Serif%26quot;=%26quot;Times New Roman%26quot;

%26quot;Arial%26quot;=%26quot;simsun%26quot;

%26quot;Helv%26quot;=%26quot;simsun%26quot;

%26quot;MS Sans Serif%26quot;=%26quot;simsun%26quot;

%26quot;System%26quot;=%26quot;simsun%26quot;

%26quot;Tahoma%26quot;=%26quot;simsun%26quot;

Debian Linux 下中文输入法 SCIM 配置

1、安装 scim scim-chinese scim-config-gconf 和 im-switch

dpkg -i im-switch_1.2.deb

apt-get install scim scim-chinese scim-config-gconf

目前 SCIM 应该最通用输入法了,使用 Synaptic GUI 可以直接选择安装。im-switch 切换输入法软件,必须装。否则 Ctrl+空格无法激活任何一种输入法。

2、建立启动环境文件

vim /etc/X11/xinit/xinput.d/default

GTK_IM_MODULE=SCIM

XIM=SCIM

XIM_PROGRAM=%26quot;/usr/bin/scim%26quot;

XIM_ARGS='-d'

$$分页$$

Debian Linux X-Server 分辨率微调

[方法一] 可以使用 gtf 命令计算出显示器分辨率相关值:

gtf 1024 768 100

计算 1024x768 100HZ 相关值,输出如下:

# 1024x768 @ 100.00 Hz (GTF) hsync: 81.40 kHz; pclk: 113.31 MHz

Modeline %26quot;1024x768_100.00%26quot; 113.31 1024 1096 1208 1392 768 769 772 814 -HSync +Vsync

将上面 Modeline 那一行加入到 X 配置文件中 monitor 字段部分就可以了。

[方法二] 直接修改 XFree86Config 文件中行频和场频:

使用 xvidtune 命令可以启动一个GUI微调窗口,前提你已经正确安装了显卡驱动程序。

我们可以使用VI来编辑X配置文件,直接如下字段修改:

HorizSync 30.0 - 85.0

VertRefresh 50.0 - 160.0

上面我 LG711S 官方值,我自己查网站获得。

建议自己修改时候严格参考说明书,设置过高烧掉了显示器不要哭啊。

补充:

场频: 场频又称为“垂直扫描频率”或“刷新率”。指单位时间(以秒计)之内电子枪对整个屏幕进行扫描次数,通常以赫兹(Hz)表示。以85Hz刷新率为例,它表示显示器内容每秒钟刷新85次。

行频: 行频又称为“水平扫描频率”。指电子枪每秒荧光屏上扫过水平线数量。其值等于“场频 × 垂直分辨率×1.04”,单位为KHz(千赫兹)。行频一个综合分辨率和场频参数,该值越大,显示器可以提供分辨率越高,稳定性
顶一下
(0)
踩一下
(0)