From owner-freebsd-questions@FreeBSD.ORG Sat May 8 02:53:21 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 40401106566C for ; Sat, 8 May 2010 02:53:21 +0000 (UTC) (envelope-from chris@monochrome.org) Received: from mail.monochrome.org (b4.ebbed1.client.atlantech.net [209.190.235.180]) by mx1.freebsd.org (Postfix) with ESMTP id EC01A8FC16 for ; Sat, 8 May 2010 02:53:20 +0000 (UTC) Received: from [192.168.1.11] ([192.168.1.11]) by mail.monochrome.org (8.14.3/8.14.3) with ESMTP id o482rJPe024599; Fri, 7 May 2010 22:53:19 -0400 (EDT) (envelope-from chris@monochrome.org) Date: Fri, 7 May 2010 22:53:19 -0400 (EDT) From: Chris Hill To: Joey Mingrone In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Cc: freebsd-questions@freebsd.org Subject: Re: .Xmodmap problems after upgrading to Xorg 7.5 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 May 2010 02:53:21 -0000 On Fri, 7 May 2010, Joey Mingrone wrote: > My .Xmodmap is included below. When I run > > %xmodmap ~/.Xmodmap > > the output is: > > xmodmap: .Xmodmap:13: bad keysym in remove modifier list > 'Caps_Lock', no corresponding keycodes [snip] When I encounter an unfamiliar error, I'll paste the entire error text into google. Sometimes that helps. > Does anyone know why the keysyms aren't mapping to the keycodes? All I can offer is my own .Xmodmap, which is a small subset of yours. [snip] > remove Lock = Caps_Lock > keysym Caps_Lock = Control_L > add Control = Control_L It looks like you're trying to end up with two left-control keys and no CapsLock. My .Xmodmap wants to swap CapsLock with the left Control key, for which purpose the following works. I don't know if the order of remove, keysym and add matters, but it might. remove Lock = Caps_Lock remove Control = Control_L keysym Control_L = Caps_Lock keysym Caps_Lock = Control_L add Lock = Caps_Lock add Control = Control_L [snip] HTH. -- Chris Hill chris@monochrome.org ** [ Busy Expunging <|> ]