all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
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

  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

* 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.
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.