Re: .xmodmaprc? (Was: Alt-Ctrl occupied?)
Re: .xmodmaprc? (Was: Alt-Ctrl occupied?)
- Subject: Re: .xmodmaprc? (Was: Alt-Ctrl occupied?)
- From: "Mark J. Reed" <email@hidden>
- Date: Tue, 19 May 2009 11:45:29 -0400
On Tue, May 19, 2009 at 3:45 AM, Dirk Kostrewa
<email@hidden> wrote:
> just a follow-up of my original question: I've modified the keyboard mapping
> with xmodmap to solve my Alt-Ctrl problem (see below). However, this setting
> is not saved into a ~/.xmodmaprc file and just gets lost after logging out.
> Am I missing something?
xmodmap only affects the running X server. If you want to make the
change permanent, you have to arrange to run the command at startup.
You can run xmodmap with a filename and it will read the commands out
of that file, e.g.
$ cat .xmodmaprc
! Restore functionality of left alt/option key
keycode 66 = Alt_L
$ xmodmap .xmodmaprc
The traditional name for that file is ~/.Xmodmap (capital X, no -rc),
and the standard X startup scripts used to look for that file and load
it with xmodmap automatically, but it appears you have to roll your
own these days.
--
Mark J. Reed <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden