Re: Global keybindings in GNOME




If we do something like this, I think it's important to present the UI in a way which isn't overwhelming. Having a bunch of apps that I've never heard about and never run populating a huge list in the already-huge keybindings dialog would be undesirable. No real ideas here, just something to watch out for...

-Alex

Matthias Clasen wrote:
On 8/6/06, Nigel Tao <nigel tao gnome gmail com> wrote:
Deskbar-applet has this aswell (same code). I think GNOME needs some API
for registering global keybindings. IIRC someone did some work on
providing an actual UI for user defined keybindings (instead of the
current mess with gconf). Isn't it logical to give apps a way to hook in
to this aswell?
Yeah, I think that a generic keybinding API would be useful.  I
remember collecting a list of keybinding bugs somewhere due to the
fact that there's a bunch of duplicated code that's slightly
different.  Things like <Super>space works as a keybinding for Open
Terminal (handled by gnome-control-center???) but doesn't work for
metacity's run-custom-command thingies (or vice versa??).  I suppose I
could dig up the bugzilla IDs, hang on...

Would it make sense to have a single D-Bus service where tomboy,
deskbar, metacity, etc. (and don't forget our KDE friends) can just
say "notify me on <Alt>F12", or is that just total crack and should we
just have a traditionally linked libkeybinder instead?

I had envisioned that this could be implemented by having apps install
small xml files in a well-known place
which contain a translated name/description of an
action they want to make available via a global keybinding, plus a
command to run in that case.

Of course, bringing in D-Bus and other gizmos would crank up the
coolness factor...

Matthias
_______________________________________________
desktop-devel-list mailing list
desktop-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]