Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-08-2003, 06:20 PM   #1
LQ Newbie
Registered: Aug 2003
Distribution: slackware 9.0
Posts: 1

Rep: Reputation: 0
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.

-- 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
Old 06-13-2011, 08:32 PM   #2
Registered: Jan 2010
Location: Minnesota, USA
Distribution: Slackware 13.37
Posts: 284

Rep: Reputation: 54
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Changing keycodes in GTK+ smkumar Programming 0 05-19-2005 02:52 AM
Using xev to collect keycodes kaega2 Linux - Software 4 09-28-2004 04:42 AM
keyboard configuration perkulio Linux - Newbie 5 10-25-2003 01:19 AM
ncurses and keycodes grantm Programming 0 07-24-2003 01:14 PM
keyboard configuration matthewD Linux - Hardware 0 02-02-2003 05:44 PM

All times are GMT -5. The time now is 01:34 PM.

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