Scott James Remnant ([info]keybuk) wrote,
@ 2004-01-08 03:17:00
Previous Entry  Add to memories!  Tell a Friend!  Next Entry
Current mood: accomplished
Current music:Alizée - Moi...Lolita

Nautilus, Metacity and planet.py
Did you see what I did there? I managed to avoid posting anything to my blog yesterday. Had one of those "fire fighting" days, where things just keep piling and piling up for me to get done faster than I can do them.

Brought my jobs applied for total this week up to 10, and have had two replies, one saying the position was already filled and one off the agency for the normal chat on the phone.

Tripped over an amusing bug in nautilus, it doesn't like duplicate mounts at all, after a few entertaining minutes dismissing the GNOME crash dialog every time nautilus respawned I bugged seb128 and we figured out which bug I'd tripped.

Of course, this meant I had to go and rewrite the shiny new udev/hotplug script I wrote to automount my USB watch and digital camera. By the time it gets called the useful sysfs information like vendor and model has gone, so it wasn't unmounting the devices. I rewrote the script so it uses that information to add the device and then writes the devfs path to a state file. When a device gets removed, it just checks whether its in the state file and if so unmounts the right path. Sounds a lot more complicated than it really is, the shell script maybe has about 10 lines to deal with hotplug/udev, the rest is to arrange the decryption of the USB device etc.

Finally lost my tether with metacity auto-focusing new windows in mouse focus mode, nothing worse than dismissing some random unknown dialog in mid IRC conversation because it stole the keyboard. Grabbed the source and ripped out most of the culprit code (Havoc writes good code, so this was easy) so now the only window with focus is the one under the mouse cursor. Who needs dialog-cluttering preferences when you've got emacs and the ^K key?

Now I'm in the mood, I'm trying to remember what else about metacity annoyed me, so I can assert my preferences for those bits too :-)

And finally, I spent the last few hours writing a completely new date/time parsing module for planet.py (must decide on a proper name when Jeff gets back from linux.conf.au), it's got to the point now where my head can't process the timezone differences I'm having to check, so I think it's bedtime.




Create an Account
Forgot your login or password?
Login w/ OpenID
English • Español • Deutsch • Русский…