Just installed Ubuntu 13.10 Desktop, has no Chinese input method now. Type English words for now.

GCC is 4.8.1, clang is 3.4, boost is 1.54, emacs is 24, everything is newest, enjoy all these.

But no GUI way to switch Caps Lock and Ctrl keys. Refer this question: http://askubuntu.com/questions/149971/how-do-you-swap-or-remap-control-and-caps-lock-keys-in-xubuntu

Another way:

sudo vi /etc/default/keyboard
then find the line that starts with XKBOPTIONS, and add ctrl:nocaps to make Caps Lock an additional Control key or ctrl:swapcaps to swap Caps Lock and Control.

For example, mine looks like

XKBOPTIONS="lv3:ralt_alt,compose:menu,ctrl:nocaps"
then run

sudo dpkg-reconfigure keyboard-configuration
The reason this way is better is that it will take effect on the virtual consoles (e.g. Ctrl+Alt+F1) as well as in the graphical desktop.

shareimprove this answer

I use this:

ctrl:swapcaps


when run dpkg-reconfigure keyboard-configuration command, just press enter key several times to apply default settings.

Do not need to restart computer, it works immediately.

Logo

欢迎加入DeepSeek 技术社区。在这里,你可以找到志同道合的朋友,共同探索AI技术的奥秘。

更多推荐