Red Hat Bugzilla – Bug 121183
gnome-settings-daemon stomps on .Xmodmap
Last modified: 2007-11-30 17:10:40 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040312
Description of problem:
The gnome-settings-daemon overwrites settings made in the local
.Xmodmap file (and even displays a dialog box saying so):
"You have a keyboard remapping file (.Xmodmap) in your home directory
whose contents will now be ignored. You can use the keyboard
preferences to restore them."
Point is, the keyboard preferences dialog does not offer the
functionality I need (and running xmodmap .Xmodmap in an xterm works
So, I'd like my .Xmodmap back.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Log in to gnome
Actual Results: .Xmodmap being ignored
Expected Results: .Xmodmap used
I found a workaround for this just a few minutes ago.
1) Go to Preferences->Sessions
2) Choose the "Startup Programs" tab
3) Add the command "xmodmap /home/<username>/.Xmodmap"
Agreed. I use Xmodmap to rewrite my mouse buttons so I can actually
use the scroll wheel on my mouse. I can't even get my global
/etc/X11/Xmodmap file to run, let alone the local one that produces
the gnome error.
Will install the workaround, but that shouldn't be the way things work.
The g-s-d from control-center 2.9.91-1 asks me to to import my
.Xmodmap at startup time (and actually does so). Makes me happy.
Seems to be fixed in current rawhide, closing.