Bug 363251

Summary: Fn+F2 should be bound to "Lock screen" on ThinkPads
Product: [Fedora] Fedora Reporter: petrosyan
Component: control-centerAssignee: Bastien Nocera <bnocera>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: dcantrell, katzj
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-11-06 15:46:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description petrosyan 2007-11-02 02:36:50 UTC
Description of problem:
On ThinkPads "Fn+F2" key combination should be bound to "Lock screen" in gnome
keyboard shortcuts.

Additional info:
It works as expected on Ubuntu 7.10

Comment 1 Matthias Clasen 2007-11-05 03:20:58 UTC
Please check out http://people.freedesktop.org/~hughsient/quirk/ to help us come
up with the correct fix for this.

Comment 2 petrosyan 2007-11-05 04:57:06 UTC
"Fn+F2" quirk has already been added to hal-info. Its code is 0x92.
Now it needs to be bound to "Lock screen" in gnome keyboard shortcuts.

Comment 3 Jeremy Katz 2007-11-05 12:42:43 UTC
One thing that's tricky here is that gnome-settings-daemon only lets you bind
one keypress to an action rather than multiple (as it'd be good to leave
ctrl+alt+l working for laptops which don't have a screenlock button)

I guess it could be sort of worked around by having multiple lock screen entries
although that's kind of a kludge.

Comment 4 Bastien Nocera 2007-11-05 13:29:01 UTC
gnome-settings-daemon isn't in gnome-session.

The easy fix is to add a bunch of static keys to gnome-settings-daemon, as
should be done for the "default" XF86 keys.

Comment 5 petrosyan 2007-11-05 14:26:25 UTC
Gnome supports multiple keybindings for the same action.
http://bugzilla.gnome.org/show_bug.cgi?id=164831

Comment 6 Bastien Nocera 2007-11-05 15:17:27 UTC
(In reply to comment #5)
> Gnome supports multiple keybindings for the same action.
> http://bugzilla.gnome.org/show_bug.cgi?id=164831

It doesn't, metacity actions do (FYI, I wrote the multimedia keys code in the
control-center).

Comment 7 Bastien Nocera 2007-11-06 15:46:04 UTC
Moved upstream:
http://bugzilla.gnome.org/show_bug.cgi?id=494210