HOW-TOs

Remote Window Managers

Lots of times it's extremely frustrating or time consuming to run an xterm on a remote host just to fork your programs from that remote machine. Why not just run your window manager there even though you're not on its console? The window manager is just another X application, after all, isn't it? Fire off your local X server xinit /usr/bin/xterm -- :1 &

Typing Nonstandard Characters on Ubuntu

Typing characters that are not standard in English can be done quite easily in [Ubuntu] Linux without any modifications. In most situations, you can do this by using the Character Map utility included in your system, which can be found at Applications > Accessories > Character Map. Upon running Character Map, a window will appear.

Create a Logo from the Command Line

You can create a neat logo from the Linux command line: $ convert -size 800x120 xc:white -font Times-Roman -pointsize 100 -fill gray -annotate +20+80 'Linux is cool!' -fill black -annotate +23+83 'Linux is cool!' -trim +repage logo.png And, the following command should display the result: $ qiv logo.png

Automatically re-start script as root

If you use sudo you can automatically re-start scripts that need to be run as root by adding a check at the beginning of the script and executing sudo if the script is not running as root:

Highlight Your Shell Prompt When Working as Root

A useful thing that some distros have started doing is setting the color of your shell prompt differently if you're logged in as root. This gives you an additional visual cue that helps avoid doing things as root when you don't want to. If your distro doesn't do this for you, you can accomplish it by changing your .bashrc files. To set the color of your shell prompt you set the shell variable PS1.

File Synchronization with Unison

Keeping the files on multiple machines synchronized seems to be a recurring problem for many computer users. Until I discovered Unison (https://www.cis.upenn.edu/~bcpierce/unison/) I never really had a completely satisfactory solution.

Extensions for OpenOffice.org Impress

Extensions for OpenOffice.org Impress Extensions have long been written for OpenOffice.org Writer. However, the fact that attention is finally being paid to other applications seems a sign that OpenOffice.org is finally starting to develop an active extension-writing community.

Sorting Photos

We all know the right way to sort photos is to do them right after you take them. We also know that doing a disk backup before your drive fails is the right way to do backups. But, we don't always do things the right way. Enter my situation. I have close to 10,000 photos takes with my digital camera over the last seven years. Yes, same camera—this could probably be an ad

Making an Illustrated Book

One of the things we plan to do different in the Geek Ranch (see What's New Down Here?) is build a lot of domes instead of conventional buildings. The reasoning behind this is that they are quicker to build, cost less and use mostly local materials and that which is not local (in particular, steel) is used in lower quantities than

Building Websites with webgen

In my article about the web site for the Geek Ranch I suggested three tools that made sense for doing the site: Drupal, Joomla and Karrigell. Well, as usual, all I have to do is say "I will pick between X, Y and Z" and good old option W shows up. This time, it is named webgen.

Powerful Multimedia Command-Line Tools, Part I - SoX

SoX is a power-packed command-line tool for various types of audio processing. It's very useful as an audio format converter, and it can be used for resampling audio files, converting between endianness, audio encoding and modifying other attributes of common audio file formats.

Text flow in OpenOffice.org Writer

Most people are content to let their word processor determine hyphenation and text breaks for them. And, most of the time, the result is acceptable if they do. However, just as the default justification can be improved if you want to take the time, so can the text flow.