Subject: Re: Hotkey support via powerd
To: Steven M. Bellovin <>
From: Jared D. McNeill <>
List: tech-kern
Date: 12/22/2007 12:59:20
On Sat, 22 Dec 2007, Steven M. Bellovin wrote:
>> Things like "display switch" hotkeys are not unique to Thinkpads.
> That one, sure, but all of them?  Other buttons?

How about some examples?

>> back to wsmux1 if it doesn't want to handle it directly.
> Hmm, ok, though I'll have to figure out how to trigger a user-level
> process independent of what window has the focus.

GNOME does this for me. I'm sure your window manager can be taught to do 
the same.

> We obviously have different styles of work.  (We've been over that in a
> previous discussion...)  What meets your needs may not meet mine.  In
> this case, I see a strong need to pass keyboard events to a user
> process; powerd is a root process.  I'm simply inquiring what the
> interface is.

In the end, it sounds like what you want is dbus/hald. We don't have that 
yet, but we can use powerd to inject these messages when the time comes.