[arch-general] xmodmap

XeCycle xecycle at gmail.com
Sat Oct 1 08:50:42 EDT 2011


Jorge Almeida <jjalmeida at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: not available
URL: <http://mailman.archlinux.org/pipermail/arch-general/attachments/20111001/d71bd7aa/attachment.asc>


More information about the arch-general mailing list