Bug 9547 - ~/.Xmodmap and /etc/X11/xinit/Xmodmap not loaded
Summary: ~/.Xmodmap and /etc/X11/xinit/Xmodmap not loaded
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: XFree86
Version: 6.2
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Preston Brown
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2000-02-18 13:22 UTC by Tomasz Kepczynski
Modified: 2008-05-01 15:37 UTC (History)
0 users

Clone Of:
Last Closed: 2000-02-21 17:28:09 UTC

Attachments (Terms of Use)

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.

Note You need to log in before you can comment on or make changes to this bug.