I wrote a simple layout changing configuration for xmodmap (Caps/Ctrl swap, and such) and stored the config to
$HOME/.Xmodmap. When I run
xmodmap ~/.Xmodmap everything works fine, the layout is changed in every window.
But after some time, approx. 10 min, the layout is reset to default. This happens without my restarting the computer, closing the terminal where I called xmodmap, going to sleep-mode, whatever. Is there a process that could rewrite the layout automatically?
I am not sure if it is distribution-specific, but I am running Debian Wheeze with xfce4.