gchemutils-main
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Set the GDK backend to fix the crash with wayland


From: Jean Brefort
Subject: Re: Set the GDK backend to fix the crash with wayland
Date: Wed, 28 Oct 2020 06:46:05 +0100
User-agent: Evolution 3.36.4-2

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

[Prev in Thread] Current Thread [Next in Thread]