From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jadamson@partners.org (Joel J. Adamson) Newsgroups: gmane.emacs.help Subject: Re: OT about Gnu/Linux (in service of Emacs) Date: Wed, 23 Jan 2008 09:25:13 -0500 Organization: I need to put my ORGANIZATION here. Message-ID: <87sl0ozkja.fsf@W0053328.mgh.harvard.edu> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1201099344 17473 80.91.229.12 (23 Jan 2008 14:42:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Jan 2008 14:42:24 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 23 15:42:43 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JHgoB-0008Ps-Lh for geh-help-gnu-emacs@m.gmane.org; Wed, 23 Jan 2008 15:42:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JHgnl-000552-K0 for geh-help-gnu-emacs@m.gmane.org; Wed, 23 Jan 2008 09:42:05 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news2.google.com!news.glorb.com!newspeer1.asbnva01.us.to.verio.net!news.harvard.edu!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 58 Original-NNTP-Posting-Host: w0053328.mgh.harvard.edu Original-X-Trace: plato.harvard.edu 1201098313 10338 132.183.29.121 (23 Jan 2008 14:25:13 GMT) Original-X-Complaints-To: news@plato.harvard.edu Original-NNTP-Posting-Date: Wed, 23 Jan 2008 14:25:13 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:vIL9XWP12vezhmXyh9Bax/8ghO4= Original-Xref: shelby.stanford.edu gnu.emacs.help:155476 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:50879 Archived-At: "B. T. Raven" 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