[问题]类似 ^ 这样的字符需要按键两次才能输入的问题,搜索数天无果

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
timberg
帖子: 21
注册时间: 2008-01-02 11:20

[问题]类似 ^ 这样的字符需要按键两次才能输入的问题,搜索数天无果

#1

帖子 timberg » 2008-05-13 9:40

起因是这样的,用了truecrypt,xp下面设置的密码,在ubuntu 下面输入密码总数出错,
仔细观察密码输入框,第一次输入字符 ^ 的时候,似乎并没有输入,再按一次,圆点
才多了一个,输入了,这样输入的密码才是对的。

后来,在地址栏,gedit ,甚至网页文本框中测试,每次都是如此!

我的密码24位,很多非字母和数字的字符,所以总是遇到麻烦。

请教各位,有没有办法解决?

刚才忘记说了,用的是 ubuntu 8.04
goodayoo
帖子: 87
注册时间: 2007-10-23 11:19

#2

帖子 goodayoo » 2008-05-13 10:48

你用的是什么输入法,我用FCITX好像输入^只用一次就可以了,也许是输入法把^设置为有功能的选项吧。

另外,你的密码要24位,有必要这么强吗?如果你的机器上有木马,100位的密码也没用啊,要防暴力破解一般10位就足够了,如果你用上了^这些符号的话。
头像
millenniumdark
论坛版主
帖子: 4159
注册时间: 2005-07-02 14:41
系统: Ubuntu 14.04 (Kylin)
联系:

#3

帖子 millenniumdark » 2008-05-13 15:50

goodayoo 写了:
另外,你的密码要24位,有必要这么强吗?如果你的机器上有木马,100位的密码也没用啊,要防暴力破解一般10位就足够了,如果你用上了^这些符号的话。
用true crypt的,想法和你不一樣的。true crypt,就靠密碼保啊。建議密碼超過20位。


如果不是輸入法的原因,那可能是鍵盤配置有誤。樓主試試設置一下,或者用 xev抓取鍵值,看看是甚麽情況。
timberg
帖子: 21
注册时间: 2008-01-02 11:20

#4

帖子 timberg » 2008-05-13 18:38

谢谢两位兄弟

我用的是 scim 输入法,但是输入密码的时候输入法并没有起作用啊?也许是我理解错了。

另外似乎不是键盘布局的问题,因为第二次就输入正确了。第一次输入就被吃掉了。

关于密码长度,确实是 truecrypt 推荐大于20位,就把几个常用的密码组合起来,24位,字符似乎比英文字母和数字都多,输入的时候就比较痛苦。

继续等待.......
timberg
帖子: 21
注册时间: 2008-01-02 11:20

#5

帖子 timberg » 2008-05-13 19:19

刚才在控制台下面试了一下(ctrl-alt-F1)
^ 字符在命令行输入不了,
按多少次都出不来,
按下一个不同的字符,才会出来,这时候是一次出来两个,
真奇怪,但是键盘应该是好的,因为在XP下面怎么都没有问题。

应该是 Linux 某个地方有隐藏的设置,期望有兄弟出来指点一下。
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#6

帖子 eexpress » 2008-05-13 21:10

tty下的是X键盘设置。
gnome下是gnome键盘设置。
不可比的。
你应该使用xev测试下,另外可在gnome-terminal和xterm里面都试试输入。
● 鸣学
timberg
帖子: 21
注册时间: 2008-01-02 11:20

#7

帖子 timberg » 2008-05-14 11:18

eexpress兄:这是使用 xev 测试的结果,似乎能够正常反应
麻烦帮我看看问题出在什么地方


KeyPress event, serial 30, synthetic NO, window 0x3400001,
root 0x66, subw 0x0, time 152797, (463,527), root:(522,614),
state 0x10, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyPress event, serial 30, synthetic NO, window 0x3400001,
root 0x66, subw 0x0, time 152943, (463,527), root:(522,614),
state 0x11, keycode 15 (keysym 0xfe52, dead_circumflex), same_screen YES,
XLookupString gives 1 bytes: (5e) "^"
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 30, synthetic NO, window 0x3400001,
root 0x66, subw 0x0, time 153005, (463,527), root:(522,614),
state 0x11, keycode 15 (keysym 0xfe52, dead_circumflex), same_screen YES,
XLookupString gives 1 bytes: (5e) "^"
XFilterEvent returns: False

