jacob's blog

Sound not synchronized when creating a DVD using tovid

When creating a DVD using tovid/todisc, I have found that on one .avi movie I tried to convert, the sound was out of sync by more than a few seconds.

To fix this, I used the -ffmpeg switch when converting using tovid, which uses a different method of encoding. Strange that it's not the default as it was much faster and seemed to produce a better outcome.

Linux tips: bash history

One of the most powerful features of the bash shell is the command history . Using the up and down arrows, one can recall the commands typed previously into the shell, edit them, and execute them again, even after rebooting your computer or closing the shell window.

You can also dump the entire history file by typing in the command history. Much, much more can be done using the bash history. These functions can be explored by reading the manual page.

$ man history

Create DVDs with Linux

Creating DVDs using mostly any playable file (.avi, .mpg, etc.) is very easy in Linux and, in my opinion, is easiest using the command line.

First, you'll need to install the tovid suite of tools. Tovid contains everything you need to convert a video to DVD format and to burn that video.

Linux tip: List packages installed on your ubuntu system

If you're interested in installing KDE4 on Kubuntu to try it out like their website suggests, don't. It sucks right now.

So when you remove the package they tell you to install, it doesn't remove all of the KDE4 packages. So you'll have two versions of konqueror along with other applications. Don't get me wrong, I love KDE and Linux, it just seems like KDE4 isn't mature enough yet.

Drupal module: comment mail

Comment mail is a very simple module that just notifies one email address of new comments, or those comments pending approval. It also provides links to approve, decline or delete the comment.

The main difference between this module and one such as notify is that it's instant and not done via a cron job. A cron job is handy for new content subscriptions, while comment notify is good when you're approving comments or just want to be notified of any spam or inappropriate comments.

Gossip website causes firestorm

If you haven't heard, there are a few websites that have sprung up that allow users to post gossip about other people anonymously. I am not going to post the link to, or the name of the website, but there is one in particular that is especially vicious.

BOINC, Linux and World Community Grid

BOINC is an open source program based at the Space Sciences Laboratory at the University of California, Berkeley. BOINC is a software platform for Linux for volunteer computing and desktop Grid computing.

Opening and editing files remotely in Linux

Using KDE, it is very easy to open and edit a remote file using pretty much any application (any application that uses KDE to open files that is). I use this method using Kate (a sophisticated text editing program), and Quanta .

To open a file using ftp, in the box in the middle at the top that shows the current path you are looking at, type:


Securing Linux: process limits

This tip was found at http://aymanh.com/tips-to-secure-linux-workstation.

An old school attack on Linux systems is called a fork bomb. There is demonstration code at the fore-mentioned website, but essentially, it is a command that will spawn an unending number of processes, eventually killing the system.

Timezones and Coldfusion / JRE Time

I get into work today and have a help desk ticket stating that the time on our servers is off. Well, not quite.

The issue is the time in ColdFusion does not match the time the servers have. We "sprang forward" on Sunday, March 9th, but any time functions reported the time one hour behind. ColdFusion, it seems, forgot to spring.



Subscribe to RSS - jacob's blog