Chinaunix首页 | 论坛 | 博客
  • 博客访问: 198908
  • 博文数量: 103
  • 博客积分: 5051
  • 博客等级: 大校
  • 技术积分: 1155
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-08 11:07
文章分类

全部博文(103)

文章存档

2011年(1)

2010年(2)

2009年(100)

我的朋友

分类: LINUX

2009-04-29 22:05:50

安装完成后的

1、修改/etc/X11/xorg.conf:

1.1、# The available mouse protocols types that you can set below are:
# Auto BusMouse GlidePoint GlidePointPS/2 IntelliMouse IMPS/2
# Logitech Microsoft MMHitTab MMSeries Mouseman MouseManPlusPS/2
# MouseSystems NetMousePS/2 NetScrollPS/2 OSMouse PS/2 SysMouse
# ThinkingMouse ThinkingMousePS/2 Xqueue
Option "Protocol" "IMPS/2"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5" #修改成这样使支持鼠标滚轮


1.2、将有关显卡设置的内容修改成如下:

# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

Section "Device"
Identifier "intel"
Driver "intel"
EndSection

# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
Identifier "Screen 1"
Device "intel"
Monitor "My Monitor"
这样intel X3100显卡就能正常驱动了,重启计算机后,显示分辨率就自动变成了1280x800。

2、修改/etc/profile.d/lang.sh成如下:
#!/bin/sh
# Set the system locale. (no, we don't have a menu for this ;-)
# For a list of locales which are supported by this machine, type:
# locale -a

# en_US is the Slackware default locale:
#export LANG=en_US
export LANG=zh_CN.UTF-8
export LC_ALL=zh_CN.UTF-8
G_BROKEN_FILENAMES=1
这样进入KDE桌面后中文就能正常显示了。

3、修改/etc/fstab文件成如下:
/dev/sda1 /mnt/win-c ntfs-3g locale=zh_CN.UTF-8,umask=000 1 0
/dev/sda5 /mnt/win-d ntfs-3g locale=zh_CN.UTF-8,umask=000 1 0
/dev/sda6 /mnt/win-e ntfs-3g locale=zh_CN.UTF-8,umask=000 1 0
/dev/sda7 /mnt/win-f ntfs-3g locale=zh_CN.UTF-8,umask=000 1 0
/dev/sda8 /mnt/win-g vfat defaults 1 0
添加了locale=zh_CN.UTF-8,这样所挂载的分区中的中文名的和目录就能正常显示了。

4、修改/etc/inittab文件如下:
# These are the default runlevels in Slackware:
# 0 = halt
# 1 = single user mode
# 2 = unused (but configured the same as runlevel 3)
# 3 = multiuser mode (default Slackware runlevel)
# 4 = X11 with KDM/GDM/XDM (session managers)
# 5 = unused (but configured the same as runlevel 3)
# 6 = reboot

# Default runlevel. (Do not set to 0 or 6)
id:4:initdefault:
这样启动时直接下入X系统。

基本能正常使用。

选择lilo启动菜单进入时,显示loading linux..............................................很慢的方法:
修改/etc/lilo.conf:
在其中加入一行:
compact
重启即可。
阅读(376) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~