unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Alexandre Russel" <scandrou@hpo.net>
Subject: where to put my .xmodmap?
Date: 21 Aug 2004 23:25:32 +0900	[thread overview]
Message-ID: <m34qmweffn.fsf@localhost.localdomain> (raw)

Hi all,
I use Fedora core 1 with gnome.
After following the thread concerning RSI and Emacs, I decided to use
.xmodmap to add some Control key to my keyboard:

remove Lock = Caps_Lock
remove Control = Control_L
keysym Control_L = Caps_Lock
keysym Caps_Lock = Control_L
add Lock = Caps_Lock
keycode 115 = Control_L
add Control = Control_L
keycode 116 = Control_R
add Control = Control_R

It works fine when I do xmodmap .xmodmap. I want to use this map
each time I use Emacs. I tried to add the line:
xmodmap ~/.xmodmap
to my .bashrc. It works fine untill I start another application(ie:
terminal),
then it comes back to the old map(probably because this other app
doesn't use bash). 
What can I do for emacs to always this key map?
Cheers,
Alex

             reply	other threads:[~2004-08-21 14:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-21 14:25 Alexandre Russel [this message]
2004-08-21 14:35 ` where to put my .xmodmap? Björn Lindström
2004-08-21 14:50   ` Alexandre Russel
2004-08-21 16:07     ` Björn Lindström
2004-08-21 17:47       ` Alexandre Russel
2004-08-21 18:00         ` Björn Lindström
2004-08-22  7:01           ` Alexandre Russel

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=m34qmweffn.fsf@localhost.localdomain \
    --to=scandrou@hpo.net \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).