There's an easy solution to loose cables falling off of your desk - the cable catch.
To make one, you'll need:
-a plastic card you don't use (e.g. a hotel keycard)
-a hole punch (or not, depending on your skill with scissors)
-some adhesive (e.g. poster gum, mounting square)
Step 1: Cut the card and punch a hole in it