[Sugar-devel] [PATCH sugar] Fix shortcut for view source

Sascha Silbe silbe at activitycentral.com
Mon Apr 16 10:02:53 EDT 2012


Excerpts from Simon Schampijer's message of 2012-04-16 10:42:39 +0200:

[extensions/globalkey/viewsource.py]
> -BOUND_KEYS = ['0xEC', '<alt><shift>v']
> +BOUND_KEYS = ['XF86KbdLightOnOff', '<alt><shift>v']

Is "Keyboard light on/off" really a key that we want to trigger View
Source? Maybe it's what current OLPC images call the key, but that's
fixable.

If upstream (Linux) really is averse to adding a new definition for the
"gear" key, the following existing one [1] sounds like a better fit:

KEY_PROPS ("Display the properties of the current document" [2])


That key would be better mapped to opening the Journal details view (for
the current activity session), but if there's really push-back from the
input subsystem maintainers, it would be a reasonable compromise.

Sascha

[1] https://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob_plain;f=include/linux/input.h;hb=HEAD
[2] https://www.usb.org/developers/devclass_docs/Hut1_12v2.pdf (section 15.16)
-- 
http://sascha.silbe.org/
http://www.infra-silbe.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20120416/2f317268/attachment.pgp>


More information about the Sugar-devel mailing list