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:31:42 -0500 Organization: I need to put my ORGANIZATION here. Message-ID: <87odb5kib3.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 1201542047 21808 80.91.229.12 (28 Jan 2008 17:40:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Jan 2008 17:40:47 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 28 18:41:07 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 1JJXyk-0007HY-7o for geh-help-gnu-emacs@m.gmane.org; Mon, 28 Jan 2008 18:41:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JJXyJ-0004q8-HV for geh-help-gnu-emacs@m.gmane.org; Mon, 28 Jan 2008 12:40:39 -0500 Original-Lines: 58 Original-NNTP-Posting-Host: w0053328.mgh.harvard.edu Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news2.google.com!news.glorb.com!solaris.cc.vt.edu!news.vt.edu!out.nntp.be!prop.superfeed.net!news-in1.superfeed.net!news.purdue.edu!purdue!news.harvard.edu!not-for-mail Original-Newsgroups: gnu.emacs.help Original-X-Trace: plato.harvard.edu 1201538896 18859 132.183.29.121 (28 Jan 2008 16:48:16 GMT) Original-X-Complaints-To: news@plato.harvard.edu Original-NNTP-Posting-Date: Mon, 28 Jan 2008 16:48:16 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:IDWbsOYEqv4iOh0vxDEvRwXMeIw= Original-Xref: shelby.stanford.edu gnu.emacs.help:155648 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:51027 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