简体   繁体   English

emacs中的交换控制和大写锁定键,操作系统:ubuntu 14.04

[英]swap control and caps lock key within emacs, operating system : ubuntu 14.04

Is it possible to swap control key and caps lock key within emacs, not system wide in ubuntu. 是否可以在emacs中而不是在ubuntu中系统范围内交换控制键和大写锁定键。

In OS X we can do 在OS X中,我们可以做

(setq mac-option-modifier 'super mac-command-modifier 'meta)

for swapping alt and command key. 用于交换alt和命令键。

so is there any variables which we can set for swapping ctrl and caps key in Ubuntu 14.04? 那么在Ubuntu 14.04中我们可以设置用于交换ctrl和caps键的任何变量吗?

No, there is no way provided by Emacs to do that under X11. 不,Emacs没有提供在X11下执行此操作的方法。 Maybe X11 does offer a way to change the keyboard mapping for a particular application nowadays, but I've never of it. 也许X11确实为当今的特定应用程序提供了一种更改键盘映射的方法,但是我从来没有这样做过。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM