Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 May 2010 13:21:01 -0300
From:      Joey Mingrone <joey@mingrone.org>
To:        freebsd-x11@freebsd.org
Subject:   Re: .Xmodmap problems after upgrading to Xorg 7.5 (mostly solved)
Message-ID:  <AANLkTikjSMhqrGjotOt3AXE39AAmB89VYYvSAzYa_8SR@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
On Mon, May 10, 2010 at 11:00, Joey Mingrone <joey@mingrone.org> 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 <x> =3D <1> <2> <3> <4>
> ! where <1> <key>, <2> <shift-key>, <3> <"Mode_switch"-key>, <4>
> <shift-"Mode_switch"-key>
>
> 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
> .
> .
> .
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikjSMhqrGjotOt3AXE39AAmB89VYYvSAzYa_8SR>