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