LinuxQuestions.org
Review your favorite Linux distribution.
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 11-08-2003, 05:20 PM   #1
Binne101
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.

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
 
Old 06-13-2011, 07:32 PM   #2
selfprogrammed
Member
 
Registered: Jan 2010
Location: Minnesota, USA
Distribution: Slackware 13.37, 14.2, 15.0
Posts: 635

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


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

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

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

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