The story
Etymology from Wiktionary, CC BY-SA 4.0.
Today it means: Used to express frustration or irritated disbelief, from the tendency of annoyed or irritated people to want to repeatedly bang their heads against their desk. Full definition →
Etymology from Wiktionary, CC BY-SA 4.0.