Many of the Session files installed for various window managers and desktops on Gentoo reference a system wide Xmodmap file and a user Xmodmap file. These same references should be done in the session script that starts fvwm. Reproducible: Always Steps to Reproduce: 1. Set a Xmodmap file at /etc/X11/Xmodmap. 2. Start an fvwm session. Actual Results: The XModmap file is not read. Expected Results: The XModmap file should be read. I know that the XSession and Gnome session files read this.
I believe this is a duplicate of http://bugs.gentoo.org/show_bug.cgi?id=25121 but I also think I found the problem with my system. In /etc/X11/xdm/Xsession it has the following code. Maybe I don't understand the weight of the situation, but why are we doing /etc/X11/chooser.sh _or_ doing our modmaps? Just as a workaround I just moved the modmap stuff above this if because afaikt /etc/X11/chooser.sh has nothing to do with executing modmap on these files. # First run the system default. Because KDE uses this # to switch sessions, we MUST first check the system # default, and then ~/.xsession. If the user Do not # want this, he should override XSESSION, or at least # clear it. if [ -n "`/etc/X11/chooser.sh`" ]; then exec "`/etc/X11/chooser.sh`" # If not defined, try the user's ~/.xsession elif [ -s "$startup" ]; then # merge in defaults and keymaps if [ -f $sysresources ]; then xrdb -merge $sysresources fi if [ -f $sysmodmap ]; then xmodmap $sysmodmap fi if [ -f $userresources ]; then xrdb -merge $userresources fi if [ -f $usermodmap ]; then xmodmap $usermodmap fi if [ -x "$startup" ]; then exec "$startup" else exec /bin/sh "$startup" fi
If I recall correctly (I don't have Gentoo installed right now), bug 25121 is not a duplicate. It deals with XModmap'ing not working. This deals with the settings not even being read.
This is also a problem in KDE.
*** This bug has been marked as a duplicate of 128304 ***
This is not a duplicate. The other bug deals with Xsession, not with fvwm. They are different Xsessions.
I have this in /etc/X11/Xmodmap: keycode 160 = XF86AudioMute keycode 174 = XF86AudioLowerVolume keycode 176 = XF86AudioRaiseVolume keycode 162 = XF86AudioPlay keycode 164 = XF86AudioStop keycode 144 = XF86AudioPrev keycode 153 = XF86AudioNext pointer = 1 2 3 9 10 6 7 8 4 5 11 12 13 14 Whenever I log into KDE I have to execute "xmodmap /etc/X11/Xmodmap". It should be automatic. This is getting annoying. What should I do about it?
+*fvwm-2.6.5 (07 Oct 2012) + + 07 Oct 2012; Pacho Ramos <pacho@gentoo.org> +fvwm-2.6.5.ebuild: + Version bump, also include a default on vanilla USE and patch to increase + maximum mouse buttons number when that USE is off, also include epatch_user as + requested, please see bugs #411811 (by avx) and #412079 (also by Jesús + Guerrero). + Please retry with this new version on a fully updated system