Medieval attestations of the name include de superiory Laybaco in 1300, Oberlaybach in 1308 (and Ober Laybach in 1309), and Vernich in 1481, corresponding to the modern Slovene name.
The Latin name Nauportus is a compound of navis 'boat' + portus 'transfer', referring to a place where cargo had to be transferred from boats to pack animals or carts along a trade route.
A mythological reinterpretation of the Latin name as referring to the portage of a boat itself (specifically, the Argo) appears in Pliny the Elder's Natural History.
Nevertheless, it remained one of main transportation junctions in Inner Austria because of its strategic location on the crossroads between the trade routes from Trieste to Vienna and from Rijeka to Klagenfurt.
The Pikec Valley Mass Grave (Slovene: Grobišče pri Pikčevi dolini) is located at the bottom of a sinkhole southwest of the town, on Sveč Hill near the Vojc house.