Bug 9547

Summary: ~/.Xmodmap and /etc/X11/xinit/Xmodmap not loaded
Product: [Retired] Red Hat Linux Reporter: Tomasz Kepczynski <tomek>
Component: XFree86Assignee: Preston Brown <pbrown>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-02-21 17:28:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tomasz Kepczynski 2000-02-18 13:22:14 UTC
After upgrade 6.1 -> 6.1.92 kdm ceased to load user's and system
Xmodmap file. The problem is related to fact that Xsesion file attempts
to set xkb map first and incorrectly sets flag that xkb is in use.
This happens because sysxkbmap (if I remember correctly) shell variable is
unassigned and is not quoted in if statements. For some reason bash
treats "[ -f $sysxkbmap ]" as true under this circumstances.
The problem probably also exists in xinitrc.
The simplest solution - quote all variables in scripts.

Comment 1 Preston Brown 2000-02-21 17:28:59 UTC
fixed in XFree86-3.3.6-14 and later.