Bug 363251 - Fn+F2 should be bound to "Lock screen" on ThinkPads
Summary: Fn+F2 should be bound to "Lock screen" on ThinkPads
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: control-center
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Bastien Nocera
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-11-02 02:36 UTC by petrosyan
Modified: 2013-01-10 04:29 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-11-06 15:46:04 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 494210 0 None None None Never

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


Note You need to log in before you can comment on or make changes to this bug.