MS TrueType Fonts on CentOS 6.2 on a per-user Basis

  • Install the rpmforge repository : http://wiki.centos.org/AdditionalResources/Repositories/RPMForge
  • Open a terminal/consoleĀ  # sudo yum install rpm-build cabextract

Put this in a script of somekind:

wget http://sourceforge.net/projects/corefonts/files/the%20fonts/final/wd97vwr32.exe/download
wget http://sourceforge.net/projects/corefonts/files/the%20fonts/final/webdin32.exe/download
wget http://sourceforge.net/projects/corefonts/files/the%20fonts/final/verdan32.exe/download
wget http://sourceforge.net/projects/corefonts/files/the%20fonts/final/trebuc32.exe/download
wget http://sourceforge.net/projects/corefonts/files/the%20fonts/final/times32.exe/download
wget http://sourceforge.net/projects/corefonts/files/the%20fonts/final/impact32.exe/download
wget http://sourceforge.net/projects/corefonts/files/the%20fonts/final/georgi32.exe/download
wget http://sourceforge.net/projects/corefonts/files/the%20fonts/final/courie32.exe/download
wget http://sourceforge.net/projects/corefonts/files/the%20fonts/final/comic32.exe/download
wget http://sourceforge.net/projects/corefonts/files/the%20fonts/final/arialb32.exe/download
wget http://sourceforge.net/projects/corefonts/files/the%20fonts/final/arial32.exe/download
wget http://sourceforge.net/projects/corefonts/files/the%20fonts/final/andale32.exe/download

# mkdir fonts-temp
# mkdir .fonts/ms
# cd fonts-temp
# ./getfonts.sh
# cabextract *.exe
# mv *.* /home/[user]/.fonts/ms/
# cd .fonts
# mkfontdir .
# mkfontscale .
# fc-cache -vv .

Log out of your current X11 session or reboot and enjoy the new MS TrueType Fonts in OpenOffice.org or LibreOffice!

Restore files with extundelete (Ext3/Ext4)

Restore files on ext3/ext4 filesytem

I deleted multiple files on one of my ext4 file systems, after googling for a while I found extundelete.

What follows is a quick howto (which I hope is complete) for the installation under Ubuntu 11.04. It worked in so far that it restored a recently deleted text file amongst all the other deleted files. Just make sure you have enough disk space.

Installation

Download extundelete from: http://extundelete.sourceforge.net/

Dependencies under Ubuntu (gcc,make etc. and e2fslibs-dev)

  • apt-get install build-essential
  • apt-get install e2fslibs-dev

# tar xvjf extundelete-0.2.0.tar.bz2
# cd extundelete-0.2.0
# ./configure && make && make install

# umount <filesystem>

Preparation

After the installation make sure the filesystem (ext3/ext4) is not mounted. This example is for a ext4 filesystem:
# umount < mountpoint filesystem>
(if you’re in a hurry: umount -l <mountpoint filesystem>

Check the filesystem for errors:
# fsck.ext4 /dev/xxx

Go to a mounted filesystem with enough diskspace (estimated)for the output (df -h)

Running extundelete

Restore deleted files with:
# extundelete /dev/xxx –journal –restore-all

You can probably do this more precise. With this command it dumps everything in a new directory called RECOVERED_FILES. After a while you will see files popping up like black magic in this directory. You can access the restored file structure and files and what not (e.g for /home : Documents, Pictures, Downloads etc.) and hopefully you’ll find the file(s) you were looking for still in a proper shape.

Video Blog of Peter Jackson – The Making of The Hobbit

A fellow geek pointed me to this video on the internets of the video blog Peter Jackson is making about the production/preparation stages of this movie. It’s actually fun to watch and it now I think of it, maybe future episodes will contain some of the theory as portrayed in the book Making movies ( a dutch book, ISBN10 9080555134).

Links to Video episodes

THE HOBBIT, Production Video #1

https://www.facebook.com/video/video.php?v=10150223186041807

Production Video #2 from the set of THE HOBBIT, 8 July 2011.

https://www.facebook.com/video/video.php?v=10150314562706807

Production Video #3 from the set of THE HOBBIT, 20 July 2011

https://www.facebook.com/video/video.php?v=10150326323406807