From owner-freebsd-x11@FreeBSD.ORG Wed May 12 16:21:04 2010 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 30119106566C for ; Wed, 12 May 2010 16:21:04 +0000 (UTC) (envelope-from joey@mingrone.org) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id C6F288FC1E for ; Wed, 12 May 2010 16:21:03 +0000 (UTC) Received: by fxm1 with SMTP id 1so271789fxm.13 for ; Wed, 12 May 2010 09:21:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.33.131 with SMTP id h3mr3337897bkd.53.1273681261994; Wed, 12 May 2010 09:21:01 -0700 (PDT) Received: by 10.204.118.197 with HTTP; Wed, 12 May 2010 09:21:01 -0700 (PDT) Date: Wed, 12 May 2010 13:21:01 -0300 Message-ID: From: Joey Mingrone To: freebsd-x11@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: .Xmodmap problems after upgrading to Xorg 7.5 (mostly solved) X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 May 2010 16:21:04 -0000 On Mon, May 10, 2010 at 11:00, Joey Mingrone wrote: > > My .Xmodmap, which hasn't changed for years, is included below. =C2=A0It > worked under Xorg 7.4. Now, when I run > > %xmodmap ~/.Xmodmap > > the output is: > > xmodmap: =C2=A0.Xmodmap:13: =C2=A0bad keysym in remove modifier list > 'Caps_Lock', no corresponding keycodes > xmodmap: =C2=A0.Xmodmap:14: =C2=A0bad keysym target keysym 'Caps_Lock', n= o > corresponding keycodes > xmodmap: =C2=A0.Xmodmap:18: =C2=A0bad keysym target keysym 'apostrophe', = no > corresponding keycodes > xmodmap: =C2=A0.Xmodmap:26: =C2=A0bad keysym target keysym 'semicolon', n= o > corresponding keycodes > xmodmap: =C2=A04 errors encountered, aborting. > > /usr/local/include/X11/keysymdef.h still shows these keysyms. > > Does anyone know why the keysyms aren't mapping to the keycodes? > The original description I gave was inaccurate. My .Xmodmap was still running when X was starting up and *subsequently* running xmodmap was causing the errors I posted. It was the following lines, which were OK under Xorg-7.4, that were causing the problems: keycode 117 =3D Mode_switch clear Mod3 add Mod3 =3D Mode_switch % xmodmap .Xmodmap X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 118 (X_SetModifierMapping) Value in failed request: 0x17 Serial number of failed request: 14 Current serial number in output stream: 14 After removing the above three lines, everything else was working. Sorry for the confusion. > ------------------------------- > > > > % less ~/.Xmodmap > > ..... my notes here, the first line below is line 12 > > ! make caps lock left control > remove Lock =3D Caps_Lock > keysym Caps_Lock =3D Control_L > add Control =3D Control_L > > ! make apostrophe right control > keysym apostrophe =3D Control_R > add Control =3D Control_R > > !remove Control =3D Control_R > !keysym Control_R =3D apostrophe quotedbl > !keysym apostrophe =3D Control_R > !add Control =3D Control_R > > keysym semicolon =3D dead_horn colon > > ! accents and symbols > ! format of keycode lines: keycode =3D <1> <2> <3> <4> > ! where <1> , <2> , <3> <"Mode_switch"-key>, <4> > > > keycode 117 =3D Mode_switch > clear Mod3 > add Mod3 =3D Mode_switch > !add Mod3 =3D Mode_switch ISO_Level3_Shift Mode_switch Mode_switch > > ! keycode =C2=A013 =3D 4 dollar EuroSign sterling > ! keycode =C2=A030 =3D u U udiaeresis Udiaeresis > ! keycode =C2=A032 =3D o O odiaeresis Odiaeresis > ! keycode =C2=A038 =3D a A adiaeresis Adiaeresis > ! keycode =C2=A039 =3D s S ssharp > > ! Greek characters > keysym a =3D a A Greek_alpha > keysym b =3D b B Greek_beta > keysym g =3D g G Greek_gamma Greek_GAMMA > keysym d =3D d D Greek_delta Greek_DELTA > keysym e =3D e E Greek_epsilon > keysym z =3D z Z Greek_zeta Greek_ZETA > keysym h =3D h H Greek_eta Greek_ETA > keysym o =3D o O Greek_theta Greek_theta > keysym k =3D k K Greek_kappa > keysym l =3D l L Greek_lamda Greek_LAMDA > keysym m =3D m M mu > keysym n =3D n N Greek_nu Greek_NU > keysym f =3D f F Greek_xi Greek_XI > keysym p =3D p P Greek_pi Greek_PI > keysym r =3D r R Greek_rho > keysym s =3D s S Greek_sigma Greek_SIGMA > keysym t =3D t T Greek_tau > keysym u =3D u U Greek_upsilon Greek_UPSILON > keysym v =3D v V Greek_phi Greek_PHI > keysym x =3D x X Greek_chi Greek_CHI > keysym y =3D y Y Greek_psi Greek_PSI > keysym w =3D w W Greek_omega Greek_OMEGA > > keycode =C2=A013 =3D 4 dollar EuroSign sterling > keycode =C2=A013 =3D 4 dollar EuroSign sterling > > ! math characters > . > . > . >