Skip to navigation

Archive for the 'Linux' Category

Binding a key to the middle mouse button with xmodmap and xkbset

Tuesday, June 3rd, 2008

Great, I just found this here. This is how you can bind a key to the middle mouse button (I use the middle mouse button a lot to (a) paste stuff from the clipboard, (b) open links in background tabs in Firefox). I used the pause/break key, so it’s slightly modified. I first had to […]

SD card with ReiserFS for backups

Thursday, May 15th, 2008

The hard drive on my laptop has occasionally been making some funny klicking noises recently, and I’m a bit worried it’s going to break down one of these days. So in addition to backups to an external HD and a USB stick, I bought a 4 GB SD card to just leave in the card […]

How to rename a USB flash drive

Tuesday, May 6th, 2008

Depending on the filesystem, see this guide. Quick info for FAT32: fdisk -l to see what your drive is, then: sudo mlabel -i /dev/sdb1 ::mynewname (substitute what you found in fdisk -l for the /dev/sdb1).

Sync tomboy via SSH

Monday, April 14th, 2008

Tomboy is a nifty little wiki-like application for taking notes on your desktop. You can sync two or more computers via SSH. If you have an account on a remote server and SSH access, the following screenshot shows how to do it. Note that I set restrictive permissions on the sync folder. For some bizarre […]

grip: encode to flac with tags

Wednesday, January 23rd, 2008

The default didn’t write tags when I encoded to .flac format. This does the trick: –best -V -T “ARTIST=%A” -T “TRACKNUMBER=%t” -T “ALBUM=%d” -T “TITLE=%n” -T “GENRE=%G” -T “DATE=%y” -o %m %w I did this a few weeks ago, so I don’t really remember, but I think the -T bits were what was missing.