On Fri, 27 Jul 2018 10:57:48 -0400 "John Stoffel" <john@stoffel.org> wrote:
It sounds like when the script runs, the Xserver isn't quite ready, and xmodmap is waiting for that.
Hmm, it is called "post-resume", that suggests that everything is up an running...
Maybe you can start debugging by putting:
xmodmap -verbose -pm
before your call, to see what it prints out. And make sure the $DISPLAY is set correctly too!
You can also do an 'strace xmodmap ...' call in there, to see where it's going and what it's calling to.
I tried an "&", the session is starting, but xmodmap has no result, even with an extra "sleep 5" in a separate script. I'll try the "-verbose -pm" tomorrow.
Thnx for your answer,
R.
-- richard lucassen http://contact.xaq.nl/