On Tue, Jan 17, 2017 at 08:26:18PM +0000 I heard the voice of
Richmond, and lo! it spake thus:
>
> On the first computer it works, pressing F1 iconifies a window, but
> on the second it doesn't work, it just makes the mouse cursor
> disappear for a second.
>
> This second computer did have a .Xmodmap but I removed it.
>
> What could be the reason for the difference?
I'd guess at lingering remapping. .Xmodmap by itself doesn't do
anything; something in the startup process would explicitly run
against it. e.g., in my setup:
% grep xmodmap ~/.xinitrc
xmodmap ~/.xmodmap
so just removing the file wouldn't do anything, unless you also
restarted X somewhere along the way. You could try removing the
mapping (so ctwm doesn't eat the F1) and then using xev(1) or the like
to see what keystroke comes through. Also using some of xmodmap's
dumping args to see what might be going on; `xmodmap -pm` or `xmodmap
-pke` are likely candidates.
It's probably also possible that something higher level is eating the
keystroke or re-representing it before ctwm gets at it. I think
laptops are especially likely to do that sorta thing.
--
Matthew Fuller (MF4839) | [email protected]
Systems/Network Administrator | http://www.over-yonder.net/~fullermd/
On the Internet, nobody can hear you scream.