If you work with layers a lot, you might like the recently-uploaded Visibility Manager script. This GIMP script offers useful functionality like hide all except the current layer and swap visible layers (making visible layers invisible and vice-versa).
Click the image below to see an annotated screenshot-overview:
If you pair it with GIMP's Dynamic Keyboard Shortcuts, this could be a very handy tool. However, if you don't work with a lot of layers very often, you might not see the point.
As always, Linux users should save this script in their GIMP scripts folder to install it.