KeyRelease event, serial 30, synthetic NO, window 0x3400001,
root 0x66, subw 0x0, time 153041, (463,527), root:(522,614),
state 0x11, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

KeyPress event, serial 30, synthetic NO, window 0x3400001,
root 0x66, subw 0x0, time 187685, (463,527), root:(522,614),
state 0x10, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

FocusOut event, serial 30, synthetic NO, window 0x3400001,
mode NotifyGrab, detail NotifyAncestor
XIO: fatal IO error 11 (资源临时不可用) on X server ":0.0"
after 30 requests (30 known processed) with 0 events remaining.
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#8

帖子 eexpress » 2008-05-14 19:44

KeyPress event, serial 32, synthetic NO, window 0x1600001,
root 0x1a6, subw 0x1600002, time 1480646, (27,45), root:(677,483),
state 0x0, keycode 62 (keysym 0xffe2, Shift_R), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyPress event, serial 32, synthetic NO, window 0x1600001,
root 0x1a6, subw 0x1600002, time 1482958, (27,45), root:(677,483),
state 0x1, keycode 15 (keysym 0x5e, asciicircum), same_screen YES,
XLookupString gives 1 bytes: (5e) "^"
XmbLookupString gives 1 bytes: (5e) "^"
XFilterEvent returns: False

KeyRelease event, serial 32, synthetic NO, window 0x1600001,
root 0x1a6, subw 0x1600002, time 1483054, (27,45), root:(677,483),
state 0x1, keycode 15 (keysym 0x5e, asciicircum), same_screen YES,
XLookupString gives 1 bytes: (5e) "^"
XFilterEvent returns: False

KeyRelease event, serial 32, synthetic NO, window 0x1600001,
root 0x1a6, subw 0x1600002, time 1492556, (27,45), root:(677,483),
state 0x1, keycode 62 (keysym 0xffe2, Shift_R), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

你那里识别的键码是一样的。说明和我键盘是一样的。 :lol:
但键值,和我这里的不同。看来还是键盘布局设置的事情。

模式 pc105 布局 us
X下可看/etc/X11/xorg.conf
● 鸣学
timberg
帖子: 21
注册时间: 2008-01-02 11:20

#9

帖子 timberg » 2008-05-14 19:55

eexpress兄:我试试看。非常感谢。

今天在另外一台机器上面试验,没有任何问题,看来是我的机器的问题。
timberg
帖子: 21
注册时间: 2008-01-02 11:20

#10

帖子 timberg » 2008-05-14 20:26

卸载中文输入法之后一切正常,
安装fcitx以后更糟糕, 别的字符都能输入 唯独这个字符 按多少次都不能输入 郁闷死了
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#11

帖子 eexpress » 2008-05-14 20:39

卸载了输入法,那键值也正常了? 不会吧。你的键值,都是双字节长度的呢。和locale有关??猜想

fcitx的家目录下的设置,也清除吧。别是什么设置,导致这变成了某功能键。
● 鸣学
timberg
帖子: 21
注册时间: 2008-01-02 11:20

#12

帖子 timberg » 2008-05-16 17:28

eexpress兄:多谢你的热心帮助,可惜我实在解决不了。只好重新安装了。上次使用的是alternatice-CD,懒了一下,没有刻光盘,直接用硬盘安装的,结果搞了这么奇怪的问题出来,这次干脆刻录了 desktop 的光盘,光驱安装,安装好,每一次配置后都要先看看键盘,结果到现在,配置完成了,还是一切正常 ^_^ 轻松输入这个字符,正在重新安装 truecrypt。

教训(但愿能对后来人有用):还是老老实实光盘安装。
回复