Summary: | ~/.Xmodmap ignored by xdm | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Greg McIntyre <gentoo> |
Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | brant, esigra |
Priority: | High | ||
Version: | 2005.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Make KDE heed the xmodmap configuration |
Description
Greg McIntyre
2006-03-31 15:01:33 UTC
*** Bug 48263 has been marked as a duplicate of this bug. *** I still have this problem with current package versions. Whenever I log into KDE I have to execute "xmodmap /etc/X11/Xmodmap" to get mouse and keyboard working properly. Another Source. http://www.ugcs.caltech.edu/~q/code/xdm_bio-1.0.5.patch Created attachment 104763 [details, diff] Make KDE heed the xmodmap configuration I hunted around some more to fix this problem and found the instruction at "http://gentoo-wiki.com/HOWTO_Advanced_Mouse#KDM_and_KDE" saying: Another way is to add the following lines to ${kdedir}/share/config/kdm/Xsession to fix the .Xmodmap issue for all users: File: ${kdedir}/share/config/kdm/Xsession exec /usr/bin/xmodmap -e "pointer = default" if [ -f "$HOME/.Xmodmap" ] then exec /usr/bin/xmodmap "$HOME/.Xmodmap" & fi Note: Touching files in ${kdedir} may mean merging configuration files on a point release, or copying these changes to new files on a major release. I followed the instruction and it put an end to my pain of having to execute "xmodmap /etc/X11/Xmodmap" after each login (when noticing that the scrollwheel does not work again). I thought it would be best for me and other users to also put an end to the pain of redoing this change after every emerge of a kdm version. Therefore I try to make that configuration persistent by adding it in the source. The patch could be applied during the emerge. xdm is old and we have very little incentive to fix it. I'd rather avoid breaking it since the whole X startup scripts are very fragile. If you want your own .Xmodmap to be picked up, better have your own .xsession or .xinitrc, depending on which ever works. Thanks |