Linux

Enable DVD playback on Ubuntu 7.10

Open a terminal window. Execute the following terminal command to install the necessary packages sudo apt-get install totem-xine libxine1-ffmpeg libdvdread3 Execute the following terminal command sudo /usr/share/doc/libdvdread3/install-css.sh After you have done the above excercise, insert a DVD into your drive. Totem will open and the movie will be played.

Read More
Linux

Tuning ext3 filesystem with directory indexing

WARNING! Only do the following on a unmounted filesystem and make sure the filesystems you are going to alter are cleanly unmounted before tuning them with the tune2fs or e2fsck utilities. (Boot from a LiveCD such as Knoppix if you need to.) Altering or tuning a filesystem while it is mounted can cause severe corruption! […]

Read More
Linux

Send e-mail with attachment from command line

mpack is a command line tool that can send e-mail with MIME formatted attachment. mpack -a -s “My subject From: Sender<from@example.com>” -d messagebody.txt attachment.file recipient@example.com Since mpack accepts linebreaks in the -s option (which is actually ment to set the subject line) we can include other headers right after it. Just like I did in […]

Read More
Scripting

Problem sending e-mail from console

After installing Zimbra 5.0.x on my Debian Etch 4.0 server some of my shell scripts couldnæt send mail anymore. The reason to this behaviour was that I hadn’t removed the Exim mail server package, and I wouldnt do it either. The solution to this problem was to remove exim or locate the sendmail binaries and remove […]

Read More