Hi Daniel,

I think you might add that either into both main() functions or in the
Chem3dApplication constructor since each application creates only one
instance.

Best regards,
Jean

Le mercredi 28 octobre 2020 à 01:14 +0100, Daniel Leidert a écrit :
> Hi Jean,
> 
> I hope you can help me out here. As you know some of the binaries
> crash with
> Wayland which is the default for many Linux distributions. Setting
> the
> GDK_BACKEND to x11 "fixes" the problem. Now I have some possible ways
> to use
> this:
> 
> 1) Use  a script and set GDK_BACKEND and then call the binary
> 2) Use g_setenv() in the source code or
> 3) Use gdk_set_allowed_backends ("x11,*") and try the x11 backend
> first.
> 
> I think 3) seems to be a good choice to avoid the crash. Where would
> be the
> best place to set this in the source?
> 
> Regards, Daniel
> 
> 


Reply via email to