From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040312 Epiphany/1.1.12 Description of problem: The code in /etc/X11/xinit/xinitrc says that "xkb and xmodmap don't play nice together", and disables xmodmap if xkb is in the game. The same code is in /etc/X11/xdm/Xsession. I'm wondering if it's still the case or not. I use xkb to set my keyboard layout to us+ir, and use xmodmap to switch the LTGT key to act like Left-Shift, and by commenting the suspicious part in the two above files, it works fine. I'm sure that there has been a reason to do this, but thought the problem may have been solved by now. Or otherwise, perhaps a way to explicitly say I want both is good, perhaps by checking for existance of a file like /etc/X11/Xkbandmodmap! Version-Release number of selected component (if applicable): xinitrc-3.37 How reproducible: Always Steps to Reproduce: 1. Check the source! 2. 3. Additional info:
Well, commenting the lines used to work, but doesn't anymore. So even when I comment the lines, first xinitrc sets xkb, then xmodmap, then gnome-session resets xkb and so the Xmodmap config goes to /dev/null. Another xmodmap after gnome-session initializes Xkb does the job.
Sounds like this is a GNOME bug stomping on the configuration done by X startup scripts.
Can you review bug #119217 and bug #119018 to see if you can reproduce either of those issues, and wether they may be related to the problem you're experiencing? I believe all 3 of these bugs may be duplicates of each other.
Hi Mike, The two other bugs are irrelevant in my opinions (see my comments on them). I think that it's just that GNOME is stomping as you suggested.
Is this be releated to the Xmodmap (/etc/X11/Xmodmap) not beeing loaded in FC 2 ? I copied over my Xmodmap from FC1, but FC2 doesn't seem to load it. Any suggestion where I can stuff the loading of /etc/X11/Xmodmap ?
Yes. That GNOME resets the keyboard settings and just loads xkb. (also there's an outdated if in some scripts that if xkb is used, does not load xmodmap, but that's another story)
see bug #117221
*** This bug has been marked as a duplicate of 117221 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.