all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: emacs615 <benjaminbondtate@gmail.com>
To: Help-gnu-emacs@gnu.org
Subject: Re: How can I make my caps lock key act like a control key?
Date: Wed, 16 Jul 2008 07:27:50 -0700 (PDT)	[thread overview]
Message-ID: <18488707.post@talk.nabble.com> (raw)
In-Reply-To: <874p6q2vkw.fsf@hubble.informatimago.com>




emacs615 <benjaminbondtate@gmail.com> writes:

> Hi,
> I am having trouble mapping my caps lock key to control key in my linux
> shell(NOT X). I want both the control and caps lock keys to act like
> control
> keys.  I've tried using loadkeys and I'm not getting errors, but I can't
> get
> it to work.  I've used dumpkeys to get a keymap, edited the map to where
> both the caps lock and control keys have the same key code (58 i think). 
> I
> then load this map with loadkeys and there are no errors but nothing
> happens.  I tried opening a new shell just in case and still no changes
> have
> occurred.
> Help on this issue would be appreciated.


>>Make a copy of your prefered map (dumpkeys is ok), and edit it.  My
>>capslock was near the 'a' key, so I replaced it with Control (keycode
>>29):
>>keycode  29 = Control
>>This maps the keys of the keyboard, each having a unique keycode,  on
>>the left, to the meaning of the key, on the right.

I followed your advice and I made a copy of the current keymap for editing
with this command:
`dumpkeys > trialmap`
`emacs trialmap`
   in emacs:   `keycode 29 = Control`       //This WAS originally Caps_Lock
                   `keycode 58 = Control`
`loadkeys trialmap`  //outputs "loading keys" -- then finished w/ no errors
BUT still no effect, so I tried for good measure:
`gzip trialmap`
`loadkeys trialmap.gz`  //no effect either I can see the changes in the file
are correct and get no errors but no changes take effect.

-- 
View this message in context: http://www.nabble.com/How-can-I-make-my-caps-lock-key-act-like-a-control-key--tp18469011p18488707.html
Sent from the Emacs - Help mailing list archive at Nabble.com.





  reply	other threads:[~2008-07-16 14:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.14818.1216178279.18990.help-gnu-emacs@gnu.org>
2008-07-16  3:40 ` How can I make my caps lock key act like a control key? Chris F.A. Johnson
2008-07-16  6:26 ` Pascal J. Bourguignon
2008-07-16 14:27   ` emacs615 [this message]
2008-07-16 15:52     ` Csányi Pál
2008-07-16 16:38       ` emacs615
2008-07-17  9:39         ` Csányi Pál
2008-07-16 21:17     ` Nikolaj Schumacher
2008-07-16  6:53 ken
  -- strict thread matches above, loose matches on Subject: below --
2008-07-15 16:09 emacs615
2008-07-16  6:40 ` Csányi Pál

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18488707.post@talk.nabble.com \
    --to=benjaminbondtate@gmail.com \
    --cc=Help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.