The calculated distance (air line) between Onex and Fribourg is approximately 66 miles respectively 106 kilometers.
By car or train, the actual journey to Fribourg is certainly longer, as only the direct route (as the crow flies) between Onex and Fribourg has been calculated here.