* Re: xmodmap keybinding for god-mode
[not found] <mailman.15964.1418411122.1147.help-gnu-emacs@gnu.org>
@ 2014-12-14 7:43 ` Rusi
2014-12-14 19:07 ` Steven Arntson
[not found] ` <mailman.16069.1418584068.1147.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 4+ messages in thread
From: Rusi @ 2014-12-14 7:43 UTC (permalink / raw)
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: xmodmap keybinding for god-mode
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>
1 sibling, 0 replies; 4+ messages in thread
From: Steven Arntson @ 2014-12-14 19:07 UTC (permalink / raw)
To: help-gnu-emacs
Rusi <rustompmody@gmail.com> writes:
> 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
Emacswiki can be frustrating when there are so many outdated comments (I
see my current xmodmap approach there, for instance). However, you led
me in the right direction! I ran into some instructions on askubuntu.com
that directed me to enter this:
| dconf write /org/gnome/desktop/input-sources/xkb-options
| "['caps:escape']"
And it seems to have worked perfectly. Here's the whole thread, for
anyone interested:
http://askubuntu.com/questions/363346/how-to-permanently-switch-caps-lock-and-esc
I'll post this to the god-mode maintainer's page also, in case it's
useful there.
Best!
steven
^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <mailman.16069.1418584068.1147.help-gnu-emacs@gnu.org>]
* Re: xmodmap keybinding for god-mode
[not found] ` <mailman.16069.1418584068.1147.help-gnu-emacs@gnu.org>
@ 2014-12-15 3:06 ` Rusi
0 siblings, 0 replies; 4+ messages in thread
From: Rusi @ 2014-12-15 3:06 UTC (permalink / raw)
To: help-gnu-emacs
On Monday, December 15, 2014 12:37:50 AM UTC+5:30, Steven Arntson wrote:
> Rusi writes:
>
> > 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
>
>
> Emacswiki can be frustrating when there are so many outdated comments (I
> see my current xmodmap approach there, for instance).
Heh!
On wikipedia a moron-army cleans out any useful stuff to reduce it to
canonical form.
On emacswiki no cleaning -- There are pages for emacs 20 !!
^ permalink raw reply [flat|nested] 4+ messages in thread
* xmodmap keybinding for god-mode
@ 2014-12-12 19:04 Steven Arntson
0 siblings, 0 replies; 4+ messages in thread
From: Steven Arntson @ 2014-12-12 19:04 UTC (permalink / raw)
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-12-15 3:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[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
2014-12-12 19:04 Steven Arntson
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).