Tuesday, March 25, 2008

Fix Broken Element Electronics mp3 player

I purchased one of those small cheap USB 1GB Element Electronic mp3 players from Circuit City. 1 weeks afer purchase the thing would freeze after powering up. Here's how you can fix it under Linux (Windows users might be out of luck).

Plug player into USB. It should auto-mount. Check 'mount -l' and umount the device (it will look something like /dev/sdb1)

Run:
fsck.vfat -a -v /dev/sdb1

Tuesday, February 19, 2008

Remotely execute programs via SSH on local display

Lets pretend you are laying in bed with your laptop and want to run a South Park episode on your desktop across the room without getting up. Lets do it:

ssh user@192.168.1.5
export DISPLAY=":0.0"