From nobody@FreeBSD.org  Mon May 10 18:49:47 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 0CCA31065672
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 10 May 2010 18:49:47 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id EFDBF8FC15
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 10 May 2010 18:49:46 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o4AInknG025985
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 10 May 2010 18:49:46 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o4AInkDF025984;
	Mon, 10 May 2010 18:49:46 GMT
	(envelope-from nobody)
Message-Id: <201005101849.o4AInkDF025984@www.freebsd.org>
Date: Mon, 10 May 2010 18:49:46 GMT
From: Joey Mingrone <joey@mingrone.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: keysym names are unavailable to xmodmap after upgrading from xorg-7.4 to xorg-7.5
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         146473
>Category:       ports
>Synopsis:       keysym names are unavailable to x11/xmodmap after upgrading from xorg-7.4 to xorg-7.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-x11
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 10 18:50:01 UTC 2010
>Closed-Date:    Tue Sep 20 04:25:38 UTC 2011
>Last-Modified:  Tue Sep 20 04:25:38 UTC 2011
>Originator:     Joey Mingrone
>Release:        8.0-RELEASE
>Organization:
>Environment:
FreeBSD xx.xx.xx 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Fri Nov 27 16:40:36 AST 2009     root@xx.xx.xx:/usr/obj/usr/src/sys/XX_2009-11-27  i386
>Description:
My best guess is that the keysym names are corrupt
in, perhaps, one of

/usr/local/lib/libxcb-keysyms.a
/usr/local/lib/libxcb-keysyms.la
/usr/local/lib/libxcb-keysyms.so
/usr/local/lib/libxcb-keysyms.so.

installed by the port xcb-util-0.3.6_1.

Simply running

 % xmodmap -e "remove Lock = Caps_Lock"

gives

xmodmap:  commandline:1:  bad keysym in remove modifier list
'Caps_Lock', no corresponding keycodes
xmodmap:  1 error encountered, aborting.

Other keysym names in my .Xmodmap file, which I haven't modified for years, are causing errors since the upgrade as well.

If there is anything else I can provide, just let me know.
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-x11 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Tue May 11 14:03:58 UTC 2010 
Responsible-Changed-Why:  
Fix synopsis and assign. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=146473 

From: Joey Mingrone <joey@mingrone.org>
To: bug-followup@FreeBSD.org, joey@mingrone.org
Cc:  
Subject: Re: ports/146473: keysym names are unavailable to x11/xmodmap after 
	upgrading from xorg-7.4 to xorg-7.5
Date: Wed, 12 May 2010 12:57:17 -0300

 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 = Mode_switch
 clear Mod3
 add Mod3 = 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.
State-Changed-From-To: open->closed 
State-Changed-By: eadler 
State-Changed-When: Tue Sep 20 04:25:37 UTC 2011 
State-Changed-Why:  
closed by submitter request 

http://www.freebsd.org/cgi/query-pr.cgi?pr=146473 
>Unformatted:
