After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 691636 - Add support for Mission Control/Launchpad keys
Add support for Mission Control/Launchpad keys
Status: RESOLVED OBSOLETE
Product: gnome-settings-daemon
Classification: Core
Component: media-keys
3.7.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
3.10
: 742685 (view as bug list)
Depends on: 698743 752771
Blocks:
 
 
Reported: 2013-01-13 02:04 UTC by Bastien Nocera
Modified: 2019-03-20 11:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
media-keys: Add support for machine specific media-keys (2.70 KB, patch)
2015-07-24 14:41 UTC, Bastien Nocera
none Details | Review
media-keys: Add support for machine specific media-keys (2.70 KB, patch)
2015-07-24 14:44 UTC, Bastien Nocera
none Details | Review
media-keys: Proof of concept support for Mission Control/Launchpad keys (2.43 KB, patch)
2015-07-24 14:44 UTC, Bastien Nocera
none Details | Review
media-keys: Add more debug when received shell key events (1.01 KB, patch)
2015-07-24 14:44 UTC, Bastien Nocera
none Details | Review

Description Bastien Nocera 2013-01-13 02:04:55 UTC
As used on Mac keyboards.

The Expose key should probably toggle the overview, not sure about the Dashboard one.
Comment 1 Matthias Clasen 2013-04-18 23:58:55 UTC
What keysym do these use ?
Comment 2 Bastien Nocera 2013-04-24 13:39:59 UTC
I actually have "Mission Control" and "Launchpad" keys on my model of keyboard, and they generate:
XF86LaunchA and XF86LaunchB

On a Mac, the first key would be used to get an overview of the opened windows (-> Activities), the second one would show a list of applications to launch (-> Activities -> Show Applications).

Given how generic the keysyms are, I'd be happy if we had at least the ability to control those from g-s-d through the shell's D-Bus interface.
Comment 3 Bastien Nocera 2015-07-23 10:59:20 UTC
Update for new keys:
https://en.wikipedia.org/wiki/Apple_Keyboard#Apple_Wireless_Keyboard
Comment 4 Bastien Nocera 2015-07-24 14:41:45 UTC
Created attachment 308082 [details] [review]
media-keys: Add support for machine specific media-keys

This will allow handling keys in a specific way for Apple machines.
Comment 5 Bastien Nocera 2015-07-24 14:44:42 UTC
Created attachment 308084 [details] [review]
media-keys: Add support for machine specific media-keys

This will allow handling keys in a specific way for Apple machines.
Comment 6 Bastien Nocera 2015-07-24 14:44:47 UTC
Created attachment 308085 [details] [review]
media-keys: Proof of concept support for Mission Control/Launchpad keys
Comment 7 Bastien Nocera 2015-07-24 14:44:52 UTC
Created attachment 308086 [details] [review]
media-keys: Add more debug when received shell key events
Comment 8 Bastien Nocera 2015-07-24 14:51:45 UTC
This isn't exactly what we want because we also want the Apple keyboards to behave in the same way. So we'd need to either only capture keys for a particular keyboard (in which case, we might as well use that for the builtin Mac keyboard, instead of relying on the machine type), or we'd need a way to tell gnome-shell that we won't be handling this key and pass it on.

Or we could always catch it, make sure to fallback to custom keys if the user set XFLaunchA to do something else on their machine...
Comment 9 Florian Müllner 2015-07-24 15:32:12 UTC
(In reply to Bastien Nocera from comment #8)
> Or we could always catch it, make sure to fallback to custom keys if the
> user set XFLaunchA to do something else on their machine...

Does it really need special handling? If we just add appropriate actions (with LaunchA/LaunchB as default bindings), users can unset or reconfigure it, and everything would just work, no? Or are there known keyboards that generate LaunchA/LaunchB for something else?
Comment 10 Bastien Nocera 2015-07-24 15:36:59 UTC
(In reply to Florian Müllner from comment #9)
> (In reply to Bastien Nocera from comment #8)
> > Or we could always catch it, make sure to fallback to custom keys if the
> > user set XFLaunchA to do something else on their machine...
> 
> Does it really need special handling? If we just add appropriate actions
> (with LaunchA/LaunchB as default bindings), users can unset or reconfigure
> it, and everything would just work, no? Or are there known keyboards that
> generate LaunchA/LaunchB for something else?

Plenty, it's the go-to keysym for "I don't know what to do with this". See /usr/share/X11/xkb/symbols/inet
Comment 11 Florian Müllner 2017-01-19 14:34:47 UTC
*** Bug 742685 has been marked as a duplicate of this bug. ***
Comment 12 GNOME Infrastructure Team 2019-03-20 11:07:04 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-settings-daemon/issues/200.