On Wed, Mar 17, 2021 at 04:11:56PM -0300, David Pirotte wrote:

> >     QT_QPA_PLATFORMTHEME=qt5ct linphone
>
> That does not solve the problem, fwiw.
>
> >     GDK_BACKEND=x11 linphone
>
> That solves the problem.

Ideally Qt would detect that the platform theme needs that backend and
perform the configuration automatically, but apparently that is not
yet implemented.

I cleaned your output up a bit and diffed it with "diff -U0 debian.env
appimage.env" which gives:

    --- debian.env      2021-03-17 20:34:13.187385487 +0100
    +++ appimage.env    2021-03-17 20:41:24.519376882 +0100
    @@ -1,0 +2,3 @@
    +APPDIR=/tmp/.mount_LinphoATI0bC
    +APPIMAGE=/opt/linphone/bin/Linphone-4.2.5.AppImage
    +ARGV0=./Linphone-4.2.5.AppImage
    @@ -8 +10,0 @@
    -GDK_BACKEND=x11
    @@ -31,0 +34 @@
    +OWD=/opt/linphone/bin
    @@ -38,2 +40,0 @@
    -PS1=\u@\h:\w \# $
    -PS2=>
    @@ -42,0 +44 @@
    +QT_QPA_PLATFORMTHEME=gtk2
    @@ -45 +47 @@
    -SHLVL=1
    +SHLVL=2
    @@ -53 +54,0 @@
    -_=/usr/bin/linphone

This tells us that the appimage uses the GTK2 platform theme.  You
could install the package qt5-gtk2-platformtheme and invoke linphone
like so:

   GDK_BACKEND=x11 QT_QPA_PLATFORMTHEME=gtk2 linphone

Then it should look and behave almost identical to the appimage
variant.

> Although, fwiw, (a) the window 'shape is different (the AppImage has
> square corners - the debian window rounded corners, and (b) the font
> family and font size are diff as well (musch smaller for the debian
> version... no problem at all, big deal, just mentioning ...

Any other differences will probably be due to missing fonts which
you'd have to install/copy over from the appimage, though I can't find
any font files on the appimage.  If you find a way to make it look
like the appimage, tell us how, so we can maybe tune the defaults.

Regards,
Dennis

Reply via email to