Well... it turned out to be a setting in my ~/.gtkrc-2.0, which had: gtk-entry-select-on-focus = 0 Thanks Enrico and Jason for helping to work this out. I hereby withdraw the patch :-) -- Bert Vermeulen bert at biot.com