Hello,
im new to cinnamon.
What is the proper way to run a script when a user logs out or shuts down the PC?
I have an rsync which needs to copy some files regularely.
thnx
proper way to execute a script at logout
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
proper way to execute a script at logout
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: proper way to execute a script at logout
Maybe this post can help?
http://forums.linuxmint.com/viewtopic.php?f=90&t=184037
http://forums.linuxmint.com/viewtopic.php?f=90&t=184037
Add (Solved) to the topic-title of the first post when appropriate so others know they might find a solution here.
Re: proper way to execute a script at logout
Put stuff in you ~/.bash_logout file.
I'm not sure if this would run every time you close a terminal...
http://www.cyberciti.biz/faq/linux-unix ... u-log-out/
...but if it does, here's how to run something on last logout only:
http://unix.stackexchange.com/questions ... ast-logout
I'm not sure if this would run every time you close a terminal...
http://www.cyberciti.biz/faq/linux-unix ... u-log-out/
...but if it does, here's how to run something on last logout only:
http://unix.stackexchange.com/questions ... ast-logout
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Your data and OS are backed up....right?