Ricky Moorhouse

Blog

Doh!

Jessica was reaching for Laura's iPod

"You can't play with the iPod, you're too small"

Jessica: "Doh!"

Useful Ubuntu Stuff

This post is a dumping ground for useful Ubuntu bits and pieces that aren't worth a full post on their own.

Useful Packages

  • Lookit - captures screenshots and upload them to a specified server, then copies the URL to the clipboard - ppa:lookit/ppa

  • Teatime - simple timer, in a Unity launcher

  • Giver - simple file sharing within the same network - install

  • Docky - nice dock - install To get the file browser working nicely with the dock, you need to:

    1. Edit /usr/share/applications/nautilus-browser as root, changing: Exec=nautilus to Exec=nautilus --no-desktop --browser .

    2. Drag "File Manager" from /usr/share/applications to the dock

Useful Commands

dpkg -r <_package>_ remove a package

dpkg --purge <_package> _remove all traces of a package

more at Linux.com: What to do when apt-get fails

Stop the screen from going off when the laptop is shut

Run gconf-editor

Go to  apps-->gnome-power-manager-->buttons ,  set lid_ac and/or lid_battery to "nothing"

NAS Hacking

A while back, we close to filling up the partition on our desktop machine with photos, so I decided to get a second hard drive. In the end, instead of a hard drive, I decided to by the WD My Book World Edition which is a basic Linux server with a 1TB hard drive.

Here's my notes on what I've done with it so far:

  • Enable ssh

  • Install optware

  • Install some useful optware packages (e.g. cron, perl etc)

  • Re-configure the system using prep_whitelight.sh

  • Write script to tweet system status

  • Write script to report stats to MySQL database online

  • Build views to show the stats

Okehampton Extended Services Website

Cauliflower

I don't like cauliflower. It's too white and I can't see it.

Abi (holding a piece of cauliflower)

Restore Default Panels

Been using these commands quite a bit recently as I experiment with moving the panels about.

gconftool --recursive-unset /apps/panel pkill gnome-panel

from Watching the Net

Wow

Octipens

Octipens

While drawing aliens with Abi, I drew this octipens

Delete directories older than 90 days

find /var/log/hostdb/* -type d -mtime +90 -exec rm -rf {} ;

-type d only look at directories, f would be files -mtime +90 modified time greater than 90 days ago

Import key into apt

wget -q http://tools.hursley.ibm.com/repo/pubkey -O- | sudo apt-key add -