zoukankan      html  css  js  c++  java
  • Debian5.0安装后的配置

    1 source.list

    #
    # deb cdrom:[Debian GNU/Linux 5.0.2 _Lenny_ - Official i386 xfce+lxde-CD Binary-1 20090628-15:51]/ lenny main

    deb cdrom:[Debian GNU/Linux 5.0.2 _Lenny_ - Official i386 xfce+lxde-CD Binary-1 20090628-15:51]/ lenny main

    deb http://security.debian.org/ lenny/updates main
    deb-src http://security.debian.org/ lenny/updates main

    deb http://volatile.debian.org/debian-volatile lenny/volatile main
    deb-src http://volatile.debian.org/debian-volatile lenny/volatile main

    deb http://ftp.tw.debian.org/debian lenny main
    deb-src http://mirrors.cn99.com/debian/ lenny main non-free contrib
    deb http://mirrors.163.com/debian stable contrib main non-free
    deb-src http://mirrors.163.com/debian stable contrib main non-free

    2 更新
    apt-get update
    apt-get upgrade


    3 生产中文locales
    dpkg-reconfigure locales


    选定所需的locales即可,所选如下:
    zh_CN GB2312 - 简体中文,使用 GB2312-80
    zh_CN.GBK GBK - 简体中文,使用 GBK
    zh_CN.UTF-8 UTF-8 - 简体中文,使用 GB1803

    4 安装中文字体
    apt-get install ttf-arphic-uming xfonts-intl-chinese xfonts-wqy

    5 安装中文输入法fcitx
    apt-get install fcitx

    6 配置fcitx
    /etc/X11/Xsession.d/目录下创建一个名为25xchinput的文件,其内容如下:

    export LAGN=zh_CN.utf8
    export LC_CTYPE=zh_CN.utf8
    export LC_ALL=
    export XMODIFIERS=@im=fcitx
    fcitx &

    保存退出。(可以根据我们的locale设置进行相应的更改。)
    重启X后就可以使用了。

  • 相关阅读:
    xps坐标计算
    xps文档
    xps坐标提取
    javascript
    python 类的继承
    PHP parse_url函数示例
    PHP 二维数组按照指定键排序(正序或倒叙均可)
    PHP substr()函数参数解释 通俗易懂
    PHP四大经典排序算法源码
    X友 NC 远程命令执行
  • 原文地址:https://www.cnblogs.com/crafter/p/2262936.html
Copyright © 2011-2022 走看看