Run commands at logout of Gnome Session

Vinícius Ferrão via Ltsp-discuss <[email protected]> Wed, 20 Mar 2019 16:50:53 +0000
Newsgroups gmane.linux.terminal-server.general
Message-ID <[email protected]>
Hello,

I’ve a problem with users filling it’s home directory due to the .cache directory, and then being blocked by quota problems.

I was thinking in some handle to rm -rf ~/.cache after every logout in GNOME of a given user.

But in LTSP theres no /etc/gdm/PostSession/Default file.

There’s any way to handle this? I’m aware that LTSP does not use GDM, so it’s why the file does not exists.

Thanks,


_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net