<div dir="ltr">it's quite possible that there is a KDE austart process interfering with your script, which, with the timeout, gets overriden again :)</div><div class="gmail_extra"><br><div class="gmail_quote">On 25 March 2017 at 21:59, Matthias Apitz <span dir="ltr"><<a href="mailto:guru@unixarea.de" target="_blank">guru@unixarea.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">El día domingo, marzo 12, 2017 a las 07:03:26p. m. +0100, Matthias Apitz escribió:<br>
<br>
> I have a script ~/.kde4/Autostart/xmod.sh which does some keyboard<br>
> adjustments with xmodmap on KDE4 start, for example:<br>
><br>
> echo $0 >> /tmp/autostart.txt<br>
> date    >> /tmp/autostart.txt<br>
> echo DISPLAY: $DISPLAY >> /tmp/autostart.txt<br>
<br>
</span>The problem seems to be a raise between the script and the upcoming KDE<br>
desktop. If I put a sleep of 10 secs into the script, all is fine.<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Matthias Apitz, ✉ <a href="mailto:guru@unixarea.de">guru@unixarea.de</a>, ⌂ <a href="http://www.unixarea.de/" rel="noreferrer" target="_blank">http://www.unixarea.de/</a>  ☎ <a href="tel:%2B49-176-38902045" value="+4917638902045">+49-176-38902045</a><br>
Aus "Nie wieder Krieg!" wurde "Nie wieder Krieg ohne Deutschlands Truppen"<br>
The "No wars anymore!" changed now to "No wars anymore without German battle groups!"<br>
El "¡Nunca jamás guerra!" ha cambiado a "¡Nunca jamás guerra sin tropas alemanas!"<br>
</div></div></blockquote></div><br></div>