From owner-freebsd-questions@FreeBSD.ORG Fri Jul 11 12:32:42 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 380DA106566B for ; Fri, 11 Jul 2008 12:32:42 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from mailout.zetnet.co.uk (mailout.zetnet.co.uk [194.247.47.231]) by mx1.freebsd.org (Postfix) with ESMTP id 02A988FC2C for ; Fri, 11 Jul 2008 12:32:41 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from irwell.zetnet.co.uk ([194.247.47.48] helo=zetnet.co.uk) by mailout.zetnet.co.uk with esmtp (Exim 4.63) (envelope-from ) id 1KHHng-0006dv-L7; Fri, 11 Jul 2008 13:32:36 +0100 Received: from melon.esperance-linux.co.uk (54-144.adsl.zetnet.co.uk [194.247.54.144]) by zetnet.co.uk (8.14.1/8.14.1/Debian-9) with ESMTP id m6BCWZ3w015906; Fri, 11 Jul 2008 13:32:36 +0100 Received: by melon.esperance-linux.co.uk (Postfix, from userid 1001) id 8EE20FCA4AE; Fri, 11 Jul 2008 13:32:30 +0100 (BST) Date: Fri, 11 Jul 2008 13:32:30 +0100 From: Frank Shute To: Girish Kulkarni Message-ID: <20080711123230.GA39237@melon.esperance-linux.co.uk> Mail-Followup-To: Girish Kulkarni , freebsd-questions@freebsd.org References: <8a2141c0807060227x2e28a4fgeea15ebd0dc02d32@mail.gmail.com> <692660060807060436u30deb4a3j4332426bccc8327d@mail.gmail.com> <8a2141c0807110419u4e07d2bct190056c627ec047d@mail.gmail.com> <8a2141c0807110438m219018afoba91c986e2c9be73@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <8a2141c0807110438m219018afoba91c986e2c9be73@mail.gmail.com> User-Agent: Mutt/1.4.2.3i X-Face: *}~{PHnDTzvXPe'wl_-f%!@+r5; VLhb':*DsX%wEOPg\fDrXWQJf|2\,92"DdS%63t*BHDyQ|OWo@Gfjcd72eaN!4%NE{0]p)ihQ1MyFNtWL X-Operating-System: FreeBSD 6.3-RELEASE-p2 i386 X-Organisation: 'Esperance Linux' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (zetnet.co.uk [194.247.46.1]); Fri, 11 Jul 2008 13:32:36 +0100 (BST) Cc: freebsd-questions@freebsd.org Subject: Re: Disabling Super key? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank Shute List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jul 2008 12:32:42 -0000 On Fri, Jul 11, 2008 at 05:08:18PM +0530, Girish Kulkarni wrote: > > On Sun, Jul 6, 2008 at 5:06 PM, Sebastian Tymków wrote: > > Did you try kbdcontrol ? > > Thanks. I could do that using kbdcontrol(1) although this disables > the Windows key only in the console and not in X, where xmodmap(1) > does the job instead. I could make the effect of kbdcontrol > permanent by adding a line to ~/.bash_profile. Any idea how I could > make the effect xmodmap permanent? (Adding relevant lines to > ~/.xsession doesn't seem to help.) Make a ~/.xmodmaprc with your setting(s) in it and then call it from ~/.xsession or ~/.xinitrc (depends on how you start X). E.g you want a line like: xmodmap -display :0.0 .xmodmaprc in there. For the kbdcontrol stuff, I put it in /etc/rc.local > > Girish. > Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html