alt+fn 键进入 tty(没有按ctrl)

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

alt+fn 键进入 tty(没有按ctrl)

#1

帖子 amorphobia » 2011-07-17 22:53

不知道这是怎么回事,alt+f1~f6 就进入 各种 tty, 但是明明没有按下 ctrl 键。
11.04 unity, gnome 都这样。先谢谢大家了。
头像
nmsfan
帖子: 18958
注册时间: 2009-10-16 22:46
来自: finland

Re: alt+fn 键进入 tty(没有按ctrl)

#2

帖子 nmsfan » 2011-07-17 23:14

我只知道tty之间切换不需要ctrl
>>>>推Ubuntu 桌面培训~~<<<<
>>>>想加入/了解gimp汉化吗,点我吧~<<<<
——————————————————————
不推荐wubi,也不推荐你给别人推荐wubi…………
随心而为的感觉真好……
强推mayhem!!
强推ensiferum
头像
adam8157
帖子: 2794
注册时间: 2009-03-05 16:31
联系:

Re: alt+fn 键进入 tty(没有按ctrl)

#3

帖子 adam8157 » 2011-07-17 23:15

在console下是这样的
头像
amorphobia
帖子: 7
注册时间: 2011-07-17 22:48

Re: alt+fn 键进入 tty(没有按ctrl)

#4

帖子 amorphobia » 2011-07-17 23:23

但是我现在是在图形界面下按 alt+fn,这样都会进入tty。。。
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

Re: alt+fn 键进入 tty(没有按ctrl)

#5

帖子 eexpress » 2011-07-18 11:37

xev测试下这按键序列,看那提示的键名。
系统事件处理只认键名的。
这和键盘布局,键盘语言有关。
● 鸣学
头像
amorphobia
帖子: 7
注册时间: 2011-07-17 22:48

Re: alt+fn 键进入 tty(没有按ctrl)

#6

帖子 amorphobia » 2011-07-18 14:35

回ls
好吧,我先去学习一下什么是xev吧,如果有推荐教程就最好了
头像
amorphobia
帖子: 7
注册时间: 2011-07-17 22:48

Re: alt+fn 键进入 tty(没有按ctrl)

#7

帖子 amorphobia » 2011-07-18 14:41

这是我按下 alt + f5 的情况,先按的 alt 再按的 f5, 进入了 tty 但是没有看到有 ctrl 键按下啊,请高手解答一下

KeyPress event, serial 37, synthetic NO, window 0x5600001,
root 0x15a, subw 0x0, time 599651, (174,406), root:(1134,471),
state 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

Expose event, serial 37, synthetic NO, window 0x5600001,
(0,0), width 178, height 10, count 3

Expose event, serial 37, synthetic NO, window 0x5600001,
(0,10), width 10, height 58, count 2

Expose event, serial 37, synthetic NO, window 0x5600001,
(68,10), width 110, height 58, count 1

Expose event, serial 37, synthetic NO, window 0x5600001,
(0,68), width 178, height 110, count 0

KeyPress event, serial 37, synthetic NO, window 0x5600001,
root 0x15a, subw 0x0, time 599754, (174,406), root:(1134,471),
state 0x8, keycode 71 (keysym 0xffc2, F5), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x5600001,
root 0x15a, subw 0x0, time 599827, (174,406), root:(1134,471),
state 0x8, keycode 71 (keysym 0xffc2, F5), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x5600001,
root 0x15a, subw 0x0, time 599930, (174,406), root:(1134,471),
state 0x8, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

Re: alt+fn 键进入 tty(没有按ctrl)

#8

帖子 eexpress » 2011-07-18 15:45

才发现1104,满多keysym的相关文件都没了。

只能看 xmodmap -pk 的信息了。

● xmodmap -pk|grep Xf86Switch

看下,有几个。
● 鸣学
回复