I’ve just installed fresh kicad 5.1.2 from launchpad repo and found problem with Gerber Viewer.
It seems to me that it starts and immediately fails.
Here how it looks from application console:
I Use Ubunutu Mate 18.04.
May be someone can suggest me where the problem may be? Or what additional information should I provide?