LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Keyboard configuration, keycodes (https://www.linuxquestions.org/questions/linux-newbie-8/keyboard-configuration-keycodes-113891/)

Binne101 11-08-2003 05:20 PM

Keyboard configuration, keycodes
 
Hello there,

I just bought a new keyboard (1 euro) but the BackSpace is very small so i thougt i would place the backspace function under de caps lock button as well.

The problem is that if i change in file ..X11//xkb/keycodes/xfree86

<BKSP> = 22;
<BKSP> = 66; // the caps lock button

The caps lock button is only disabled and doesn't get the intended backspace function.

Questions
-- Is it immpossible to put the same function under two different buttons?
-- If the above is the case , where can i change the caps lock function into a backspace function
(i also tried to change in ..X11/xkb/us the line...

key <CAPS> { [ backspace ] };

but this didn't work either)

Can somebody help me with this

selfprogrammed 06-13-2011 07:32 PM

You changed the definition of the symbolic name, there can only be one value.

This sounds like you need to explore Xmodmap.
Start with
man Xmodmap

This maps one keycode into another.

You can have a system wide one in /etc/X11/xinit
or a personal one in ~/.Xmodmap


All times are GMT -5. The time now is 11:37 AM.