From: jadamson@partners.org (Joel J. Adamson)
To: help-gnu-emacs@gnu.org
Subject: Re: OT about Gnu/Linux (in service of Emacs)
Date: Wed, 23 Jan 2008 09:25:13 -0500 [thread overview]
Message-ID: <87sl0ozkja.fsf@W0053328.mgh.harvard.edu> (raw)
In-Reply-To: LYqdnfGY28rQVgnanZ2dnUVZ_uSgnZ2d@sysmatrix.net
"B. T. Raven" <nihil@nihilo.net> writes:
[...]
> Does a script have to be put somewhere in order for the remapping to
> happen automatically for all users? Do I have to do it twice (once for
> root and once for ordinary user? This is on Fedora 8.
>
Are you using a display manager (GDM or KDM)? If you're using KDM, you
should have a file called .xinitrc in your home directory that you can
access using the "Default" option from the "Sessions" menu. Something
similar should be there in GDM. Your .xinitrc should read .xmodmap.
Here's my .xinitrc:
******************************************************************
#!/bin/sh
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/lib/X11/xinit/.Xresources
sysmodmap=/usr/lib/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f $userresources ]; then
xrdb -merge $userresources
fi
if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi
# Start the window manager:
exec /usr/bin/fvwm2
******************************************************************
Joel
--
Joel J. Adamson
Biostatistician
Pediatric Psychopharmacology Research Unit
Massachusetts General Hospital
Boston, MA 02114
(617) 643-1432
(303) 880-3109
next prev parent reply other threads:[~2008-01-23 14:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-21 16:44 OT about Gnu/Linux (in service of Emacs) B. T. Raven
2008-01-21 18:37 ` Peter Dyballa
2008-01-23 14:25 ` Joel J. Adamson [this message]
2008-01-23 14:31 ` Joel J. Adamson
2008-01-23 14:31 ` Joel J. Adamson
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=87sl0ozkja.fsf@W0053328.mgh.harvard.edu \
--to=jadamson@partners.org \
--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).