Linux Mint has a Menu for Startup Programs and Scripts.
Please add a new feature to do the same for tasks to be run at Logout, prior to shutdown or reboot.
That way one can automatically run a clean up tool (such as Bleachbit) prior to shutdown or reboot.
Linux Kubuntu has this feature and I find it really useful.
Thanks.
New Feature Request 4 Logout
Forum rules
Do not post support questions here. Before you post read: Where to post ideas & feature requests
Do not post support questions here. Before you post read: Where to post ideas & feature requests
Re: New Feature Request 4 Logout
I'd agree that would be sensible functionality.
For anyone hitting on this tread: we can currently do this by hanging things off of the display manager. In the Mint 18+ case with LightDM you add to /etc/lightdm/lightdm.conf a line e.g.
and create an executable script /etc/lightdm/session-cleanup.sh consisting of for example
/etc/lightdm/session-cleanup.sh itself is run as root by LightDM and relays, if it exists, to an also executable script ~/.lightdm_logout run as the user who just logged out.
Looked at this due to wondering if it wasn't already possible even if not nicely configurable, but I'd agree this functionality makes for a sensible counterpart to Application Startup configuration within Cinnamon itself.
For anyone hitting on this tread: we can currently do this by hanging things off of the display manager. In the Mint 18+ case with LightDM you add to /etc/lightdm/lightdm.conf a line e.g.
Code: Select all
session-cleanup-script=/etc/lightdm/session-cleanup.sh
Code: Select all
#!/bin/sh
[ -x "$HOME/.lightdm_logout" ] && exec /usr/bin/sudo -u "$USER" "$HOME/.lightdm_logout"
Looked at this due to wondering if it wasn't already possible even if not nicely configurable, but I'd agree this functionality makes for a sensible counterpart to Application Startup configuration within Cinnamon itself.