[dev] wmiirc + gnome-settings-daemon + xmodmap

From: Nick Irvine <nfirvine_AT_nfirvine.com>
Date: Sun, 22 Nov 2009 21:50:57 +1000

Hi all,

I've got a script that changes CapsLock to Mod3, then in wmiirc, I set
my Mod key to be Mod3:

#capsmod3
xmodmap -e 'remove lock = Caps_Lock'
xmodmap -e 'add Mod3 = Caps_Lock'

#wmiirc
MODKEY=Mod3
...
gnome-settings-daemon &
capsmod3

The problem is, gnome-settings-daemon seems to set xmodmap itself
slightly after my call to it, thus overriding my settings. I have to
manually execute capsmod3 every time I log in.

Any ideas?

Thanks,
Nick
Received on Sun Nov 22 2009 - 11:50:57 UTC

This archive was generated by hypermail 2.2.0 : Sun Nov 22 2009 - 12:00:02 UTC