it's quite possible that there is a KDE austart process interfering with your script, which, with the timeout, gets overriden again :)
On 25 March 2017 at 21:59, Matthias Apitz <[email protected]> wrote: > El día domingo, marzo 12, 2017 a las 07:03:26p. m. +0100, Matthias Apitz > escribió: > > > I have a script ~/.kde4/Autostart/xmod.sh which does some keyboard > > adjustments with xmodmap on KDE4 start, for example: > > > > echo $0 >> /tmp/autostart.txt > > date >> /tmp/autostart.txt > > echo DISPLAY: $DISPLAY >> /tmp/autostart.txt > > The problem seems to be a raise between the script and the upcoming KDE > desktop. If I put a sleep of 10 secs into the script, all is fine. > > -- > Matthias Apitz, ✉ [email protected], ⌂ http://www.unixarea.de/ ☎ > +49-176-38902045 > Aus "Nie wieder Krieg!" wurde "Nie wieder Krieg ohne Deutschlands Truppen" > The "No wars anymore!" changed now to "No wars anymore without German > battle groups!" > El "¡Nunca jamás guerra!" ha cambiado a "¡Nunca jamás guerra sin tropas > alemanas!" >
