logkeys not working in 12.04

10,726

Solution 1

It can be done simple steps. First open a terminal and do the following

  1. Step1: Installing logkeys using sudo apt-get install logkeys
  2. Step2: Start it by sudo logkeys --start
  3. Step3: Type anything you need, you can use cntrl, shift, etc. Logfile is stored on the location /var/log/ unless you specified -o option
  4. Step4: To view it, type sudo gedit /var/log/logkeys.log (Assume gedit installed on your system). Instead you can use sudo nano /var/log/logkeys.log

Solution 2

I had this problem too, so I installed with apt-get and it worked like a charm. Open terminal (Ctrl+Alt+T) and then type:

sudo apt-get install logkeys

Link to pt_br/uk_table or another language table: Keymaps

sudo logkeys -s -m /home/user/pt_BR.map -o /home/user/logkeys.log

Solution 3

What command are you using to run it? When I tried to do

sudo logkeys --start

The program stalled for me too. I realized I needed to specify a keymap. If you have a US keyboard, you can type

sudo logkeys --start --us-keymap

For other keyboards type

sudo logkeys --start --keymap=/path/to/my/keymap.map

The fact that logkeys doesn't tell you a keymap isn't specified looks like a bug to me.

Share:
10,726

Related videos on Youtube

user63311
Author by

user63311

Updated on September 18, 2022

Comments

  • user63311
    user63311 over 1 year

    After installing logkeys from synaptic, it does not work, hangs when trying to start, even the output file is not created. Compiling solves this particular problem, but the now the output file is blank. How can i know what may be he problem? And how to solve it?

  • gsingh2011
    gsingh2011 almost 10 years
    There are issues with logkeys and newer versions of Ubuntu, so I've written my own keylogger that you can find here: github.com/gsingh93/simple-key-logger