Archive for the ‘application’ Category

解决proftpd的login和list巨慢的问题

8th September, 2007

proftpd.conf里面加:

  1. UseReverseDNS      off
  2. IdentLookups         off

更多问题看proftpd的FAQ

Cygwin的中文

5th September, 2007

.inputrc:

  1. set meta-flag on
  2. set convert-meta off
  3. set input-meta on
  4. set output-meta on

.bashrc:

  1. #local settings
  2. LC_CTYPE=zh_CN.gbk
  3. CHARSET=GBK
  4. export LC_CTYPE CHARSET
  5. #ls
  6. alias ls='ls -N --color --show-control-chars'

MS Windows NT的CMD窗口太丑了…

Emacs23的ubuntu src

21st June, 2007

这里(The Consciousness Repository)
包括

注意他的footnote:

Authenticated packages

Packages in this repository can be gpg authenticated. The key that is being used for signing the packages is DD385D79. You can enter this key into the APT trusted keys database with the following command:

wget http://debs.peadrop.com/DD385D79.gpg -O- | sudo apt-key add -

下面这个debian适用:

deb     http://ppa.launchpad.net/avassalotti/ubuntu gutsy main
deb-src http://ppa.launchpad.net/avassalotti/ubuntu gutsy main

解决了Conky不能double buffer的问题

15th March, 2007

conky确实是一个不错的System Monitor,不过我(Fluxbox用户)一直懒着没有解决它(在俺这里)不能双缓冲,一闪一闪实在很不爽,今天找了找资料,搞定了 :)

  1. apt-get install wmctrl conky

之后修改xorg.conf在”Module”区里面加上

  1. Load    "dbe"

想办法使修改过得xorg.conf生效(dpkg-reconfigure -phigh xserver-xorg或reboot或其他途径)。
[...]

用ntfs-3g读写NTFS

11th January, 2007

1.源:

  1. #ntfs-3g & fuse-2.5 repo:
  2. deb http://flomertens.keo.in/ubuntu/ dapper main
  3. deb-src http://flomertens.keo.in/ubuntu/ dapper main

2.安装

apt-get update
apt-get install ntfs-3g

[...]

Linux Console 分辨率设置

10th January, 2007

在grub menu list文件的kernel行尾加 vga=value,比如:

  1. title           Ubuntu, kernel 2.6.15-23-386
  2. root            (hd0,0)
  3. kernel          /boot/vmlinuz-2.6.15-23-386 root=/dev/hda1 ro quiet splash  vga=791
  4. initrd          /boot/initrd.img-2.6.15-23-386
  5. savedefault
  6. boot

这个vga的值究竟是多少,可以参看下表:

色深
640×480 800×600 1024×768 1280×1024
256
769 771 773 775
32000 784 787 790 793
65000 785 788 791 794
16.7 Mill. 786 789 792 795