测试了一下,发现startup applications
里写
xmodmap /home/$USER/.Xmodmap
没有用,只有写成
/bin/bash -c "sleep 20; /usr/bin/xmodmap /home/$USER/.Xmodmap"
才能生效。请问是为什么?
PS:版本是14.04
大家讲道理2017-04-22 08:58:02
Delayed startup
Because it is useless to execute xmodmap when X Window is not fully started. Therefore, under delayed startup, wait until X Window is fully started before executing.