2008年9月20日星期六

HOW-TO: svn AMSN

sudo apt-get update
sudo apt-get install libgstreamer0.10-0 gstreamer0.10-plugins-base gstreamer0.10-plugins-good gstreamer0.10-plugins-bad gstreamer0.10-tools gstreamer0.10-alsa

sudo apt-get install debhelper
sudo apt-get build-dep gstreamer0.10-plugins-farsight
apt-get source gstreamer0.10-plugins-farsight
wget http://farsight.freedesktop.org/releases/gst-plugins-farsight/gst-plugins-farsight-0.12.9.tar.gz
tar -xzvf gst-plugins-farsight-0.12.9.tar.gz

Then make and install it.

git clone git://git.collabora.co.uk/git/user/kakaroto/nice.git libnice
cd libnice
git checkout origin/nice-kakaroto
cd ..
git clone git://git.collabora.co.uk/git/user/tester/farsight2.git farsight2
cd farsight2
git checkout origin/nice-rebased-30-07-2008
cd ..

cd libnice

./autogen.sh --prefix=/usr
make
sudo make install

cd ../farsight2

sudo apt-get install gtk-doc-tools
./autogen.sh --prefix=/usr --disable-python
make
sudo make install

sudo ldconfig

svn co https://amsn.svn.sourceforge.net/svnroot/amsn/trunk/amsn amsn

sudo apt-get install tcl-dev tk-dev libjpeg-dev

2008年9月16日星期二

Uninstall softwares installed by WINE

It is amazing that using wine, we can even "install" a windows program (easy for tiny ones such as pajek, but harder for big ones such as starcraft). But what should we do if someday we want to remove them?

The answer, like a lot of things in Linux, is amazingly simple: just remove all the files! Normally, it will just create a directory somewhere in ~/.wine/drive_c.

2008年9月14日星期日

Fancy Tools in Ubuntu

These are all the fancy tools I found "accidentally" in the source of Ubuntu.

pdfcube

basket

jp2a: covert a jpg to ascii

a2ps

ulipad

2008年9月13日星期六

After install a NEW Ubuntu:

Just use this two commands :-)

sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.list
sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update

sudo apt-get install basket anjuta wine winefish nexuiz nexuiz-music xpdf-chinese-simplified xpdf-chinese-traditional poppler-data flashplugin-nonfree libxine1-ffmpeg libxine1-all-plugins libxine1-plugins w64codecs gcc-3.3-base libstdc++5 gstreamer0.10-ffmpeg gstreamer0.10-pitfdll gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse gstreamer0.10-esd libdvdnav4 libdvdread3 libdvdcss2 mplayer gstreamer0.10-fluendo-mpegdemux gstreamer0.10-gnonlin libflashsupport audacious build-essential autoconf automake1.9 cvs subversion unrar p7zip-full cabextract texlive texlive-math-extra texlive-latex-base texlive-latex-extra texlive-latex-recommended texlive-pictures texlive-science texlive-bibtex-extra texlive-common latex-beamer emacs ipython python-scipy eric idle spe acroread kpdf acroread-plugins mozilla-acroread mozilla-mplayer imagemagick jabref filezilla emacs-goodies-el emacs-snapshot* gnome-rdp acid-rip

LaTeX Highlighting in Emacs

I choose emacs as my major LaTeX editor for two simple reasons. One is the highlighting (especially when you input the title for a section), another is the simple line wrap (M-q).

But suddenly, after I got my MacBook Pro and set up Ubuntu on it, Emacs do not have highlighting for LaTeX any more...

God!! Kile, winefish are all good ones, but without line wrap!!! And much less keyboard short cuts!! I want my Emacs back!

I surf and surf, and found that emacs can be customized by simply editing the ~/.emacs file! I did it even easier -- download someone else's...

http://cermics.enpc.fr/~lelong/Emacs/index.html