如何统计我的按键频率和计数
我正在尝试重新映射我的键盘以更好地打字。
但我需要知道每个键包含符号的频率,如果包含 tab shift ctrl 那就太好了。我需要计算所有按键,而不仅仅是英文单词中字母出现的频率。
我使用 ibus-pinyin 作为输入法。还有 archlinux,很棒的 wm,没有安装 kde 和 gnome。有什么程序可以帮助我吗?
顺便提一句: 德沃夏克出了什么问题。 http://colemak.com/FAQ#What.27s_wrong_with_the_Dvorak_layout.3F
但 colemak 不是也适合我,因为我想要更多符号。
但我必须保留一些数字,1-5来从ibus中选择中文单词,你知道拼音字母的频率与英文字母不同。
I am try to remap my keyboard to type better.
But I need to know the frequency of each key include symbol, It will be great if include tab shift ctrl. I need all the keypress acounting not only frequency of letters appears in english words.
I am using ibus-pinyin as my input method. and archlinux, awesome wm, without kde and gnome installed. any programes could help me?
BTW:
what's wrong with dvorak.
http://colemak.com/FAQ#What.27s_wrong_with_the_Dvorak_layout.3F
but colemak is not fit for me too, cause I want more synmbols.
but I have to keep some numbers, 1-5 to select chinese word from ibus, you know pinyin letters frequency is not same as english letters.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
现在用鼠标点击终端窗口,从如下行获取窗口的 id:
xwininfo:窗口 ID:0x1e0000f“绿色”
要求
xev
实用程序跟踪窗口的X
事件,记录其输出。<代码>
$ xev -id 0x1e0000f >日志与
输入一些文本并从日志中获取统计信息,过滤 keyreleases:
Now hit your terminal window with the mouse to obtain the window's id from the line like that:
xwininfo: Window id: 0x1e0000f "green"
Ask
xev
utility to trackX
events of your window, logging its output.$ xev -id 0x1e0000f > log &
Type in some text and get your statistics from the log, filtering the keyreleases: