LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 537|回复: 3

monpython的个人tip贴

[复制链接]
发表于 2004-6-12 15:12:39 | 显示全部楼层 |阅读模式
1. 如果安装了kde以后发现中文很模糊只需要在自己的$HOME目录中添加一个
内容为这样的.fonts.conf 文件:


  1. <?xml version="1.0"?>
  2. <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
  3. <fontconfig>
  4. <match target="font" >
  5.   <test compare="more" name="size" qual="any" >
  6.    <double>7</double>
  7.   </test>
  8.   <test compare="less" name="size" qual="any" >
  9.    <double>16</double>
  10.   </test>
  11.   <edit mode="assign" name="antialias" >
  12.    <bool>false</bool>
  13.   </edit>
  14. </match>
  15. <match target="font" >
  16.   <test compare="more" name="pixelsize" qual="any" >
  17.    <double>9</double>
  18.   </test>
  19.   <test compare="less" name="pixelsize" qual="any" >
  20.    <double>20</double>
  21.   </test>
  22.   <edit mode="assign" name="antialias" >
  23.    <bool>false</bool>
  24.   </edit>
  25. </match>
  26. </fontconfig>
复制代码


2. 在安装了scim0.97后发现无法启动scim-chinese,那么就先:
rm -rf ~/.scim
就可以了.
发表于 2004-6-12 15:19:31 | 显示全部楼层
兄弟能把为什么要这样做的原因讲一下吗?先谢过了!
 楼主| 发表于 2004-7-3 09:49:29 | 显示全部楼层

monpython关于bootsplash的tip

相关网页(Info source:)
http://forums.gentoo.org/viewtop ... ighlight=bootsplash
www.bootsplash.de

过程---Procedures:

1. download patch for new kernel:
www.bootsplash.de
http://www.bootsplash.de/files/splashutils/

2. config kernel but DO NOT enable (不要在内核中启用下列选项)(内核中要启用的选项请看顶部gentoo的论坛):

Device Drivers  --->
    Graphics support  --->
            < >   nVidia Riva support  (do not enable!)
        Logo configuration  --->
            [ ] Bootup logo  (do not enable!)

3. copy the splash themes to /etc/bootsplash/themes/ must be in this place (必须拷贝到这个目录之下)

4. run command (first get the splash utilies from the info source site) 运行下列命令:

splash -s -f /etc/bootsplash/default/config/bootsplash.cfg > /boot/initrd.splash
(note: initrd.splash can be any other name)

5. modify grub 修改grub文件:

title  Arch Linux  [hdb1-267]
root   (hd1,0)
kernel /boot/bzImage267 root=/dev/discs/disc1/part1 video=vesafb:ywrap,mtrr vga=0x317 splash=silent ro
initrd /boot/intrd.splash

(note: add splash=silent to have a silent splash)
选项   video=vesafb:ywrap,mtrr   是为了加快vesafb下的显示速度。

遗留问题:
splash屏幕中的进度条无法显示:
make progress bar working
 楼主| 发表于 2004-7-3 23:09:28 | 显示全部楼层
6. make progress bar working

use patched initscripts. This problem is arch only. You need to install initscripts-bootsplash
from ftp://ftp.archlinux.org/tur/brice


7. enable splash for all virtual terminal:

splash -sn -u1 /etc/bootsplash/themes/Arch/config/arch-1024-vt1.cfg

if you have 6 VT, then put them in rc.local and repeat them for 6 times, but remember to change the u1 number to u2 u3 u4 ...etc
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表