-   Linux - Newbie (
-   -   A way to change 'Esc' key to '~' key in the keyboard? (

stf92 03-24-2013 03:52 AM

A way to change 'Esc' key to '~' key in the keyboard?
What's asked.

mddnix 03-24-2013 05:31 AM

How to disable/remap a keyboard key in Linux?

DavidMcCann 03-24-2013 12:30 PM

The Spanish American keyboard has a printing tilde ("swung dash") at AltGr 4/$ and a variant with a dead tilde (for Portuguese) at AltGr +/*. You should be able to select the variant with KDE's keyboard configuration tool.

stf92 03-24-2013 06:31 PM

Is it preserved when getting into a console (/dev/ttyN), N=1,...,6? In fact, all I am interested in is the six (in my case) text consoles (aka virtual consoles).

stf92 03-24-2013 07:28 PM


# loadkeys -
Loading <stdin>
keycode 41 = Escape Escape
keycode 1 = grave asciitilde

Then, ^D. That's what I did. Now when I press the tilde I get Esc and vice versa, a very convenient thing when in vim, given that the Esc key was out of reach in my keyboard. (Not taken from the internet.)

All times are GMT -5. The time now is 03:14 AM.