English 中文(简体)
使用xkbdmap(set克布图)绘制 r鱼图?
原标题:Use xkbdmap (setxkbmap) to map rwin to altgr?

Normally, I can find solutions by just googling around, but I can t find any decent documentation for xkbdmap except for the grossly inadequate man page.

也许我会这样错了。 我有一个105个老板,没有AltGR钥匙。 对于空间驳船的权利,我有Alt、Windows Key、某种菜单钥匙,然后是控制钥匙。

(谁是视窗钥匙和Mendu钥匙的点——谁实际使用?)

Apparently, some keyboard have another key which is the AltGR key. That with E would give you a Euro symbol for instance, apparently.

Because my keyboard doesn t have this key, I thought to use the xkbdmap command like this:

xkbdmap altgr:rwin

为什么不这样做?

最佳回答

标准x或g分配中没有<编码>xkbdmap指令。 您或许可以使用<代码>xmodmap,但通常在X11号土地上做的工作略有不同。 如果你使用XKB(每个人都现在使用XKB)的话,就会有一些虚拟分子,如“竞争”和“金属”和“三级选择”,这些分子被描绘成真正的钥匙。 采用<编码>标准>。 你们可能想要的是

setxkbmap -option -option compose:rwin

setxkbmap -option -option lv3:rwin_switch,eurosign:e

depending on what exactly you want. Google setxkbmap options to figure out your possibilities.

(The first empty -option argument clears existing options, the second one adds to existing options. If you want to keep existing options, skip the first -option. Current options are st或ed in the properties of the root window.)

Note that most keyboards that have AltGr lack the right Alt key. If you want your right Alt to act like AltGr, change rwin to ralt in the above commands.

问题回答

暂无回答




相关问题
keyboard hook in windows C++ or what?

I wish to build my own application which can send keyboard commands(messages) to the Windows OS. For example when I press the combination ctrl+shift+n, I wish to launch the notepad.exe . How can I ...

Detect if any key is pressed in C# (not A, B, but any)

[EDIT 3] I kind of "solved it" by at using the "strange" version. At least for the most important keys. It is suffient for my case, where I want to check that ALT and ALT+A are not ...

Solution for iPhone new file dialog keyboard

i want to let the user type in the name of a new file, so there are certain characters i want to prevent entry on. is there a special keyboard i can use or can i disable certain keys on the iphones ...

Search by using the keyboard in a list/grid - algorithm

I need to implement a custom search in a grid and I would like to find some user interface guidelines that explain the standard way to implement it. I mean this kind of search that is initiated by ...

热门标签