• 一般情况下,GIMP 自动检测您的系统语言。但是对某些机器可能会失败,或者您想使用其它的语言。这时您可以通过如下方式改变语言。

    LINUX 下:在控制台输入 LANGUAGE=zh_CN GIMP,或LANG=zh_CN GIMP,或用您想要的语言替代 zh_CN,
    如 en、fr...

    WINDOWS XP下:控制面板/系统/高级/环境变量/在"系统变量"栏中新建一个以"LANG"为变量名,语言为变量值的项,比如 zh_CN。

    Windows Me 下:开始/程序/附件/系统工具/系统信息/工具/系统配置实用程序/"环境变量"栏/新建一个以"LANG"为变量名,语言为变量值的项。

    Apple Mac OS X 下: 打开[系统预置],然后点击[国际化]图标,在[语言]标签下把您想使用的语言放在列表的最前面。

  • 2005-03-16

    Ubuntu的意思

    "Ubuntu" 是一个古非洲语单词, 意思是 "乐于分享". 班图精神也意味 "我和他人紧紧相连, 密不可分, 我们都在同一种生活之中. " Ubuntu Linux 也将班图精神带到了软件世界。
  • deb http://kubuntu.org/packages/kde35 breezy main
    deb http://kubuntu.org/packages/kde35 breezy main
    deb ftp://mirror.mcs.anl.gov/pub/ubuntu breezy main restricted
    deb ftp://ubuntu.mirrors.tds.net/ubuntu breezy universe
    deb http://archive.ubuntu.com/ubuntu breezy universe multiverse
    deb http://kubuntu.org/packages/kde35 breezy main
    deb http://packages.freecontrib.org/ubuntu/plf/ breezy free non-free
    deb ftp://ubuntu.mirrors.tds.net/ubuntu breezy-backports main restricted universe multiverse
    deb http://archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse
    deb ftp://mirror.mcs.anl.gov/pub/ubuntu breezy-security main restricted universe
    deb http://security.ubuntu.com/ubuntu breezy-security universe
    deb ftp://mirror.mcs.anl.gov/pub/ubuntu breezy-updates main restricted
    deb-src ftp://mirror.mcs.anl.gov/pub/ubuntu breezy main restricted
    deb-src ftp://ubuntu.mirrors.tds.net/ubuntu breezy universe
    deb-src http://archive.ubuntu.com/ubuntu breezy universe multiverse
    deb-src http://packages.freecontrib.org/ubuntu/plf/ breezy free non-free
    deb-src ftp://ubuntu.mirrors.tds.net/ubuntu breezy-backports main restricted universe multiverse
    deb-src http://archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse
    deb-src ftp://mirror.mcs.anl.gov/pub/ubuntu breezy-security main restricted
    deb-src http://security.ubuntu.com/ubuntu breezy-security universe
    deb-src ftp://mirror.mcs.anl.gov/pub/ubuntu breezy-updates main restricted
    deb http://ca.archive.ubuntu.com/ubuntu breezy main restricted
    deb-src http://ca.archive.ubuntu.com/ubuntu breezy main restricted
    ## Major bug fix updates produced after the final release of the
    ## distribution.
    deb http://ca.archive.ubuntu.com/ubuntu breezy-updates main restricted
    deb-src http://ca.archive.ubuntu.com/ubuntu breezy-updates main restricted
    ## Uncomment the following two lines to add software from the &aposuniverse'
    ## repository.
    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team, and may not be under a free licence. Please satisfy yourself as to
    ## your rights to use the software. Also, please note that software in
    ## universe WILL NOT receive any review or updates from the Ubuntu security
    ## team.
    deb http://ca.archive.ubuntu.com/ubuntu breezy universe
    deb-src http://ca.archive.ubuntu.com/ubuntu breezy universe
    ## Uncomment the following two lines to add software from the &aposbackports'
    ## repository.
    ## N.B. software from this repository may not have been tested as
    ## extensively as that contained in the main release, although it includes
    ## newer versions of some applications which may provide useful features.
    ## Also, please note that software in backports WILL NOT receive any review
    ## or updates from the Ubuntu security team.
    deb http://ca.archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse
    deb-src http://ca.archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse
    deb http://security.ubuntu.com/ubuntu breezy-security main restricted
    deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted
    deb http://security.ubuntu.com/ubuntu breezy-security universe
    deb-src http://security.ubuntu.com/ubuntu breezy-security universe
    # OpenOffice .Org 2.0
    deb http://people.ubuntu.com/~doko/OOo2 ./
    # PLF: http://wiki.ubuntu-fr.org/doc/plf
    deb http://packages.freecontrib.org/ubuntu/plf/ breezy free non-free
    deb-src http://packages.freecontrib.org/ubuntu/plf/ breezy free non-free
    # KDE 3.5
    deb http://kubuntu.org/packages/kde35 breezy main
    # Automatically generated sources.list
    # http://www.ubuntulinux.nl/source-o-matic
    # Seveas' packages (packages)
    #deb http://seveas.ubuntulinux.nl breezy-seveas all
    # Seveas' packages (sources)
    #deb-src http://seveas.ubuntulinux.nl breezy-seveas all
    # Cipherfunk multimedia packages (packages)
    deb ftp://cipherfunk.org/pub/packages/ubuntu/ breezy main
    # Cipherfunk multimedia packages (sources)
    deb-src ftp://cipherfunk.org/pub/packages/ubuntu breezy main
    # Bleeding edge wine packages (packages)
    deb http://wine.sourceforge.net/apt/ binary/
    # Bleeding edge wine packages (sources)
    deb-src http://wine.sourceforge.net/apt/ source/
    # Penguin Liberation Front (packages)
    deb ftp://ftp.free.fr/pub/Distributions_Linux/plf/ubuntu/plf/ breezy free non-free
    # Penguin Liberation Front (sources)
    deb-src ftp://ftp.free.fr/pub/Distributions_Linux/plf/ubuntu/plf/ breezy free non-free
    # Osmo Salomas CVS amule packages (packages)
    deb http://koti.mbnet.fi/~ots/ubuntu/breezy/
    # Osmo Salomas CVS amule packages (sources)
    deb-src http://koti.mbnet.fi/~ots/ubuntu/ breezy/


  • Having switched to KDE, I got an annoying flashing screen periodically that says "Display Changed LCD on/off". This is a bug in the Asus ACPI driver, which doesn&apost know about this laptop yet.
    Having switched to KDE, I got an annoying flashing screen periodically that says "Display Changed LCD on/off". This is a bug in the Asus ACPI driver, which doesn&apost know about this laptop yet.


    One non-optimal way to work around this is to disable kmilo, which is a daemon run by kded to support the special keys on the keyboard (browser launch, etc). While these keys worked under Gnome, they do not work under KDE so I just disabled kmilo for now. This is done by editing /usr/share/services/kded/kmilod.desktop and changing it so the following lines are set to false:
    这样的话,如果我需要切换屏幕,或者调节屏幕亮度,记着把false重新改为trueX-KDE-Kded-autoload=false
    X-KDE-Kded-load-on-demand=false



    You need to restart KDE after making this change.


    Thanks to Mark Eaton who provided some additional info on this issue, including the correct/complete fix (which I have not yet tried):


    "This is a bug in the asus acpi driver. It doesn&apost know about your laptop and you will see that your syslog is filling up with these messages as well. I get the same problem with my W2 and it is fairly easy to fix and recompile the asus acpi driver, you just need to add a new entry for your machine which doesn&apost have the screen method."

  • kubuntu中文快速设置指南

    kubuntu中文快速设置指南
    http://www.ubuntu.org.cn/support/documentation/zhfaq

    locale设置好以后,应该更改kde的字体,具体步骤如下:
    system settings->appearance->fonts->ajust all fonts,然后选择一个中文字体就可以了

  • 笔记本安装linux系统,安装kubuntu,这个系统最大的好处是提供了对笔记本的支持,从LCD,CPU,ATI显卡到电池,尤其值得称道的是自动安装了支持迅驰自动降频的各种包。之前我安装debian,不是很顺利,尤其是要安装自动降频的包powernowd,死活装不上,我把kernel升级了,还是无济于事,种种困难,上一篇blog也说了。用kubuntu,一次安装成功,很顺利,各种硬件配置不用自己管,和windows的安装差不多了。我的笔记本配置为:2.2kg/Pemtium-M(Dothan) 1.5G/256M DDR333/ATI Mobility Radeon 9000/4200转、40G硬盘/内置COMBO/14.1寸XGA/。


    现在碰到的难题是中文化,但是不是很想搞了。自己装kubuntu主要是为了学习python,凑合着用吧。如果不看中文的话,但是这个好像基本上很难!


    Kubuntu来自ubuntu系统,ubuntu来之debian。所以kubuntu的软件安装一样的方便,前提是一定要能够上网。


    提醒:各种源地址放在/etc/apt/sources.list中,所以如果我们要放入新的源,就要编辑这个文件。编辑完了,然后一定要运行sudo apt-get update命令,否则可能安装新的包不能够用。


  • 考虑到将来可能要用到debian,现在先练习一下debian的使用。

    我现在用的机器是华硕m2c,具体的配置如下

    debian安装过程:

    准备工作:

    1从网上下载了debian3.1的前两张光盘,刻录。

    2把windows下的最后一个分区删除

    3插入光盘重启

    4进行debian的安装,按照提示,这里走了很多弯路,我差不多装了有3次,才搞定。具体过程如下:故障主要是出现在显卡这一部分,我选择了安装桌面后,提示选择了我的显卡类型是ATI radeon 9000,让我选择显卡的时候,我选了ATI,然后选择advance高级设置,然后又问了一些参数。安装后,重启坏了,系统停留在一个不知道的界面,什么也没有,显示灰色,然後是红色,其中颜色轮流换,就是没有动静。这样由于自己不懂,重新安装了两次系统,还是这样。

    5另外想办法,查资料,决定亲自配置xserver。

    命令:dpkg-reconfigure xserver-xfree86

    然后具体的配置过程我也忘记了,主要在显卡那一部分,要求两个分辩率是一致的,我觉得原因出在这里。查询后再补上,重启ok。

    升级命令:

    apt-get install 包名

    超级用户模式下,可以配置基本系统,命令base-config





  • Debian学习笔记


    整理:Jims of 肥肥世家


    Copyright ? 2004,2005, 本文遵从GNU 的自由文档许可证(Free Document License)的条款,欢迎转载、修改、散布。


    发布时间:2004年11月16日


    最近更新:2006年02月16日,增加设置cron计划任务的内容。


    http://www.huihoo.com/debian/debian-study.html#id2861718


    Chapter 2. 软件包管理工具


    Table of Contents


    2.1. apt-get


    2.2. apt-cache


    2.3. 建立一个混合系统


    2.4. 升级指定版本的软件包


    2.5. 保持指定软件包的版本


    2.1. apt-get


    软件包管理是区分不同发行版的一大特征,如RedHat使用RPM软件包来管理软件,Debian使用Deb软件包来管理软件。apt-get是 Debian的Deb软件包管理工具,它的最低底层还是调用dpkg包管理程序,通过apt-get工具可使我们很好地解决软件包的依赖关系,方便软件的安装和升级。它是Debian发行版的最大特色,一定要好好掌握。


    要使用好apt-get就要配置好一个名为sources.list的资源列表,资源列表指向Debian系统的软件库,apt-get会从该软件库安装各种软件包。sources.list文件位于/etc/apt目录下,下面是Sarge、Etch和Sid三个版本的写法,你可任选一种,最好不要多版本混用:


    #sources.list for Sarge(stable):


    deb http://http.us.debian.org/debian stable main contrib non-free


    deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free


    deb http://security.debian.org stable/updates main contrib non-free


    #Uncomment if you want the apt-get source function to work


    #deb-src http://http.us.debian.org/debian stable main contrib non-free


    #deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free


    #sources.list for Etch(testing):


    deb http://http.us.debian.org/debian testing main contrib non-free


    deb http://non-us.debian.org/debian-non-US testing/non-US main contrib non-free


    deb http://security.debian.org testing/updates main contrib non-free


    #Uncomment if you want the apt-get source function to work


    #deb-src http://http.us.debian.org/debian testing main contrib non-free


    #deb-src http://non-us.debian.org/debian-non-US testing/non-US main contrib non-free


    #sources.list for Sid(unstable):


    deb ftp://ftp.us.debian.org/debian unstable main contrib non-free


    deb ftp://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free


    #Uncomment if you want the apt-get source function to work


    #deb-src http://http.us.debian.org/debian unstable main contrib non-free


    #deb-src http://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free


    sources.list文件的内容决定了Debian的版本。安全更新只存在于stable和testing版中,unstable 没有安全更新。进入stable的软件都经过严格的依赖测试和安全测试,所以如果你想系统稳定,用于工作,最好使用stable,如果你想使用最新版的软件,就使用testing或unstable。Woody、Sarge和Sid是Debian 3.x三个版本中的代号,我们一般都是以代号来称呼debian不同版本。所有Debian发行版的代号全都取自电影Toy Story,Woody是那个牛仔,Sarge是绿色塑胶军队的领导,Sid是破坏玩具的小孩。


    *


    apt-get update


    更新软件包信息库。在Debian中,软件包是通过一个数据库来管理的,通过这个数据库中可跟踪你系统中已安装、没有安装和现在可安装的软件包信息。apt -get安装软件包时就是依靠这个数据库来解决软件包间的依赖关系,从而可自动安装相关软件。我们需定期运行该命令,从而保持数据库的信息为最新。


    *


    apt-get install package_name1 package_name2 package_name3 ...


    安装软件包。如果软件包需其它软件包支持,apt-get会通过搜索软件包数据库找到这种依赖关系,一起下载相关软件。在一个命令行中可同时安装多个软件包,中间用空格隔开即可。安装的软件包默认会存放在/var/cache/apt/archives目录下,以便以后重新安装。如果已安装的软件包损坏了,你可通过--reinstall选项来重新安装。如:


    # apt-get --reinstall install package_name


    [Note]


    在需安装的软件包名后加一个减号会删除软件包,如:apt-get install package_name-。


    只是下载软件,不解包和安装使用-d选项,如:


    # apt-get -d install package_name


    使用--dry-run选项可使apt-get在安装软件包前进行测试,如:


    # apt-get install package_name --dry-run


    Debian软件包的名字和软件名不同,所以在安装前如不知道软件包的名字,可到Debian的官方软件库查询,网址是:http://www.debian.org/distrib/packages/。或者用下面介绍的apt-cache search package_name命令来查询。


    *


    apt-get remove package_name1 package_name2 package_name3 ...


    删除软件包。如果你想删除没用的软件包,只要使用该命令即可。如果你想把该软件的配置文件也删除,可以用--purge选项,如:


    # apt-get --purge remove package_name


    [Note]


    类似地,在删除软件包名后加一个加号会安装软件包,如:apt-get remove package_name+。


    *


    apt-get source package_name1 package_name2 package_name3


    下载软件包的的源码版本。


    *


    apt-get upgrade package_name1 package_name2 package_name3 ...


    软件包升级功能是APT系统这么成功的主要原因。通过该命令,我们就可把软件升级到最版本。在使用该命令前,最好先运行apt-get update命令,以更新软件包数据库。但该方案不是更新系统最好的方法,一些包会因为包依赖问题而保留(kept back)一些旧的软件包。Debian提供了一个更好的升级方案,就是用dis-upgrade。下面一节会详细介绍。


    *


    apt-get dist-upgrade


    更新整个Debian系统。可从网络或本地更新整个系统。它会重新安排好包的依赖性。如果有些包由于一些原因实在不能更新,我们可通过以下命令查询原因:


    # apt-get -o Debug::pkgProblemResolver=yes dist-upgrade


    [Note]


    用apt-show-versions -u可获得可升级软件包的列表。该命令还有一些有用的选项,可用-h选项查看详细帮助,了解更多功能。


    *


    apt-get clean


    删除下载了的软件包,当我们通过apt-get安装软件包时,APT会把软件包下载到本地/var/cache/apt/archives/目录。该命令会删除该文件夹内的除锁住外的所有软件包。


    *


    apt-get autoclean


    删除已下载的旧版本的软件包。该命令类似于上面的命令,但它会有选择地删除旧版本的软件包。


    *


    apt-get dselect-upgrade


    通过dselect的"建议"和"推荐"功能更新系统。dselect是Debian中一个功能强大的包管理工具。它可帮助用户选择软件包来安装,其中一个有用功能是它会建议和推荐安装其它相关软件包。我们可在APT中使用它这个功能。


    *


    apt-get check


    检查系统中已安装软件包的依赖性。


    2.2. apt-cache


    apt-cache是一个apt软件包管理工具,它可查询apt的二进制软件包缓存文件。通过它我们可查询软件包的状态信息。


    *


    apt-cache show package_name


    显示软件的信息,包括版本号,安装状态和包依赖关系等。


    *


    apt-cache search package_name


    搜索软件包,可用正则表达式。


    apt-get是命令行方式的dpkg前台程序,不喜欢命令行方式的朋友也可以试试aptitude和synaptic这两个软件包。aptitude是一个字符界面的dpkg前端程序,synaptic是一个GTK界面的dpkg前端程序

  • 清理磁盘垃圾文件的顶级命令

    有用过Windows内置的清理磁碟功能吗?它并不能完全地清洗Windows内不需要的档案,因为它的功能并隐藏了,现在教大家把它被封印了的功能完全打开。 适用的视窗板本 Win95,win98,Win98se,Win2000,WinME,WinXP

      Windows 本身的「清理磁碟」工具是非常好用的工具,但是单单执行「清理磁碟」并不能完全发挥「清理磁碟」的功能。

      现在介绍两个「清理磁碟」工具的指令:
      SAGESET 及SAGERUN

      第一步:

      首先在「开始」>「执行」 然后输入:
      cleanmgr /sageset:99

      特别模式「清理磁碟」工具会执行,你会发觉多了很多清理选择,选择你想要清理的档案,通常全部都可以删除,完成你的选择后再按「确定」。

      第二步:

      你可能奇怪点选「清理磁碟」工具并有进行清理磁碟,因为 SAGESET 指令只是给你进行「清理磁碟」设定,现在我们真正进行清理磁碟。

      再去「开始」>「执行」 然后打入:
      cleanmgr /sagerun:99

      「清理磁碟」工具就会工作。

      第三步:

      其实 SAGESET 指令是设定「清理磁碟」工具,Windows 会自动记下你这些设定,下次要再清理磁碟,只要再次执行cleanmgr /sagerun:99,就会用同一个设定来清理磁碟。

      如要你要更改设定,只要再执行cleanmgr /sageset:99 就可以了

  • drive in python中文版,加快学习进度

    http://www.woodpecker.org.cn:9081/doc/diveintopython_limodou/html/toc.html