[英]How to enter greek alpha under Xorg?
I want to enter greek alpha letter under Xorg.我想在 Xorg 下输入希腊字母。 In system xcompose (/usr/share/X11/locale/en_US.UTF-8/Compose) there is line:
在系统 xcompose (/usr/share/X11/locale/en_US.UTF-8/Compose) 中有一行:
<dead_greek> <a> : "α" U03B1 # GREEK SMALL LETTER ALPHA
How to enter it with US keyboard?如何用美式键盘输入? My locale is
en_US.UTF-8
.我的语言环境是
en_US.UTF-8
。 What is this key <dead_greek>
?这个键
<dead_greek>
什么?
I just looked up /usr/share/X11/locale/en_US.UTF-8/Compose
and there is no dead_greek
character.我刚刚查找了
/usr/share/X11/locale/en_US.UTF-8/Compose
并且没有dead_greek
字符。 There are only dead_acute
, dead_iota
, and the like to combine with alpha.只有
dead_acute
、 dead_iota
等与 alpha 结合。 There is no plain greek alpha in this file.此文件中没有普通的希腊字母。
If you use gnome, look at this answer How can I map a character to a key combination?如果您使用 gnome,请查看此答案如何将字符映射到组合键? over at http://askubuntu.com .
在http://askubuntu.com 。 In your case this would be
在你的情况下,这将是
Ctrl-Shift-u 03b1 space Ctrl-Shift-u 03b1空格
If you have no dead_greek key in your xmodmap output, you can add one yourself.如果您的 xmodmap 输出中没有dead_greek键,您可以自己添加一个。 Search for a key you want to use for that purpose, right windows key or right super key for example.
搜索您要用于该目的的键,例如右 Windows 键或右超级键。 Then you can replace the definition of this key with dead_greek
然后你可以用 dead_greek 替换这个键的定义
keycode 133 = dead_greek NoSymbol SuperR
you could put this somewhere that runs after your keyboard is set up in X:你可以把它放在你的键盘在 X 中设置后运行的地方:
xmodmap -pke | awk '/keycode[ \t]+65[ =]/ { $5="dead_greek"; print $0; }' | xmodmap -
for my keyboard that maps shift-space to dead_greek.对于将 shift-space 映射到 dead_greek 的键盘。
Takes a bit of getting-used-to.需要一点习惯。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.