Re: [opensuse-kde] [tumbleweed] kde/plasma/wayland: Primary Selection Protocol (middle-mouse to paste)

Sedat Dilek <[email protected]> Thu, 24 Dec 2020 06:37:11 +0100
Newsgroups gmane.linux.suse.kde
Message-ID <CA+icZUVpYkG5=30c5xEuhY49SbOcXE3ZemB_wo-YBMf_=qK0DA@mail.gmail.com>
On Wed, Dec 23, 2020 at 8:59 PM Fabian Vogt <[email protected]> wrote:
>
> Moin,
>

Moin moin (double "moin" means "Quatschkopf" I heard on TV :-))?

> Am Mittwoch, 23. Dezember 2020, 19:41:51 CET schrieb Sedat Dilek:
> > Hi Fabian,
> >
> > is there an elegant way to "force" an KDE application to use the xcb
> > platform in Plasma/Wayland?
> >
> > Alternatives via terminal:
> >
> > terminal$ konsole -platform xcb
> >
> > terminal$ QT_QPA_PLATFORM="xcb;wayland" konsole
>
> You could copy the .desktop file into ~/.local/share/applications/ and edit
> Exec= to pass -platform xcb.
>

OK, I was on a good track with the *.desktop file.

> > When I start konsole with wayland platform - I cannot cut-n-paste into
> > e.g. firefox.
>
> Clipboard or primary selection? Is Firefox using Wayland or X11?
> Leap (version?) or TW?
>

To be honest:
What is the difference between clipboard and primary selection?
OK, I can check the content of the clipboard but primary selection?

[ SDDM ]

I am starting a Plasma/Wayland session via SDDM.

Checking the XDG_SESSION_XXX env variables:

$ declare -x | grep XDG_SESSION
declare -x XDG_SESSION_CLASS="user"
declare -x XDG_SESSION_DESKTOP="KDE"
declare -x XDG_SESSION_ID="26"
declare -x XDG_SESSION_PATH="/org/freedesktop/DisplayManager/Session9"
declare -x XDG_SESSION_TYPE="wayland"

Checking ~/.local/share/sddm/wayland-session.log [3]:

Failed to create wl_display (No such file or directory)
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in ""
even though it was found.
This application failed to start because no Qt platform plugin could
be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: wayland-org.kde.kwin.qpa, eglfs,
linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland,
wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

[ KWin/Wayland backend ? ]

How can I check which kwin backend is activated and used - here I
installed the following backends drm | wayland | x11 [2].

[ Wolf in sheep's clothing ]

To be very honest:
This is on Debian/testing AMD64 and I wanted to understand the
working-together in general.
If you have some cool docs or links on the topic Plasma/Wayland like
[1], please let me know.

Thanks.

Happy Xmas (if you celebrate it or not),
- Sedat -

[1] https://community.kde.org/KWin/Wayland
[2] https://community.kde.org/KWin/Wayland#Starting_a_nested_KWin
[3] https://community.kde.org/KWin/Wayland#Reading_wayland_session_logs

> Cheers,
> Fabian
>
> > Thanks.
> >
> > Regards,
> > - Sedat -
> >
> > [1] https://lists.debian.org/debian-kde/2020/12/msg00056.html
> > [2] https://www.heise.de/forum/heise-online/Kommentare/KDE-Plasma-5-20-Neue-Version-verbessert-Uebersichtlichkeit-der-Desktopumgebung/KDE-Wayland-Add-support-for-Primary-Selection-Protocol-middle-mouse-to-paste/posting-37601192/show/
>
>
_______________________________________________
openSUSE KDE mailing list -- [email protected]
To unsubscribe, email [email protected]
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: https://lists.opensuse.org/archives/list/[email protected]