[问题]ubuntu的二个问题

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
头像
lqh280
帖子: 37
注册时间: 2007-05-07 22:54
联系:

[问题]ubuntu的二个问题

#1

帖子 lqh280 » 2007-08-13 18:22

firefox收藏夹导入从IE中导出的bookmark.htm时,中文显示成了乱码,怎么解决?


已经解决一个了,呵呵,谢谢楼下的兄弟~~~
1、在 /boot/grub/menu.lst的启动菜单中加了“vga=791”,然后装了nvidia-glx和nvidia-glx-dev,设置显示分辨率为1280*768@60。
2、在/etc/X11/xorg.conf中加了1280*768这个分辨率,应该要加吧,呵呵。

## ## End Default Options ##

title Ubuntu, kernel 2.6.20-15-generic
root (hd0,7)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=89685a88-20c5-4a76-9a56-61b65550287f ro quiet splash locale=zh_CN vga=791
initrd /boot/initrd.img-2.6.20-15-generic
quiet

title Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root (hd0,7)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=89685a88-20c5-4a76-9a56-61b65550287f ro single
initrd /boot/initrd.img-2.6.20-15-generic

title Ubuntu, memtest86+
root (hd0,7)
kernel /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1


问题:
宽屏(WinXP下使用的分辨率为1280*768)笔记本live cd时1024*768*16才能正常显示,不然启动进度条完成后进桌面只看到几条斜线的花屏,能进系统,因为能听到进系统的声音,但操作都看不到的;安装到硬盘时,分辨率保留默认的1024*768,800*600和640x480,但装完启动后进度条完成后就看不到登陆页面,同样是只看到几条斜线的花屏,直接输入用户名和密码能登陆,同样看不到,配置文件内容为:
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf(5) manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "Device"
Identifier "nVidia Corporation MCP51 PCI-X GeForce Go 6100"
Driver "nv"
BusID "PCI:0:5:0"
EndSection

Section "Monitor"
Identifier "通用显示器"
Option "DPMS"
HorizSync 28-51
VertRefresh 43-60
EndSection

Section "Screen"
Identifier "Default Screen"
Device "nVidia Corporation MCP51 PCI-X GeForce Go 6100"
Monitor "通用显示器"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection

Section "DRI"
Mode 0666
EndSection
上次由 lqh280 在 2007-08-14 1:22,总共编辑 3 次。
头像
jomper
帖子: 83
注册时间: 2007-08-03 12:26

#2

帖子 jomper » 2007-08-13 18:26

代码: 全选

Depth 24 
Modes "1024x768" "800x600" "640x480" 
EndSubSection 
EndSection 

该成
Depth 24
Modes "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

我一般就
sudo gedit /etc/X11/xorg.conf
加个"1280x800",然后在菜单里设置下 就好了.要restart x
xiaqin1983
帖子: 94
注册时间: 2006-02-27 18:10
来自: 重庆

#3

帖子 xiaqin1983 » 2007-08-13 19:12

太深奥了

不知道这样改了直接整成1280得不得出事啊?
头像
lqh280
帖子: 37
注册时间: 2007-05-07 22:54
联系:

#4

帖子 lqh280 » 2007-08-13 20:06

加了个1280*800还是花屏,且显示不了登陆画面,有网友说加1280*768,倒是不花屏,显示登陆画面时只是比全黑的屏亮了一点点。怎么改刷新频率?现在应该是"1280x800@60"吧,改成其它的行不?如50?
DefaultDepth 24

Depth 24
Modes "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
DefaultDepth 16

Depth 24
Modes "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
DefaultDepth 24

Depth 24
Modes "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
DefaultDepth 16

Depth 24
Modes "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
以上四种组合我都试了,都不行,还是原来那样显示不了。
回复