unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Steven Arntson <steven@stevenarntson.com>
To: help-gnu-emacs@gnu.org
Subject: xmodmap keybinding for god-mode
Date: Fri, 12 Dec 2014 11:04:51 -0800	[thread overview]
Message-ID: <87y4qclmek.fsf@stevenarntson.com> (raw)

This question is more about xmodmap than god-mode, but ...

I'm starting to use god-mode and really enjoying it. There are some
directions on the maintainer's website about remapping esc to caps_lock,
for easier toggling of the mode, by writing a .xmodmap file, viz:

| remove Lock = Caps_Lock
| keysym Caps_Lock = Escape

I saved that to my ~/ and then from eshell I ran:

| xmodmap .xmodmap

And everything worked as it should. However, it doesn't keep working
that way. The rebinding turns itself off if the computer goes to sleep
for awhile, or if I restart. Is there a way to make that rebinding
permanent?  I'm running Ubuntu 14.04 and Emacs 24.4.1.

Thank you!
Steven




             reply	other threads:[~2014-12-12 19:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-12 19:04 Steven Arntson [this message]
     [not found] <mailman.15964.1418411122.1147.help-gnu-emacs@gnu.org>
2014-12-14  7:43 ` xmodmap keybinding for god-mode Rusi
2014-12-14 19:07   ` Steven Arntson
     [not found]   ` <mailman.16069.1418584068.1147.help-gnu-emacs@gnu.org>
2014-12-15  3:06     ` Rusi

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=87y4qclmek.fsf@stevenarntson.com \
    --to=steven@stevenarntson.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.
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).