Get a roomba (or another brand, you know what I mean). Pick your funiture so that your roomba either can drive under it (without getting stuck) or the furniture goes completely tight to the floor. You don’t want to manually clean under some furniture, because the roomba can’t get there. Also, avoid chairs, tables and lamps that have a small bar at the floor the roomba sometimes drives over it and gets stuck.
For question 1: idk how to convert tex to svg, but maybe there’s a program called tex2svg . Often programs are named like that. However, if you want the contents of a file (which is basically markup text) in the clipboard from CLI you would use on Xorg X11 xclip or xclipboard like so:
… or on Wayland wl-copy from wl-clipboard like so:
For question 3: after you have reviewed the potentially dangerous script, you would move it to a directory for non distribution files, eg. /usr/local/bin/ if it is for all users on your system. You would add that path to the PATH environment variable for all users who need it, but maybe better not for root. I mean you can, but make sure the permissions don’t allow non-root users to write or replace the file/dir so nobody can use it to escalate their privileges.