The weight of history determines the name; no formal process.
How is a new chess opening officially named?

See my post #6 in the following thread: https://www.chess.com/forum/view/general/openings-beware-of-stupid-question
No official way... some names are not completely agreed upon even now.
But e.g. it can be a player or national team who worked hard to make an opening dangerous or respectable. Or it can be a city where it was debuted or where a famous game was played.
Generally Russians prefer to name openings after Russian players or places even if the opening was known before, or was made more famous afterwards.

No official way... some names are not completely agreed upon even now.
But e.g. it can be a player or national team who worked hard to make an opening dangerous or respectable. Or it can be a city where it was debuted or where a famous game was played.
Generally Russians prefer to name openings after Russian players or places even if the opening was known before, or was made more famous afterwards.
I like that

As described by other posters above. I understand however that somewhat exceptionally the name for The Fried Liver Attack was agreed upon after several meetings by a joint USCF/FIDE committee especially recruited for this purpose.

Kirsan Ilyumzhinov gets a bottle of wine, and cracks it open across a chessboard proclaiming, "I christen thee the Spanish Opening!" All those attending applaud, and then they take it out for its maiden voyage.

I'm not sure. Whoever grabs the most attention when playing it, I suppose.
I'm glad they're named though, because I don't study openings. So anytime I go to analyze my game on here and it names my opening, I like to think, "well, guess I'm as smart as that dude". Most of the time it's, "well, guess I'm as smart as all the Italians."
I would like to know how a new opening is officially named and recognized by the chess community. Thanks!