[kde-linux] event-handling in kdebase

Kevin Krammer kevin.krammer at gmx.at
Fri Feb 23 19:58:02 UTC 2007


On Friday 23 February 2007 17:47, David Jarvie wrote:
> On Thursday 22 Feb 2007 16:56, suneel kommuru wrote:
> >Hello,
> >    I am trying to log the event details such as mouse
> >clicks,keys pressed etc to a file. For that i inserted
> >some code in 'kdebase-3.4.0' files.
> >These are the files:
> >kdebase-3.4.0/kdm/kfrontend/kgapp.cpp
> >kdebase-3.4.0/kdm/kfrontend/themer/kdmthemer.cpp
> >
> >I successfully compiled and installed the kdebase
> >using make and make install. But the events are not
> >logging and even the log file is also not created. I
> >did not understand where the problem is?
>
> Did you install your compiled kdebase into the same directory
> as your existing KDE installation, i.e. did it overwrite your
> kdebase package files? If not, you need to use a parameter
> to ./configure of --prefix=/opt/kde (or whatever your KDE
> installation directory is). If you did install it in the correct
> place, perhaps it's a coding error?

Since he is patching the login manager (kdm), maybe he is still running the 
installed one. Better would be to patch an application that runs during the 
user session, unless of course this is about a key logger to snoop other 
people's passwords.

Cheers,
Kevin

P.S.: Suneel, developer questions => kde-devel at kde.org

-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-linux/attachments/20070223/abffe58c/attachment.sig>


More information about the kde-linux mailing list