El día lunes, diciembre 07, 2020 a las 12:08:51p. m. +0100, Matthias Apitz 
escribió:

> Hello,
> 
> Thanks, this works fine. 
> 
> I have another script (used in ~/.kde4/Autostart/xmod.sh) which I now
> copied to ~/.config/plasma-workspace/env/xmod.sh which does:

I came up with this small hack:

$ cat ~/.config/plasma-workspace/env/xmod.sh

echo $0 >> /tmp/autostart.txt
( sleep 60 ; ~/xmod.sh ) &

i.e. the real work is done in ~/xmod.sh which is launched by
~/.config/plasma-workspace/env/xmod.sh but 60 secs later;

        matthias


-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub

Reply via email to