https://bugs.kde.org/show_bug.cgi?id=488719

garfield.watk...@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |garfield.watk...@gmail.com

--- Comment #49 from garfield.watk...@gmail.com ---
I had the same issue with brave (chromium based) after the upgrade to KDE 6.1.
I found that setting XDG_SESSION_TYPE=xorg  at least allowed me to share
XWayland windows but not wayland e.g. Konsole. If I set
XDG_SESSION_TYPE=wayland and then run brave I got  "no such interface
org.freedesktop.portal.screencast" errors. That led me to think there might be
an issue with the kde-portals.conf file. using /usr/lib/xdg-desktop-portal -vr
& /usr/lib/xdg-desktop-portal-kde -vr i noticed the config was being grabbed
from /usr/share/xdg-desktop-portal/kde-portals.conf and it had:
[preferred]
default=kde
org.freedesktop.impl.portal.Settings=kde;gtk;

I copied this to ~/.config/xdg-desktop-portal/kde-portals.conf and replaced it
with:
[preferred]
default=kde
org.freedesktop.impl.portal.Settings=kde
org.freedesktop.impl.portal.Screencast=kde

now setting XDG_SESSION_TYPE=wayland it all seems to work.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to