The personal website of Jacob Steelsmith.

User login

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

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.

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:

ftp://user@site.com:port/

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.