From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Alexandre Russel" Newsgroups: gmane.emacs.help Subject: Re: where to put my .xmodmap? Date: 21 Aug 2004 23:50:52 +0900 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1093100473 12195 80.91.224.253 (21 Aug 2004 15:01:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 21 Aug 2004 15:01:13 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 21 17:01:01 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ByXMa-0007N2-00 for ; Sat, 21 Aug 2004 17:01:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1ByXQw-0002Uj-D4 for geh-help-gnu-emacs@m.gmane.org; Sat, 21 Aug 2004 11:05:30 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!uio.no!quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 21 Original-NNTP-Posting-Host: pl724.nas926.o-tokyo.nttpc.ne.jp Original-X-Trace: quimby.gnus.org 1093099852 19158 210.165.239.212 (21 Aug 2004 14:50:52 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Sat, 21 Aug 2004 14:50:52 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-Xref: shelby.stanford.edu gnu.emacs.help:124857 Original-To: help-gnu-emacs@gnu.org 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: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:20206 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:20206 bkhl@elektrubadur.se (Björn Lindström) writes: Thanks for your reply. > > It works fine when I do xmodmap .xmodmap. I want to use this map > > each time I use Emacs. I tried to add the line: > > > > xmodmap ~/.xmodmap > > > > to my .bashrc. > > You should run xmodmap from the start-up files for X > instead. I.e. ~/.xsession, probably. When I was looking into modmap I have seen this advice so tried it. First had no .xsession in my home directory so created one and added: xmodmap ~/.xmodmap to it, but it didn't do anything.(considering there was no .xsession file in the first place I don't think this file is read anyway). I had a look in all of my . file and couldn't find one that would be read by X. Alex.