Tag: ubuntu

qmmp

Posted by – December 6, 2009

I’ve gotten to rather like qmmp. It offers a nice balance of simplicity and functionality, and has the added benefit of being modeled visually after my favourite windows based media player, winamp. To make this style more complete, i’ve added the official Winamp base skin.

QMMP with Winamp base skin

QMMP with Winamp base skin

The classic skin came from here. Just download the .zip and place it in ~/.qmmp/skins, open up the settings, make the switch, and you’re good to go.

Sharp LC32DA5U 720p with Intel Graphics

Posted by – October 5, 2009

We’ve got a Sharp LC32DA5U in our dorm connected to a homebuilt PC from Frys. Recently we upgraded to Ubuntu Karmic and the latest SVN releases of XBMC. In order to get a reasonable resolution out of the TV/PC combination we needed this little xrandr script to set the resolution before xbmc starts up. The modelines for this TV are not easy to track down, so here they are in script form for future reference.

#!/bin/bash
# This one leaves a vertical stripe on the left
#MODELINE="74.250 1280 1320 1376 1650 720 722 728 750 +HSync +VSync"
# This one seems to actually work
MODELINE="74.250 1280 1390 1430 1650 720 725 730 750 +HSync +VSync"
xrandr --newmode 1280x720 $MODELINE
xrandr --addmode DVI1 1280x720
xrandr --output DVI1 --mode 1280x720

Weekend at Lime Rock Park

Posted by – September 3, 2009

I am at Lime Rock Park this weekend for the Rolex Vintage Festival. I had to check in to a college website for course registration, so I fired up my laptop with a Virgin Mobile Broadband2Go card, and got it done. Using the modemmanager PPA with Jaunty seems to make things really usable.

Dell M1330 in a Tent

Dell M1330 in a Tent

gflags for Ubuntu

Posted by – August 26, 2009

If you are looking for the excellent Google gflags python module as an Ubuntu package, look no farther. It is available from my PPA: https://launchpad.net/~compbrain/+archive/ppa

A quick how-to install is included below.

$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E5C2D9CD
$ sudo sh -c 'echo "deb http://ppa.launchpad.net/compbrain/ppa/ubuntu jaunty main" > /etc/apt/sources.list.d/compbrainppa.list'
$ sudo apt-get update && sudo apt-get install python-gflags

Update:
As of January 4, 2010 Google has hosted their own python package for the gflags module. You can find it on Google Code here.

Nginx PHP5 Fastcgi

Posted by – July 30, 2009

Quick note for myself and anyone else looking to replace lighttpd or apache2 with nginx for serving php (ala wordpress):
http://frankkumro.com/2009/01/03/ubuntu-nginx-and-php5/

Fix a Broken AVI Seek Table/Index

Posted by – July 29, 2009

Recently I was given a video by a friend in AVI format that caused trouble when playing it on my Neuros OSD. When I watched the video on my laptop with mplayer, everything was fine, but when you tried to seek with the Neuros it reported a video 16 minutes in length instead of the full hour it should have been. Poking around the internet I found the following solution: Use mencoder to rebuild the AVI index, and write it out to a new copy of the video.


$ mencoder -forceidx input.avi -o output.avi -oac copy -ovc copy
$ mv output.avi input.avi

After that, the new input.avi should be playable, and seeking should work properly again.