Fedora Core And Microsoft Web Fonts

Microsoft Core Fonts, aka, Web Fonts, are a series of high quality fonts released by Micrsoft several years ago. They are non-free and hard to install on Fedora. I have made a rpm of them you can install it from here.  You’ll also need chkfontpath from here as well.

Enjoy!

Posted in Uncategorized | Comments Off on Fedora Core And Microsoft Web Fonts

Debian and /dev/mixer

If you use Debian or one of it’s derivatives and try to install an older mixer, such as tkmixer or xmmix, you may get this error:

Error: /dev/mixer: no such file or directory.

This is because of a change in the sound subsystem. You can solve this problem by installing thr oss-compat package:

sudo apt-get install oss-compat

And it will work again.

Posted in Uncategorized | Comments Off on Debian and /dev/mixer

OpenCDE-0.3.2 Binary

After some fiddling and hacking, I have an OpenCDE-0.3.2 binary for Linux. Untar wherever you want and off you go.

Compiled and tested on Debian Lenny i386.

Download here.

Posted in Uncategorized | Comments Off on OpenCDE-0.3.2 Binary

Untar To A Specific Directory

To untar, for example, a binary tarball, do this:

tar -zxvf tarball.tar.gz -C <directory>

Posted in Uncategorized | Comments Off on Untar To A Specific Directory

OpenCDE-0.3.2

OpenCDE-0.3.2 has been released and with it the install procedure has changed. Originally it was simply:

cd opencde/src/

gmake

Then you moved it to whever you liked, such as /opt

Now you do:

cd opencde/

gmake

gmake install

It works great but this extra step means no more Debian binaries from me. Luckily, compiling from source is easy.

Posted in Uncategorized | Comments Off on OpenCDE-0.3.2

Compiling An OpenBSD kernel

In OpenBSD 4.8 support for my Broadcom 4400 was disabled by default due to a memory issue. What to do? Recompile the OpenBSD kernel with the driver re-enabled.

This is not as scary as it sounds.

First, get a kernel:

ftp://ftp.aso.ee/pub/OpenBSD/4.8/

You want sys.tar,gz

Unpack the kernel in /usr/src

cd /usr/src/sys/arch/i386/conf

Of course if you are using a different architecture, say ARM, then change to /arch/arm/conf instead

Make a backup of GENERIC:

cp GENERIC GENERIC.user

edit GENERIC.user. Uncomment the line you want. I uncommented bce in the network drivers section. Save and close.

Then do:

config GENERIC.user

now cd /usr/src/sys/arch/i386/compile/GENERIC.user

In this directory do:

make depend

make

make install

Then you are finished. That wasn’t very hard, was it?

Posted in Uncategorized | Comments Off on Compiling An OpenBSD kernel

Setting A Root Cursor

In some window managers (twm and mwm, to name a few), your root cursor is an X. If you want to change it something like what Windows or MacOS uses, add this to your window manager’s start up script:

xsetroot -cursor_name left-ptr

Read the man page for xsetroot for other cursor options.

Posted in Uncategorized | Comments Off on Setting A Root Cursor

Tab Completion In CSH

If you use bash, you are probably used to tab completion to fill out commands and double tab to get a list of all possible commands. In csh, the default login shell for FreeBSD, this is not set by default, except in root’s .cshrc. You can add these lines to get tab completion:

set filec

set autolist

If you don’t like the system beep (like me) put this in as well:

set nobeep

Posted in Uncategorized | Comments Off on Tab Completion In CSH

Finding xmkmf

xmkmf is sometimes used to compile Motif applications, particularly older ones. It is still supported but findinf what packages in Linux or the *BSDs can be difficult. Here is where to find them:

In Debian, it’s in the xutils-dev package.

In FreeBSD, it’s in devel/imake.

Posted in Uncategorized | Comments Off on Finding xmkmf

MoxFM

Every wanted to run the ancient moxfm on Linux? You can! It’s very, very primative but it does work. Here’s how:

Compile it from source but before you do you need to a change a line in  regexp/regexp.c. Change line 203 to:

extern void * malloc();

Then compile.

Posted in Uncategorized | Comments Off on MoxFM