[blfs-support] keyboard setup in graphical terms

Richard Melville richard.melville69 at googlemail.com
Wed Feb 10 02:10:05 PST 2016


On 10 February 2016 at 00:35, Ken Moffat <zarniwhoop at ntlworld.com> wrote:
> On Tue, Feb 09, 2016 at 11:22:16AM +0000, Richard Melville wrote:
>> Linux Mint with default settings and a GB keyboard:-
>>
>> /etc/inputrc:-
>>
>> # allow the use of the Home/End keys
>> "\e[1~": beginning-of-line
>> "\e[4~": end-of-line
>>
>> # allow the use of the Delete/Insert keys
>> "\e[3~": delete-char
>> "\e[2~": quoted-insert
>>
>> # mappings for Ctrl-left-arrow and Ctrl-right-arrow for word moving
>> "\e[1;5C": forward-word
>> "\e[1;5D": backward-word
>> "\e[5C": forward-word
>> "\e[5D": backward-word
>> "\e\e[C": forward-word
>> "\e\e[D": backward-word
>>
>> xmodmap -pke:-
>>
>> keycode  22 = BackSpace BackSpace BackSpace BackSpace NoSymbol
>> NoSymbol Terminate_Server
>>
>> keycode 119 = Delete NoSymbol Delete
>>
>> Richard
>
> Thanks.  So my keycode 22 does have the normal gb values.
>
> But do backspace and delete work in the way I call 'correctly' (
> delete to left, delete current character ) for you in whichever
> graphical term you are using, and have you had to alter their
> values from the defaults in that term's configuration ?

It's just a default Linux Mint installation with the default Gnome
Terminal (no modifications), and yes, it works "correctly" as you
suggest: "BACK SPACE" deletes character to the left and "DEL" deletes
the character under the cursor.

Richard


More information about the blfs-support mailing list