gnome-screensaver and alternative window managers
June 30, 2009 at 10:15 PM | categories: psa | View CommentsI've been using gnome-screensaver with awesome for a while without any problems. Unfortunately that all came to an end when GNOME 2.26 hit Debian Sid last week. Just so that no-one else has to dig for this, gnome-screensaver now uses gnome-session to determine idle time. gnome-screensaver will run without gnome-session, but the screensaver and locking mechanism will never kick in. Fortunately, there is an easy fix. I changed my
gnome-power-manager &
line to
gnome-session &
in ~/.xsession and everything works now.
pcapy
May 21, 2009 at 09:21 AM | categories: python, psa | View CommentsSo, pcapy is a great, simple
library to interface with libpcap. It works well for reading live packets and
dump files. There's only one problem: there is no way to modify or create a
struct pcap_header from Python code. So there's really no way to add data to
the packets and add them to a dump file.