python mark

2008年08月21日(admin)

Python中文简明教程

http://www.woodpecker.org.cn:9081/doc/abyteofpython_cn/chinese/

debian, compiz-fusion-git

2008年08月07日(admin)

2009-03-10 修订:debian lenny 源里已经有这些包了,直接到第4步安装即可。

。。。搞来搞去,还是喜欢花哨的东西,没进步。。。

原文:http://www.linuxdiyf.com/viewarticle.php?id=57103
(也不知道是不是原文了。。。)

1. 先确定glx开启了(前提当然是显卡驱动了)
运行 glxinfo |grep direct
输出 direct rendering: Yes 即可
没有glxinfo命令的话装 mesa-utils 包

2. 添加安装源到/etc/apt/source.list
deb http://download.tuxfamily.org/osrdebian unstable compiz-fusion-git

3. 下载密钥并安装
wget http://download.tuxfamily.org/osrdebian/61B8DB62.gpg
apt-key add 61B8DB62.gpg

4. 开始安装
apt-get update
apt-get install compiz compiz-fusion-plugins-main compizconfig-settings-manager compiz-fusion-plugins-extra compiz-gnome emerald fusion-icon

原文里提到的修改xorg应该不用了~

about vmware-tools for debian

2008年08月06日(admin)

环境:

debian lenny 2.6.25-2-686

vmplayer

vmtools包(网上下的。。)

也许是因为升级内核的原因,

装vmtools 不成功,错误类似:

vm_basic_types.h:170: error: previous declaration of ‘uintptr_t’ was here

Google之

继续阅读 »

GStreamer installation for Debian etch

2008年08月04日(admin)

以前用源码装的GStreamer
pkg-config 的时候没有问题

今天按照官网说的直接用apt安装GStreamer~

http://gstreamer.freedesktop.org/download/

Debian and Ubuntu
GStreamer and the various plugins modules are available in both Debian and Ubuntu. You can install the most important ones with
sudo apt-get install gstreamer0.10-tools gstreamer0.10-x gstreamer0.10-plugins-base gstreamer0.10-plugins-good gstreamer0.10-plugins-ugly gstreamer0.10-plugins-bad gstreamer0.10-ffmpeg gstreamer0.10-alsa gstreamer0.10-schroedinger gstreamer0.10-pulseaudio

但是最后两个包找不到,就没装~
(lenny 里有后面两个包!但没发现什么影响。。。)
装完
$gst-inspect-0.10
Total count: 103 plugins, 462 features
(lenny下面的插件数目有:
Total count: 167 plugins, 744 features)

但是编译gstreamer程序的时候pkg找不到!。。。
Package gstreamer-0.10 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-0.10.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘gstreamer-0.10′ found

Google之~

http://ubuntuforums.org/showthread.php?t=680646

提到要安装 libgstreamer-0.10-dev
apt之~
问题解决。

PS:之前用源码包装的时候不知道少装了什么插件,找不到 equalizer-nbands 工厂!
所以才重装的。。。原来apt就有~
自己不仔细看官网的文档,呵呵~~~
不过貌似etch的GStreamer版本有点老,
先看看有没有什么问题吧~
(现在用apt装的还是找不到!而换一个虚拟机用lenny,装上就可以找到工厂!)

[Mark]Gstreamer Good Plugins

2008年08月01日(admin)

http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/index.html

Bug 415627 – [PLUGIN-MOVE] move equalizer to good

http://bugzilla.gnome.org/show_bug.cgi?id=415627

Bug 76522 – Add equalizer support

http://bugzilla.gnome.org/show_bug.cgi?id=76522

others,

http://www.exaile.org/