The actual concept is not very difficult to write even from scratch, but i wonder if the lock screen can be altered to such an extent on the N900. I believe it's closed source on maemo5 - you can change an image or the text linked in the lock screen, but not the lock screen widget/app itself. I'd like to be wrong though if someone knows better...
# Double press [power] behaviour # # Valid options: # disabled - do nothing on double press # menu - show the device menu # poweroff - shutdown device # softpoweroff - enter soft poweroff mode # tklock - enable the touchscreen/keypad lock <default> PowerKeyDoubleAction=tklock
signal sender=:1.10 -> dest=(null destination) serial=945 path=/org/freedesktop/Hal/devices/computer_logicaldev_input; interface=org.freedesktop.Hal.Device; member=Condition string "ButtonPressed" string "power"