Bug 12523 - xmodmap in ~/.xinitrc not working anymore
Summary: xmodmap in ~/.xinitrc not working anymore
Status: RESOLVED MOVED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: high normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 16364
  Show dependency treegraph
 
Reported: 2007-09-22 09:16 UTC by Konstantin Kletschke
Modified: 2018-12-13 22:18 UTC (History)
5 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Konstantin Kletschke 2007-09-22 09:16:29 UTC
On my gentoo System xorg was updated to 7.4 (xorg-server-1.4) and now I need to call "xmodmap ~/.Xmodmap" from a xterm after starting, then it works. Not the .xinitrc call anymore :-/
Comment 1 Brice Goglin 2007-09-23 02:30:43 UTC
Same problem reported by Henrik Enberg at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=443044 and by Harald Dunkel at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=443473

It could have been related to the server resetting after xmodmap is called from the startup script since there are no X clients anymore at this point, but Henrik said that passing -noreset to the server didn't help.
Comment 2 Daniel Stone 2007-09-23 03:12:19 UTC
Does http://people.freedesktop.org/~daniels/mapping-changes-for-all.diff fix it?
Comment 3 Daniel Stone 2007-09-23 03:23:13 UTC
On further thought, I've just updated it now, so please grab and test it again if you already got it before.
Comment 4 Harri 2007-09-23 07:02:42 UTC
Works for me. (patch applied to Debian's xorg-server_1.4-2, built on amd64)
Comment 5 Daniel Stone 2007-09-23 07:17:53 UTC
Pushed to master and my input fixes branch for 1.4, thanks.
Comment 6 Konstantin Kletschke 2007-09-23 07:58:25 UTC
The proposed URL for patch gives 404 now...
Comment 7 Daniel Stone 2007-09-23 08:07:04 UTC
Yep, it was pushed into master as 27ad5d74c20f01516a1bff73be283f8982fcf0fe.
Comment 8 Konstantin Kletschke 2007-09-23 08:22:56 UTC
I suppose this is a git bisect (or how this is called)... So instead of testing this I have to wait for this included in upstream because I have no experience with this.
Comment 9 Daniel Stone 2007-09-23 08:34:39 UTC
Okay, it's back at that URL now.
Comment 10 Konstantin Kletschke 2007-09-23 09:02:27 UTC
Applied and fixes the problem :)
Comment 11 Daniel Stone 2007-09-23 09:17:11 UTC
good to hear.
Comment 12 Seweryn Kokot 2007-09-25 00:10:42 UTC
when the new package will come to debian unstable?
thanks

Comment 13 Julien Cristau 2007-09-25 03:58:28 UTC
(In reply to comment #12)
> when the new package will come to debian unstable?
> thanks
> 
it will be in 2:1.4-3 (next upload).
Comment 14 Seweryn Kokot 2007-10-02 03:17:36 UTC
(In reply to comment #13)
> (In reply to comment #12)
> > when the new package will come to debian unstable?
> > thanks
> > 
> it will be in 2:1.4-3 (next upload).
> 
I upgraded the debian unstable packege, and I admit that .Xmodmap is loaded from .xinitrc and for example swapping of Ctrl and Caps_lock is ok, however now I have problems with polish letters iso-8859-2 (such as ąężó etc.). Namely if I don't load .Xmodmap from .xinitrc and load .Xmodmap manually, everything is ok, that is I have Ctrl and Caps_lock swapping and polish diacritics, but if I load .Xmodmap from .xinitrc, I cannot enter polish letters. Any idea?
Comment 15 Joachim Breitner 2010-01-07 14:13:46 UTC
(In reply to comment #14)
> (In reply to comment #13)
> > (In reply to comment #12)
> > > when the new package will come to debian unstable?
> > > thanks
> > > 
> > it will be in 2:1.4-3 (next upload).
> > 
> I upgraded the debian unstable packege, and I admit that .Xmodmap is loaded
> from .xinitrc and for example swapping of Ctrl and Caps_lock is ok, however now
> I have problems with polish letters iso-8859-2 (such as ąężó etc.). Namely
> if I don't load .Xmodmap from .xinitrc and load .Xmodmap manually, everything
> is ok, that is I have Ctrl and Caps_lock swapping and polish diacritics, but if
> I load .Xmodmap from .xinitrc, I cannot enter polish letters. Any idea?

This looks like an instance of bug #16364 or #24552.
Comment 16 Konstantin Kletschke 2010-02-04 03:37:55 UTC
It is back after updating  from xorg-server-1.7.4 to xorg-server-1.7.4.901.

Please tell me if it is okay to reopen this one instead of filing a new one...
Comment 17 Harri 2010-02-04 07:58:39 UTC
After reinstalling Debian Unstable the problem went away for me. Some local Hiccup I would guess.
Comment 18 jidanni 2010-09-03 13:26:50 UTC
Painful workaround; http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=584502#45
Comment 19 GitLab Migration User 2018-12-13 22:18:22 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/xserver/issues/356.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.