xviewer hangs when launched by double-clicking an image in a file manager. Fixed by https://github.com/linuxmint/xviewer/commit/ce1505dab7f3847d60b4ff0d50ddac9ba4690d49