LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-24-2013, 03:52 AM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Rep: Reputation: 76
A way to change 'Esc' key to '~' key in the keyboard?


What's asked.
 
Old 03-24-2013, 05:31 AM   #2
Madhu Desai
Member
 
Registered: Mar 2013
Distribution: Rocky, Fedora, Ubuntu
Posts: 541

Rep: Reputation: 153Reputation: 153
How to disable/remap a keyboard key in Linux?
 
Old 03-24-2013, 12:30 PM   #3
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,137

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
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.
 
Old 03-24-2013, 06:31 PM   #4
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
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).

Last edited by stf92; 03-24-2013 at 06:35 PM.
 
Old 03-24-2013, 07:28 PM   #5
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Code:
# 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.)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Keyboard mapping using xev see what key code, a key is bond to? NightSky Slackware 12 10-14-2011 03:03 AM
[SOLVED] Re-bind broken keyboard key to unused key rizzy Linux - Hardware 5 03-19-2011 12:57 PM
take esc key as input csegau Linux - Software 1 06-24-2010 07:59 AM
How to Change What a Keyboard Key Returns mac57 Mandriva 0 01-30-2005 03:28 PM
need to change a key on my keyboard ArnaudVR Slackware 1 06-27-2003 08:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration