Interactively change the gdm login screen background

As root:

ln -s /usr/share/applications/gnome-appearance-properties.desktop \

The properties window is shown when gdm restarts.
Here's a new way to do the same thing, but easier:

xhost +local:gdm
sudo -u gdm dbus-launch gnome-appearance-properties
xhost -local:gdm

Arduino 1.0.x on Fedora 17

After installing Arduino 1.0.1 (from the source on I get these errors running the IDE:

Experimental: JNI_OnLoad called.
Stable Library
Native lib Version = RXTX-2.1-7
Java lib Version = RXTX-2.1-7
check_group_uucp(): error testing lock file creation Error details:Permission deniedcheck_lock_status: No permission to create lock file.
please see: How can I use Lock Files with rxtx? in INSTALL

Some info about hacking the GMLAN bus

So you have the right idea, unfortunately this vehicle is a bit unique. This is because the Body Control Module is responsable for unlocking the doors AND receiving the RKE key fob commands so there is no reason for there to be a CAN BUS message to control the locks on this using the RKE messages. So don't bother with pressing the key fob and trying to find a command to replicate, this won't work.

HOWEVER, OnStar has a message it sends to control the locks. So you can simply watch for that message:
Unlock Drivers Door is: 0x1024E097 00 02 FF
Unlock All Doors is: 0x1024E097 00 03 FF

amavisd fails after update

I stopped receiving email after an upgrade. Starting the amavisd service shows the errors:

Starting Mail Virus Scanner (amavisd): fetch_modules: error loading required module Compress/
dualvar is only available with the XS version of Scalar::Util at /usr/lib/perl5/site_perl/5.8.8/Compress/ line 8
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/Compress/ line 8.
Compilation failed in require at /usr/sbin/amavisd line 197.

wview data recovery

This page shows how I edited my wview archive database to patch in data values that were NULL when my Vpro2 sensors battery went dead in the middle of the night.

Become root.
Stop wview!

root@wview:~# sudo /usr/bin/service wview stop
Shutting down wview daemons...

Make a backup of the database

root@wview:~# cd /usr/local/var/wview/archive # /var/lib/wview/archive if installed using apt
root@wview:~# sqlite3 wview-archive.sdb .dump | sqlite3 archive-backup.sdb
root@wview:~# mv archive_backup.sdb /tmp

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer