JackieXie168 / logkeys

Automatically exported from code.google.com/p/logkeys
Other
0 stars 0 forks source link

Junk characters on Fedora 20 (x86_64) #118

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I am getting junk characters in the loggy.log file irrespective of whichever 
layout I choose on Fedora 20 (x86_64) running Mate window manager.

What steps will reproduce the problem?

  1. Install logkeys from git (SHA1 6276dd827279dd8c9e959d5c57e6c4b9b85ef08f)
  2. Start logkeys service
  3. Type text in keyboard

I have both QWERTY and Dvorak layouts on my system, and keying in with the 
chosen layout enters the correct characters on the screen. The loggy.log has 
incorrect data.

What is the expected output (QWERTY layout)?

  asdfghjkl

What do you see instead?

  =ȁ܂aoeuid

If I switch to Dvorak layout on the GUI, and run the test, I observe:

What is the expected output (Dvorak layout)?

  aoeuidhtn

What do you see instead?

   =ȁ܂aoeuid

What version of the product are you using (`logkeys --help`)?

  logkeys from SHA1 6276dd827279dd8c9e959d5c57e6c4b9b85ef08f.

On what operating system?

  Fedora 20 (x86_64)

Please provide any additional information below.
If applicable, also attach contents of /proc/bus/input/devices, the output
of command `dumpkeys -n > dumpkeys.output`, and any
other relevant files.

# cat /etc/systemd/system/lk.service

[Unit]
Description=Log Key

[Service]
Type=forking
ExecStart=/usr/local/bin/logkeys -s -u -d /dev/input/event3 -o 
/home/shaks/installs/lk/loggy.log

[Install]
WantedBy=multi-user.target

$ env | grep LANG
LANG=en_US.UTF-8

$ locale -a | grep en_US
en_US
en_US.iso88591
en_US.iso885915
en_US.utf8

Original issue reported on code.google.com by shakthim...@gmail.com on 19 Jun 2014 at 12:01

Attachments:

GoogleCodeExporter commented 9 years ago
Interesting.
Can you please also provide the output of simply `locale`.

Original comment by kernc...@gmail.com on 19 Jun 2014 at 4:05

GoogleCodeExporter commented 9 years ago
$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

Original comment by shakthim...@gmail.com on 20 Jun 2014 at 3:09

GoogleCodeExporter commented 9 years ago
I have the same issue on Ubuntu 14.04 64 bit. Logkeys version: 
0.1.1a+git5ef6b0dcb9e3-2, QWERTY keyboard, polish layout. Doesen't matter if I 
work in unity or in gnome. Exporting keymap doesen't help. Worked fine with 
Ubuntu 12.04, messed up after upgrade. In attached file I wrote: 
aaaaa<TAB>bbbbb<TAB>ccccc<TAB>ddddd<TAB>eeeee<TAB>fffff<TAB>.

Original comment by japoni...@gmail.com on 2 Oct 2014 at 12:07

Attachments:

GoogleCodeExporter commented 9 years ago
Output of locale:
LANG=pl_PL.UTF-8
LANGUAGE=pl_PL
LC_CTYPE="pl_PL.UTF-8"
LC_NUMERIC="pl_PL.UTF-8"
LC_TIME="pl_PL.UTF-8"
LC_COLLATE="pl_PL.UTF-8"
LC_MONETARY="pl_PL.UTF-8"
LC_MESSAGES="pl_PL.UTF-8"
LC_PAPER="pl_PL.UTF-8"
LC_NAME="pl_PL.UTF-8"
LC_ADDRESS="pl_PL.UTF-8"
LC_TELEPHONE="pl_PL.UTF-8"
LC_MEASUREMENT="pl_PL.UTF-8"
LC_IDENTIFICATION="pl_PL.UTF-8"
LC_ALL=

Original comment by japoni...@gmail.com on 2 Oct 2014 at 12:09