screensaver activation notification
arysin at gmail.com
Sat Nov 20 17:29:30 GMT 2010
2010/11/20 Oswald Buddenhagen <ossi at kde.org>
> On Sat, Nov 20, 2010 at 11:28:25AM -0500, Andriy Rysin wrote:
> > Could anybody point me to an (easy) way to listen to screensaver/lock
> > activation so I can provide separate layout for it?
> you could have trivially found that by browsing
> org.freedesktop.ScreenSaver in qdbusviewer and/or some googling.
thanks, I was googling for some x11 or kde api, I guess I'll take a look at
but it seems rather weird to me that you want to watch the locker from
> the outside given that it actively embeds a layout switcher element.
layout widget is quite passive element: it mostly just listens to xkb layout
changes and displays the active layout, plus allows to switch it by pressing
button, more than that it does not know where it's embedded in — it's the
kded keyboard daemon which listens to window changes and switches active
layout based on that.
> Also along the way, seems that keyboard layout widget that is shown in
> > dialog does not show a tooltip on the button even though I set it. I am
> > if this is some limitation of the lock dialog or I am doing something
> probably something to do with the mouse grab
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the kde-core-devel