You can also let a du run for a while (save the output to a file and then sort it) to figure out what folders are the largest, that would give you hints as to what to clean up.
Yes ! Never used this specific tool but the concept behind that was also my first idea, shared libraries make intercepting library calls much easier to do that most people suspect. You can also strace the application first to see which functions you need to intercept.
Safest thing that comes to mind (apart from a vm or container) is creating a dedicated user account, which would have its own home directory and would run its own graphical session. Then no risk of remote user accessing any file you did not put in that dedicated home on purpose, and you can wipe it afterwards. "Drawback" is that you need to reconfigure any software that you would need during the exam, but I would call that a feature since for example browser-saved passwords are technically a part of your browser user configuration and you don't want teamviewer to be able to read that. You would just hand-pick some needed files (i.e. your i3 config) that are not sensitive and copy them over to the new home after double checking their content.
As other suggested, you can just use an international variant of the us layout:
setxkbmap us intl
setxkbmap us altgr-intl
I use the second one myself, ß is altgr + s, ä is altgr + a altgr + q, ü is altgr + y and ö is altgr + p. I prefer this one without dead keys because it still has the quotes and so on behave normally for programming.
Stealing this one.
You can also let a
durun for a while (save the output to a file and then sort it) to figure out what folders are the largest, that would give you hints as to what to clean up.Yes ! Never used this specific tool but the concept behind that was also my first idea, shared libraries make intercepting library calls much easier to do that most people suspect. You can also strace the application first to see which functions you need to intercept.
Safest thing that comes to mind (apart from a vm or container) is creating a dedicated user account, which would have its own home directory and would run its own graphical session. Then no risk of remote user accessing any file you did not put in that dedicated home on purpose, and you can wipe it afterwards. "Drawback" is that you need to reconfigure any software that you would need during the exam, but I would call that a feature since for example browser-saved passwords are technically a part of your browser user configuration and you don't want teamviewer to be able to read that. You would just hand-pick some needed files (i.e. your i3 config) that are not sensitive and copy them over to the new home after double checking their content.
As other suggested, you can just use an international variant of the us layout:
I use the second one myself, ß is altgr + s, ä is
altgr + aaltgr + q, ü is altgr + y and ö is altgr + p. I prefer this one without dead keys because it still has the quotes and so on behave normally for programming.