From owner-freebsd-questions@FreeBSD.ORG Mon Oct 22 08:39:12 2007 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C1C7E16A41B for ; Mon, 22 Oct 2007 08:39:12 +0000 (UTC) (envelope-from M.Apitz@oclcpica.org) Received: from mail.pica.nl (mail.pica.nl [192.87.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id 2C78513C4A8 for ; Mon, 22 Oct 2007 08:39:11 +0000 (UTC) (envelope-from M.Apitz@oclcpica.org) Received: from rebelion.Sisis.de ([193.31.10.34]) by mail.pica.nl with Microsoft SMTPSVC(6.0.3790.3959); Mon, 22 Oct 2007 10:27:31 +0200 Received: (from guru@localhost) by rebelion.Sisis.de (8.13.8/8.13.8/Submit) id l9M8QKWY002643; Mon, 22 Oct 2007 10:26:20 +0200 (CEST) (envelope-from m.apitz@oclcpica.org) X-Authentication-Warning: rebelion.Sisis.de: guru set sender to m.apitz@oclcpica.org using -f Date: Mon, 22 Oct 2007 10:26:20 +0200 From: Matthias Apitz To: Chris Hill Message-ID: <20071022082620.GA2452@rebelion.Sisis.de> References: <20071021172841.H792@tripel.monochrome.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20071021172841.H792@tripel.monochrome.org> User-Agent: Mutt/1.4.2.2i X-Operating-System: FreeBSD 6.2-RELEASE (i386) X-OriginalArrivalTime: 22 Oct 2007 08:27:31.0844 (UTC) FILETIME=[63D92440:01C81485] Cc: FreeBSD Questions List Subject: Re: Xmodmap (or .xinitrc?) broken after xorg upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Oct 2007 08:39:12 -0000 El día Sunday, October 21, 2007 a las 08:38:33PM -0400, Chris Hill escribió: > About a week ago, I updated my ports, including xorg. Now xmodmap isn't > running from ~/.xinitrc like it used to. > > My .xinitrc is the same as it's been for years, so it includes the lines > if [ -f $usermodmap ]; then > xmodmap $usermodmap > fi > > After some experimenting, I find that if I run > $ xmodmap .Xmodmap > $ xmodmap .Xmodmap > ...twice, as shown, in an xterm after X gets going - then my .Xmodmap > takes effect. > > If I comment out that section of ~/.xinitrc, then I only have to run > $ xmodmap .Xmodmap > once in an xterm. I would like not to have to run xmodmap manually at > all, but have .xinitrc take care of it, just as it used to be before the > upgrade. > > Any ideas? Many thanks in advance. I'm facing a similiar problem in Xorg 6.9 and KDE 3.5.4: I tried to set some xmodmap values in my ~/.xinitrc before launching the KDE desktop, like: xmodmap -e "keycode 0x73 = Mode_switch" xmodmap -e "keycode 0x39 = n N ntilde Ntilde" xmodmap -e "keycode 0x1a = e E eacute Eacute" xmodmap -e "keycode 0x26 = a A aacute Aacute" xmodmap -e "keycode 0x1f = i I iacute Iacute" xmodmap -e "keycode 0x1e = u U uacute Uacute" xmodmap -e "keycode 0x20 = o O oacute Oacute" ... exec startkde but when X is up the xmodmap's are not in affect. I have to set them inside X with a small desktop icon. matthias -- Matthias Apitz e - w http://www.oclcpica.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/