Systems Thoughts

关于IT,技术,互联网及其他,一个人在瑞典

Archive for May, 2007

Filed under Uncategorized

转载原创文章请注明,转载自:Systems Thoughts
[http://www.systemsthoughts.com/blog]

Comments (0) Posted on Monday, May 28th, 2007
Filed under Linux

转载原创文章请注明,转载自:Systems Thoughts
[http://www.systemsthoughts.com/blog]

那天去听RMS的人很多,没找到地方去晚了已经没有位置了。这小子言论很让人震惊~~他绝对是一个理想主义+乌托邦分子,好像大家的温饱问题都解决了一样

Comments (1) Posted on Friday, May 25th, 2007
Filed under Uncategorized

转载原创文章请注明,转载自:Systems Thoughts
[http://www.systemsthoughts.com/blog]

Comments (0) Posted on Wednesday, May 23rd, 2007

转载原创文章请注明,转载自:Systems Thoughts
[http://www.systemsthoughts.com/blog]

easyTag提示什么patch_id3lib_3.8.3_UTF16_writing_bug.diff什么的(我忘了,文件名太长了),只要下载我这个包就可以解决

libid3-3.8.3c2a_3.8.3-5utf16fix_i386.deb

Comments (0) Posted on Sunday, May 20th, 2007
Filed under Linux

转载原创文章请注明,转载自:Systems Thoughts
[http://www.systemsthoughts.com/blog]

发神经,重装6.10和7.04的Ubuntu n次,其间试用compiz与beryl N小时,最后还是决定不用了,机器太菜~以下是我总结的对敌斗争经验

  • Compiz

把这个源加了(edgy)
deb http://gandalfn.club.fr/ubuntu edgy dev
还有密钥
gpg --keyserver hkp://wwwkeys.eu.pgp.net --recv-keys 0x483170E9 ; \ gpg --export -a 0x483170E9 | sudo apt-key add -
然后用apt安装
apt-get compiz compiz-config

  • “network-manager-gnome”不管用咋办?用肛泰! -_-#

nm-applet运行出现错误信息:

“The NetworkManager applet could not find some required resources. It cannot continue.”
在命令行运行出现:

** (nm-applet:9329): WARNING **: Icon nm-stage01-connecting01 missing: Icon ‘nm-stage01-connecting01′ not present in theme

(nm-applet:9329): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)’ failed

只要运行

sudo gtk-update-icon-cache -f /usr/share/icons/hicolor/

  • 用了compiz或beryl最大化后标题栏白了

建个文件/etc/drirc

<option name="allow_large_textures" value="2" />

  • 英文local下加中文输入fcitx

把这些加到/var/lib/locales/supported.d/local

zh_CN.UTF-8 UTF-8
zh_CN.GBK GBK
zh_CN.GB2312 GB2312
zh_CN.GB18030 GB18030
zh_HK.UTF-8 UTF-8
zh_HK BIG5-HKSCS
zh_TW.UTF-8 UTF-8
zh_TW.BIG5

然后
sudo dpkg-reconfigure --force locales
然后是etc/environment

LC_CTYPE=”zh_CN.UTF-8″

接着输入
sudo apt-get install im-switch fcitx
im-switch -s fcitx -z default
sudo gedit /etc/gtk-2.0/gtk.immodules

找到下面这句

“xim”
“X Input Method” “gtk20″
“/usr/share/locale” “ko:ja:th:zh”

在“ko:ja:th:zh”前面加入en

“xim”
“X Input Method” “gtk20″
“/usr/share/locale” “en:ko:ja:th:zh”

在控制台输入:

$sudo sh -c " echo 'export XMODIFIERS=@im=fcitx ; export GTK_IM_MODULE="fcitx" ; export QT_IM_MODULE="fcitx" ; fcitx ' > /etc/X11/Xsession.d/95xinput "
$sudo chmod +755 /etc/X11/Xsession.d/95xinput

登出,ctrl+backspace,怎么样?
update:
有时候重装了会发现fcitx输入法无法启动,用控制台启动发现错误信息:
FCITX — Get Signal No.: 11
FCITX — Exit Signal No.: 11
这时候只要删除目录里的.fcitx目录即可
$cd
$rm -R .fcitx

  • 在mplayer里打开x11的全屏放大

编辑.mplayer/config
加入这行

zoom=yes

  • firefox里字体不匹配,不好看

sudo fontconfig-voodoo -f -s zh_CN

Comments (0) Posted on Friday, May 18th, 2007