xfce4 startup appears to override my xmodmap keyboard settings

Chris G cl at isbd.net
Sun Feb 7 15:15:11 CET 2010


I have a .Xmodmap file which sets up the Compose key and some mouse
button changes.

Both xfce *and* gdm run 'xmodmap ~/.Xmodmap' for me which is a bit
redundant but no harm really.  However *only* the mouse settings
survive through the rest of X initialisation, the Compose key set-up
for my keyboard is lost.

I have checked pretty carfully and xmodmap is definitely being run (I
have added echo output at the appropriate places and it appears in
.xsession-errors, I used to get an xmodmap warning too).  Anyway my
mouse settings *are* being done so that confirms it's run.

If I run 'xmodmap ~/.Xmodmap' in a terminal window once X is up and
running I get the keyboard setting I want, so the .Xmodmap file is OK.

My *guess* is that xfce is doing its own keyboard set-up after xmodmap
is run and overrides the Compose key setting I want.  Is this a bug or
should I be setting up the Compose key somewhere in the xfce4
configuration? 

For the moment I'm running 'xmodmap ~/.Xmodmap' with a 20 second delay
from my .xprofile, this works but feels like a bit of a bodge.

-- 
Chris Green




More information about the Xfce mailing list