I have a guest computer for only internet usage. Some users download some files and leave them on the desktop but the computer does not have enough space for all guests and it is not allowed to put a file in there.
What I want to do is clean every file inside the home directory when the computer starts, but keep the directory structure like Music, Pictures, Documents & Downloads.
How can I accomplish this?
xdg-user-dir
and~/.config/user-dirs.dirs
for the default directories./etc/gdm/PostSession
or/etc/gdm/PreSession
so that I can take back my downvote?