[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Get global X events and save your environment!
From:       "Jos Poortvliet" <jos () mijnkamer ! nl>
Date:       2007-07-01 15:57:08
Message-ID: 5c77e14b0707010857u63fc45caseb5d42ae53eae9f7 () mail ! gmail ! com
[Download RAW message or body]

On 6/30/07, Stefan Kombrink <katakombi@gmail.com> wrote:
> Hi there,
>
>   For a pretty long time now I was in search for global X events for one of my
> projects - ksynaptics.
> KSynaptics runs as a daemon thread and polls the keyboard state to disable the
> touchpad while typing.
>
> I've looked at how other apps implemented it and found that:
>
>  * indeed quite a few app needs similar functionality
>
>  * you'll need to code Xlib directly (both Qt and KDE cannot do that)
>
>  * many implementations seems like copy&paste
>
>  * apps using low poll intervals rank high on intels powertop
>
> I wrote some basic Qt example - SynDock, mostly a thread class which
> catches global X events via X Event Interception Extension (Xevie) and emits
> some signals to inform about it.
> The main issue using Xevie is that only one single client may connect.
> I'd like to use Xevie since it is a very efficient way for me to get informed
> about when the user starts and stops typing.
> Please have a look at the code and try it out for yourself.
> If you have syndock (ksynaptics) installed compare it to EvieDaemon using
> powertop
>
> My idea is to make a KDE daemon out of this code which could be useful for a
> bunch of apps (kopete/ksynaptics/kscreensaver/amarok/...)
>
> I do not have the necessary KDE knowledge but I am willing to help with what I
> can.
> Is there any demand - anyone interested in such a daemon?

Well, dear stephan,

I'm not exactly jumping to get on board and help, but that might
mostly have to do with me not being a coder ;-)
I AM very interested in having this for KSynaptics, as it is indeed
draining my battery like a madman! So, please, if you're willing to
spend some time on this,please go ahead...

> Who is willing to help?
>
> Greetings,
>  Stefan >8^)
>
> --
> Warning! Insufficient or missing coffee in module "STOMACH".
> User halted.
>
>
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
>
>
>
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic