The cable for my phone charger always fell off my desk, so I quickly designed up a little clip to hold it to the edge of my desk. Should fit most all USB cables. Fits a desk 20mm thick.
Print on 3d printer, trim, and use. You will have to set your slicing program to create supports.
Created in Autodesk Inventor.