Am 28.04.2014 17:34, schrieb Cristian Rodríguez:
El 28/04/14 11:10, Benjamin escribió:
Alvin Hi Alvin! Thanks for your suggestion! I tried it with the wrapper script like you wrote, but still nothing is happening during the log out … It seems, that kde is not even trying to run a script i put in /.kde4/shutdown…
Well.. see if it is actually running it.
as the first line
echo "Attempting to run my script" | systemd-cat
then look at the journal if the message is written or not
journalctl --since=today
Okay i put the "Sync.sh" in the shutwdown folder. It has the following content: # !/bin/bash echo "unison DeskSync -batch" | systemd-cat unison DeskSync -batch exit 0 Is it right? When i run journalctl --since=today no journal files are found… I did sudo chmod -x Sync.sh before I tried the script… Best, Benjamin.