API for binding and unbinding a key combo?
hadess at hadess.net
Mon Mar 31 03:23:22 PDT 2008
On Mon, 2008-03-31 at 11:07 +0100, Thiago Macieira wrote:
> On Monday 31 March 2008 11:52:43 Bastien Nocera wrote:
> > On Thu, 2008-03-27 at 20:16 +0100, Thiago Macieira wrote:
> > > This API is accessible via D-Bus. If wanted, we could work on making it
> > > an fd.o spec.
> > What API is available via D-Bus exactly?
> > I was thinking of adding to the gnome-keybindings-properties and
> > gnome-settings-daemon a way to "execute" D-Bus commands, for
> > applications not have to worry about grabbing keyboard keys themselves.
> It's something we added for KDE 4.0. The big change is that the global
> shortcuts, instead of being stored in a per-application configuration, are
> now stored globally and handled by a single process.
> That allows us to:
> - detect conflicts when two applications want to have the same shortcut
> - remember that an application bound to that shortcut even if it's not
> - list all global shortcuts (useful for learning)
Well, that's pretty much what we want to do as well, to avoid
applications having their own code, and needing to be running to capture
the key (we've already got the first and last bullet items, and want to
implement the second one).
What about the D-Bus API?
More information about the xdg