193s / logkeys

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

russian keymap #75

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Please add...

Original issue reported on code.google.com by mr.lioncub on 25 Nov 2011 at 5:24

GoogleCodeExporter commented 9 years ago
I will.
please create it. :-)

Original comment by kernc...@gmail.com on 25 Nov 2011 at 5:53

GoogleCodeExporter commented 9 years ago
It would be quite good

I will not understand as it to make most under this instruction 
http://code.google.com/p/logkeys/wiki/Keymaps

Original comment by turadmin...@gmail.com on 26 Nov 2011 at 1:16

GoogleCodeExporter commented 9 years ago
Has created keymap ru.map (replaced English letters in en_GB.map), but now 
everything is written in Russian letters, even if I write in English letters...

Original comment by mr.lioncub on 27 Nov 2011 at 8:03

GoogleCodeExporter commented 9 years ago
well, the logkeys doesn't know what keymap you use. it's supposed to be set at 
the beginning of the logging session via --keymap switch and everything typed 
afterwards is considered with regard to that keymap.
logkeys isn't aware of the keymap (keyboard layout) switching you do during 
your session.

Original comment by kernc...@gmail.com on 27 Nov 2011 at 12:43

GoogleCodeExporter commented 9 years ago
how to change keymap when I change layout?

Original comment by mr.lioncub on 28 Nov 2011 at 2:14

GoogleCodeExporter commented 9 years ago
as of now, you would have to re-run logkeys with different or no --keymap 
switch.

also, if you created a seemingly correct ru_RU.map, can you please upload it?

Original comment by kernc...@gmail.com on 28 Nov 2011 at 2:58

GoogleCodeExporter commented 9 years ago
I do not know how to create the correct kemap, simply replace the letters in 
en_GB.map...
how to determine the current layout and switch it when needed?

Original comment by mr.lioncub on 28 Nov 2011 at 3:05

Attachments:

GoogleCodeExporter commented 9 years ago
yes, correctly replacing the letters from en_GB.map, is it possible to do it.

> how to determine the current layout and switch it when needed?

I don't know. ˇ\(o_o)/ˇ
perhaps by writing a wrapper shell script that regularly every few seconds 
checks the output of command
$ setxkbmap -query
and then kills and re-initiates logkeys with the correct keymap setting. that 
would be one option, I guess. :-)

Original comment by kernc...@gmail.com on 28 Nov 2011 at 6:16

GoogleCodeExporter commented 9 years ago
do Russians use AltGr key?
what symbol does AltGr+1 produce?
AltGr+[key] makes the third column in the keymap file.

Original comment by kernc...@gmail.com on 28 Nov 2011 at 6:18

GoogleCodeExporter commented 9 years ago
Ctrl+Shift or Alt+Shift (frequently used) - layout switched...

Can you do to this script is invoked by pressing certain keys, depending on the 
options for running logkeys?

Original comment by mr.lioncub on 29 Nov 2011 at 2:12

GoogleCodeExporter commented 9 years ago
yes, you can make such a script and bind it to certain keys via your Settings 
Manager. perhaps it will work if you bind it to Ctrl+Shift or Alt+Shift. if 
something is already bound to these combinations, try to see what it is 
(likely, a script of some sort) and edit it appropriately.

unfortunately, I cannot do it for you.

Original comment by kernc...@gmail.com on 29 Nov 2011 at 12:34

GoogleCodeExporter commented 9 years ago
in the program logkeys can not do this?

it would be nice if the program passed parameters which map to use when you 
press certain keys

Original comment by mr.lioncub on 29 Nov 2011 at 2:53

GoogleCodeExporter commented 9 years ago
it is Unix philosophy that one program does only one thing and it does it well.
http://en.wikipedia.org/wiki/Unix_philosophy#McIlroy:_A_Quarter_Century_of_Unix

logkeys logs keypress streams (not very well, but usably). what you seek can be 
achieved with bash script, so what you consider nice would indeed be nice, but 
redundant (not to mention lacking robustness, separation and economy rules).

ask on some community forums, and you should get help in figuring out the 
contents of said bash script. quote this issue as reference if needed.

good luck! :-)

Original comment by kernc...@gmail.com on 29 Nov 2011 at 3:13