all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Chris F.A. Johnson" <cfajohnson@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 03:40:47 +0000	[thread overview]
Message-ID: <2701d$487d6dbf$cef88ba3$8700@TEKSAVVY.COM> (raw)
In-Reply-To: mailman.14818.1216178279.18990.help-gnu-emacs@gnu.org

On 2008-07-15, emacs615 wrote:
>
> 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.

$ cat ~/.xmodmaprc 

remove Lock = Caps_Lock
keysym Caps_Lock = Escape
keysym Caps_Lock = Control_L
add Control = Control_L

$ xmodmap ~/.xmodmaprc

-- 
   Chris F.A. Johnson, webmaster         <http://Woodbine-Gerrard.com>
   ===================================================================
   Author:
   Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)


       reply	other threads:[~2008-07-16  3:40 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 ` Chris F.A. Johnson [this message]
2008-07-16  6:26 ` How can I make my caps lock key act like a control key? Pascal J. Bourguignon
2008-07-16 14:27   ` emacs615
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='2701d$487d6dbf$cef88ba3$8700@TEKSAVVY.COM' \
    --to=cfajohnson@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.