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
- Only post ideas here that are specifically about the Linux Mint distribution or its websites.
- So that developers and users from any distribution can discuss ideas in one place, post ideas about improving software to the collaboration website for that software instead.
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.