LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Disabling 'insert' key (https://www.linuxquestions.org/questions/linux-general-1/disabling-insert-key-112239/)

jrpretz 11-04-2003 09:53 AM

Disabling 'insert' key
 
Hi.

I never use the 'insert' key on my keyboard unless I accidentally hit it with my pinky finger. Is there any easy way to disable that key?

jrpretz

jrpretz 11-04-2003 10:40 AM

No sweat. I just popped it off with a paperclip. I'd still like a software solution if anyone knows one.

Y0jiMb0 11-10-2003 01:32 AM

Hi!
Well, I think there are ways to do it :D
I think you can use the 'bind' builtin command (see info bash >> Shell Builtin Commands >> Bash Builtins), so you assign to the 'insert' key the behaviour you like. Something like this
Code:

bind -x '"\ooo":"theFunctionYouWant"'
where \ooo is the ascii code of the key (in octal).
The bad news: I don't know the codes of such keys; moreover, this recipe only works inside a bash session :(
However, if you want full control over the keyboard, I believe you should go to the X server documentation; perhaps you could begin with 'man XF86Config' and the references therein.

I hope it helps you to begin the search.
Regards
:study:


All times are GMT -5. The time now is 02:49 AM.