The actual crash here was caused by the use of the key XF86Display rather than
the adding of the shortcut - this is because g-s-d has it's own internal
handler for this specific key.

So the fix has a few parts:

1) Disabled gnome-session-daemon's own handling of the Fn+F7 key.

2) Added a media key "DISPLAY_KEY" and alternative screensaver key binding
   "SCREENSAVER_ALT_KEY" This also required the addition of two new gconf keys
   to store these keybindings, and setting their defaults to be XF86Display
   and XF86ScreenSaver by default.

3) Gnome-Control-Center needed a very slight addition to an XML file to list
   these two new GConf keys in the keybinding editor.

Attached are the changes.

Thanks,

Darren.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diff
URL: 
<http://mail.opensolaris.org/pipermail/jds-review/attachments/20090807/6a90d11e/attachment.ksh>

Reply via email to