Tag Archives: Linux

How To: Configure Any Remote Control With LIRC

My LIRC / remote control adventures continue (see the two previous posts). I bought a StreamZap, and configured a .lircrc file to control Banshee, the mouse pointer, and the screensaver on my computer, to allow listening of music from across the room.
I had for some reason blindly assumed that the IR receiver that came with [...]

How To: Control The Mouse Pointer With A Remote Control

Lirc provides a mouse daemon (lircmd); however, if for some reason you don’t or can’t use lircmd, you can use xautomation as a simple alternative.
The Setup
Refer to my previous post for details on how to select a remote, basic lirc installation & setup, etc. For the sake of this tutorial, you can install lirc and [...]

How To: Use A Remote Control To Control Banshee

Banshee is a popular media player for Linux. This tutorial walks through configuring a remote control to control Banshee while AFK; for convenience, I’ll assume that you’re using Ubuntu 9.10, but most of the tutorial is generally applicable.
If you’re generally interested in using LIRC or xautomation with Gnome, this will be useful to you.
The Hardware
First, [...]

Script To Find SCSI Bus Id

Despite Linus’ assertion that the concept of SCSI Ids is “f*cking idiotic”, sometimes they’re necessary. For example, sometimes the following will work to recover an Offlined device:

echo “scsi remove-single-device 99 0 3 0″ > /proc/scsi/scsi
echo “scsi add-single-device 99 0 3 0″ > /proc/scsi/scsi

There’s a script named lsscsi [...]

How To: Locally Mirror A Site With Youtube Content

The Problem
Let’s say that you need to copy a website to a CD so that it can be used offline. Of course, wget takes care of html pages and images for you:

wget -m -k -K -E http://www.mysite.com

However, if the site contains youtube videos and you want those to work offline, then you’ll need to do [...]

How To: Rip Your CDs (For The Lazy Geek)

When was the last time you listened to a CD? That’s right, years ago. And yet you probably have a couple racks full of the suckers wasting space in your living room. It’s time to rip them once and for all, throw them in a box, and dump them in the basement (note: the less [...]

Enhancing GNOME’s Usability with AWN, Dolphin & Gnome-Do

I’ve been a long time KDE user. KDE 3.5 was fast and efficient. KDE 4.0 was abysmal, but KDE versions 4.1 onwards were somewhat usable. Unfortunately I added a couple of Kubuntu PPA repositories, and ended up with a KDE 4.2 system in which Plasma crashed once every 3-4 hours. Fed up and craving stability, [...]

How To: Stop Motion in Ubuntu

I took a photo every 2 minutes while driving across the US (I velcroed a piece of wood with a bolt of the right size mounted in it to my dashboard, and screwed my camera onto it.) That resulted in 1456 JPG images, equating to 48 hours of driving time (this is not strictly accurate; [...]

How To: Add a Hard Drive in Ubuntu Hardy Heron

This howto tells you how to install a hard drive with existing data on it into a new computer. You could use a UI if you wanted, alternatively.
Find existing mount points

See what we already have mounted.

reubenf@fridge:~$ df -k | grep /dev
/dev/sda1 [...]

How To: Broadcom 1390 Wireless on Ubuntu Hardy

Ubuntu Hardy has made wireless a little easier for laptop owners w/ the broadcom 1390 chipset. No more fucking around with ndiswrapper; just install a package, run a script, and you’re done. Installing the package should do the trick, but for some reason it failed for me (the firmware didn’t download), so you’ll probably need [...]

How To: Install libdvdcss on Ubuntu Gutsy

Here’s how to install libdvdcss2 and a couple other useful media libraries on your Gutsy box. Note that these may be “illegal”. Paste the following in your terminal.

sudo su -c ‘echo deb http://packages.medibuntu.org/ gutsy free non-free >> /etc/apt/sources.list’
sudo su -c ‘echo deb-src http://packages.medibuntu.org/ gutsy free non-free >> /etc/apt/sources.list’
wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add [...]

HowTo: Set KDE Desktop Icon Text Color

Setting KDE’s desktop icon text color has always, always made me insane. It’s not in the same place with all the other color settings, oh, no! To set most item colors in a KDE setup, you use the Control Center, select Appearance & Themes, then Colors. A simple easy-to-navigate interface for setting almost every foreground, [...]

My Argument With Theodore Ts’o About FSCK

Part of the problem that I’m concerned about is that the vast majority of Ubuntu users are less experienced that say Debian users. That’s not a slight against Ubuntu users, but merely a statement of fact; Ubuntu has done a lot of good work to allow less experienced users to be able to install and [...]

Tora: Good SQL Editor for Linux

None of the eclipse plugins I tried worked well with our postgres DB, so I dug around the Ubuntu repositories and found Tora, which is a simple & useful SQL Editor. Run queries, see results in tables.
To install on Ubuntu:

sudo apt-get install tora

How To: Install libdvdcss on Ubuntu Feisty

Here’s how to install libdvdcss2 and a couple other useful media libraries on your Feisty box. Note that these may be “illegal”. Paste the following in your terminal.

sudo su -c ‘echo deb http://medibuntu.sos-sts.com/repo/ feisty free non-free >> /etc/apt/sources.list’
sudo su -c ‘echo deb-src http://medibuntu.sos-sts.com/repo/ feisty free non-free >> /etc/apt/sources.list’
wget -q http://medibuntu.sos-sts.com/repo/medibuntu-key.gpg -O- | sudo apt-key add [...]