[Bug 397942] New: $HOME/.Xmodmap no longer activated on startup
https://bugzilla.novell.com/show_bug.cgi?id=397942 Summary: $HOME/.Xmodmap no longer activated on startup Product: openSUSE 11.0 Version: RC 3 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: KDE4 Workspace AssignedTo: kde-maintainers@suse.de ReportedBy: jfunk@funktronics.ca QAContact: qa@suse.de Found By: --- I have a custom .Xmodmap file that I use to move a couple of keys around on my laptop. It was always applied during login until the last update. Now I have to manually call xmodmap after logging in. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=397942 User gp@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=397942#c1 Gerald Pfeifer <gp@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |michl@novell.com, gp@novell.com, | |coolo@novell.com, sndirsch@novell.com Status|NEW |NEEDINFO Info Provider| |sndirsch@novell.com --- Comment #1 from Gerald Pfeifer <gp@novell.com> 2008-06-08 15:28:28 MDT --- I'm seeing the same with KDE 3, and I have a hunch this is not window manager-specific. Also on my side a regression late in the Beta phase. Stefan (Dirsch), any thoughts? Stefan (Coolo) and Michl, not a release blocker, but a candidate for a maintenance update. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=397942 User sndirsch@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=397942#c2 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|sndirsch@novell.com | --- Comment #2 from Stefan Dirsch <sndirsch@novell.com> 2008-06-08 16:26:28 MDT --- Probably related to Bug #368673. See /etc/X11/xinit/xinitrc.common. It could be, that 'setxkbmap -print | xkbcomp - $DISPLAY' overwrites your Xmodmap settings. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=397942 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kde-maintainers@suse.de |sndirsch@novell.com Status|ASSIGNED |NEW Component|KDE4 Workspace |X.Org QAContact|qa@suse.de |xorg-maintainer-bugs@forge.provo.novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=397942 User sndirsch@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=397942#c3 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #3 from Stefan Dirsch <sndirsch@novell.com> 2008-06-08 21:24:02 MDT --- Fixed in xorg-x11 for Factory/X11:XOrg. ------------------------------------------------------------------- Mon Jun 9 05:16:58 CEST 2008 - sndirsch@suse.de - /etc/X11/xinit/xinitrc.common: fix keyboard before calling xmodmap (bnc #397942) I would prefer to fix it still for RCx/GM instead of an online update. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=397942 User sndirsch@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=397942#c4 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |madworm_de.novell@spitzenpfeil.org --- Comment #4 from Stefan Dirsch <sndirsch@novell.com> 2008-06-21 00:31:53 MDT --- *** Bug 402452 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=402452 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=397942 User bugreports@tittel.net added comment https://bugzilla.novell.com/show_bug.cgi?id=397942#c5 Stefan Tittel <bugreports@tittel.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugreports@tittel.net --- Comment #5 from Stefan Tittel <bugreports@tittel.net> 2008-06-21 19:15:09 MDT --- The bug seems to have made it into final and the issue is indeed 'setxkbmap -print | xkbcomp - $DISPLAY' being called before xmodmap in xinitrc.common. When will a patch be available? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=397942 User sndirsch@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=397942#c6 --- Comment #6 from Stefan Dirsch <sndirsch@novell.com> 2008-06-22 00:57:48 MDT --- Currently there is no update planned. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=397942 User madworm_de.novell@spitzenpfeil.org added comment https://bugzilla.novell.com/show_bug.cgi?id=397942#c7 --- Comment #7 from robert spitzenpfeil <madworm_de.novell@spitzenpfeil.org> 2008-06-23 00:36:33 MDT --- the status "resolved" seems to pop up quite easily... so far I've figured out that the xinitrc.common terminates prematurely, if kde and so on is _not_ started by startx, but by kdm: # # Source this file only once # test "$XSESSION_IS_UP" != "yes" || return XSESSION_IS_UP=yes export XSESSION_IS_UP the tests for xmodmap after this are never evaluated. putting the xmodmap line before this block works. if somebody with a deeper knowledge of the startup procedure of X knows where this XESSION_IS_UP is set, this could & should be fixed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=397942 User sndirsch@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=397942#c8 --- Comment #8 from Stefan Dirsch <sndirsch@novell.com> 2008-06-23 01:26:39 MDT ---
the tests for xmodmap after this are never evaluated.
Sure it is, but the settings are overwritten later on. See the comments above. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=397942 User madworm_de.novell@spitzenpfeil.org added comment https://bugzilla.novell.com/show_bug.cgi?id=397942#c9 --- Comment #9 from robert spitzenpfeil <madworm_de.novell@spitzenpfeil.org> 2008-06-23 02:53:58 MDT --- where's the logic in that ? in the current xinitrc.common this comes after the source check: ... if test -s $XETCDIR/Xkbmap ; then test -r "$xkbmap" && cat "$xkbmap" | setxkbmap else test -r "$xmodmap" && xmodmap "$xmodmap" fi ... and then in the end: # # Fix keyboard layout (Bug #368673) # setxkbmap -print | xkbcomp - $DISPLAY so if I'm not totally wrong it should _not_ matter where the xmodmap command is run, because the setxkbmap would always overwrite it right ? but, if I put a custom xmodmap at the very beginning of xinitrc.common it works... care to explain ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=397942 User sndirsch@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=397942#c10 --- Comment #10 from Stefan Dirsch <sndirsch@novell.com> 2008-06-23 03:07:34 MDT ---
so if I'm not totally wrong it should _not_ matter where the xmodmap command is run, because the setxkbmap would always overwrite it right ?
Sure it *does* matter. xmodmap needs to run *after* setxkbmap. This is fixed for openSUSE > 11.0. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=397942 User madworm_de.novell@spitzenpfeil.org added comment https://bugzilla.novell.com/show_bug.cgi?id=397942#c11 --- Comment #11 from robert spitzenpfeil <madworm_de.novell@spitzenpfeil.org> 2008-06-23 04:43:44 MDT --- YES.... and no. I agree that under normal circumstances yes... once again, please read my previous comment carefully. when I put a custom xmodmap into the FIRST line of xinitrc.common it works. that is setxkbmap is still run AFTER xmodmap and it works... when I said it should not matter where xmodmap is run in the script I wanted to point out, that setxkbmap would always overwrite it... so putting xmodmap before "# Source this file only once" or after "# Source this file only once" should not matter at all with setxkbmap being run as the very last command in that script. to show you once and for all what I mean: this does not work: ------------------- # /etc/X11/xinit/xinitrc.common # # Common code used in X session and X init scripts. # File shall be sourced but not executed by the scripts. # # # Source this file only once # test "$XSESSION_IS_UP" != "yes" || return XSESSION_IS_UP=yes export XSESSION_IS_UP xmodmap $HOME/.Xmodmap .. .. this works: ----------- # /etc/X11/xinit/xinitrc.common # # Common code used in X session and X init scripts. # File shall be sourced but not executed by the scripts. # xmodmap $HOME/.Xmodmap # # Source this file only once # test "$XSESSION_IS_UP" != "yes" || return XSESSION_IS_UP=yes export XSESSION_IS_UP .. .. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=397942 User sndirsch@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=397942#c12 --- Comment #12 from Stefan Dirsch <sndirsch@novell.com> 2008-06-23 04:57:18 MDT --- You did not understand what the XSESSION_IS_UP is used for. I don't want to explain this any further. Your proposal to fix it is simply wrong. It only works if xinitrc.common is sourced several times. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=397942 User madworm_de.novell@spitzenpfeil.org added comment https://bugzilla.novell.com/show_bug.cgi?id=397942#c13 --- Comment #13 from robert spitzenpfeil <madworm_de.novell@spitzenpfeil.org> 2008-06-23 05:26:48 MDT --- Dear friend... I never claimed I understood anything about it, except that it is broken. Nor did I propose anything, I was presenting mere facts hoping to nudge some knowledgable person to fix it. Apparently this is not appreciated. I know quite well that it is impossible to deliver 100% bug free code given such short release intervals. Let me remind us of the rescue system desaster of 10.3. It is also true that people unfortunately tend to remember the little things that did not work, ignoring the 99.75% that worked. And I don't want to start talking about regressions... even worse - as you've had to find out talking with me. I hereby propose to trash 11.0 once and for all, ignore all the big speed improvements of zypper, working compiz integration, proper display recognition for widescreen laptops... ... ... and downgrade to 10.3 which at least could handle custom keys (which is what end users see & remember). gone home crying... EOF -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=397942 User sndirsch@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=397942#c14 --- Comment #14 from Stefan Dirsch <sndirsch@novell.com> 2008-06-23 06:25:12 MDT --- It is already fixed. Just not for openSUSE 11.0. Coolo, our openSUSE project manager is in Cc. If he thinks this is an important issue, he will reopen the bugrepreport, so we can begin to work on an update for openSUSE 11.0. Up to now this didn't happen. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=397942 User gp@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=397942#c15 Gerald Pfeifer <gp@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #15 from Gerald Pfeifer <gp@novell.com> 2008-06-23 22:03:21 MDT --- This is a regression that's hitting a number of us at least. Coolo, can we get an update for this? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=397942 Gerald Pfeifer <gp@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO Info Provider| |coolo@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=397942 User coolo@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=397942#c16 Stephan Kulow <coolo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Info Provider|coolo@novell.com |ast@novell.com --- Comment #16 from Stephan Kulow <coolo@novell.com> 2008-06-23 23:48:54 MDT --- updates for 11.0 are handled by Anja -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=397942 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=397942 User sndirsch@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=397942#c19 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #19 from Stefan Dirsch <sndirsch@novell.com> 2008-06-25 08:21:08 MDT --- Fixed. /work/src/done/11.0/xorg-x11/ /work/src/done/PATCHINFO/xorg-x11.patch.box -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=397942 User sndirsch@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=397942#c20 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |martin.schlander@gmail.com --- Comment #20 from Stefan Dirsch <sndirsch@novell.com> 2008-06-26 04:56:59 MDT --- *** Bug 404053 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=404053 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=397942 User bili@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=397942#c21 Li Bin <bili@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bili@novell.com Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #21 from Li Bin <bili@novell.com> 2008-07-07 01:26:23 MDT --- Stefan, I've update the new package from http://download.opensuse.org/repositories/X11:/XOrg/openSUSE_11.0/i586/ just reinstall the xorg-x11-7.3-159.2.rpm, and found the /etc/X11/xinit/xinitrc.common already changed setxbmap before the xmodmap, and from the changelog I viewed your fix on June 9, 2008. But after I reboot, the .Xmodmap still can't load, what other packages that I need reinstall? my .Xmodmap, !NO Caps Lock clear lock !Caps Lock as Win Key add mod4 = Caps_Lock -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=397942 User sndirsch@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=397942#c22 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #22 from Stefan Dirsch <sndirsch@novell.com> 2008-07-07 02:51:28 MDT --- This sounds like a different issue. Please verify by loading your ~/.Xmodmap manually. xmodmap ~/.Xmodmap -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=397942 User bili@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=397942#c23 Li Bin <bili@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #23 from Li Bin <bili@novell.com> 2008-07-07 03:27:32 MDT --- hi, xmodmap ~/.Xmodmap this works fine, everytime I run this after reboot. so I think it's the same issue. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=397942 User sndirsch@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=397942#c24 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO Info Provider| |bili@novell.com --- Comment #24 from Stefan Dirsch <sndirsch@novell.com> 2008-07-07 03:37:55 MDT --- Please attach your /etc/X11/xinit/xinitrc.common -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=397942 User bili@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=397942#c25 --- Comment #25 from Li Bin <bili@novell.com> 2008-07-07 04:23:37 MDT --- Created an attachment (id=226210) --> (https://bugzilla.novell.com/attachment.cgi?id=226210) xinitrc.common in the xorg-x11-7.3-159.2 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=397942 User sndirsch@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=397942#c26 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Info Provider|bili@novell.com | Resolution| |FIXED --- Comment #26 from Stefan Dirsch <sndirsch@novell.com> 2008-07-07 04:30:04 MDT --- [...] # # Fix keyboard layout (Bug #368673) # setxkbmap -print | xkbcomp - $DISPLAY # # Handle the the users Xmodmap or Xkbmap. # Note that xkb and xmodmap should not be mixed. # if test -s $XETCDIR/Xkbmap ; then test -r "$xkbmap" && cat "$xkbmap" | setxkbmap else test -r "$xmodmap" && xmodmap "$xmodmap" fi [...] Looks good. ==> You're running into a different issue. Please let's handle this seperately. Thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com