Jorge Almeida <jjalme...@gmail.com> writes:

[...]

> It seems that xmodmap requires being run from an emulator inside an X
> session, which it's not supposed to.

I'm afraid not.  For me, I'm running it like this:

.xinitrc:
#!/bin/sh
metacity & wmpid=$!
sleep 2
xmodmap ~/.xmodmaps &
# other commands
wait $wmpid

It works for me.

-- 
Carl Lei (XeCycle)
Department of Physics, Shanghai Jiao Tong University
OpenPGP public key: 7795E591
Fingerprint: 1FB6 7F1F D45D F681 C845 27F7 8D71 8EC4 7795 E591

Attachment: pgp9xmwFughhW.pgp
Description: PGP signature

Reply via email to