Possible Duplicate:
Linux keylogger without root or sudo! Is it real?
Is it possible for a malicious website to install a key logger on my Ubuntu desktop?
If so, how can I detect and deactivate the key logger?
There is a claim of a Linux keylogger that doesn't need root.
See this other question Linux keylogger without root or sudo! Is it real?
It is possible, though unlikely. It would be more likely to have a repository that is hacked to include a keylogger.
For more information, see this answer