all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Rusi <rustompmody@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: xmodmap keybinding for god-mode
Date: Sat, 13 Dec 2014 23:43:06 -0800 (PST)	[thread overview]
Message-ID: <7bfb6ea6-d79d-42f8-a94f-d246a1a7e3ff@googlegroups.com> (raw)
In-Reply-To: <mailman.15964.1418411122.1147.help-gnu-emacs@gnu.org>

On Saturday, December 13, 2014 12:35:24 AM UTC+5:30, Steven Arntson wrote:
> 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

xmodmap is considered obsolete (or at least obsolescent)

setxkbmap is more current.

However more window-manager specific stuff is probably best
Does this help?
http://www.emacswiki.org/emacs/MovingTheCtrlKey


       reply	other threads:[~2014-12-14  7:43 UTC|newest]

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

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=7bfb6ea6-d79d-42f8-a94f-d246a1a7e3ff@googlegroups.com \
    --to=rustompmody@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.