Building the Plasma6 for Slackware-current in the KTown style - a build based on the AlienBOB's KTown
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I noticed that screencast is not working here.
Window thumbnails are not shown when hovering icons on the panel, and a "screen capture" test fails at https://mozilla.github.io/webrtc-landing/gum_test.html
The error i get is a generic "Can't connect the Pipewire context".
I checked and pipewire seems to be running fine, audio works etc:
I noticed that screencast is not working here.
Window thumbnails are not shown when hovering icons on the panel, and a "screen capture" test fails at https://mozilla.github.io/webrtc-landing/gum_test.html
The error i get is a generic "Can't connect the Pipewire context".
I checked and pipewire seems to be running fine, audio works etc:
Is it just me? Anyone can confirm/deny this on their installation please?
I encountered a similar problem quite a while ago in Plasma 5. It seemed like the KWin plugin that handles screen castings (I forgot what its called) were not loaded when running the normal Plasma Wayland session. However, if I used the Full Plasma Wayland session, that plugin was loaded and screen castings finally worked.
I noticed that screencast is not working here.
Window thumbnails are not shown when hovering icons on the panel, and a "screen capture" test fails at https://mozilla.github.io/webrtc-landing/gum_test.html
The error i get is a generic "Can't connect the Pipewire context".
I checked and pipewire seems to be running fine, audio works etc:
Is it just me? Anyone can confirm/deny this on their installation please?
This behavior is also with my Plasma6 build:
Code:
org.kde.startup: not a reply org.freedesktop.locale1 QDBusMessage(type=Error, service="org.freedesktop.DBus", error name="org.freedesktop.DBus.Error.ServiceUnknown", error message="The name org.freedesktop.locale1 was not provided by any .service files", signature="s", contents=("The name org.freedesktop.locale1 was not provided by any .service files") )
dbus-daemon[4967]: [session uid=1001 pid=4967] Activating service name='org.kde.KSplash' requested by ':1.0' (uid=1001 pid=4968 comm="/usr/bin/startplasma-wayland")
dbus-daemon[4967]: [session uid=1001 pid=4967] Activating service name='org.freedesktop.portal.Desktop' requested by ':1.4' (uid=1001 pid=4976 comm="/usr/bin/kwin_wayland --wayland-fd 7 --socket wayl")
dbus-daemon[4967]: [session uid=1001 pid=4967] Activating service name='org.freedesktop.portal.Documents' requested by ':1.6' (uid=1001 pid=4985 comm="/usr/libexec/xdg-desktop-portal")
dbus-daemon[4967]: [session uid=1001 pid=4967] Activating service name='org.freedesktop.impl.portal.PermissionStore' requested by ':1.8' (uid=1001 pid=4992 comm="/usr/libexec/xdg-document-portal")
No backend specified, automatically choosing drm
dbus-daemon[4967]: [session uid=1001 pid=4967] Successfully activated service 'org.freedesktop.impl.portal.PermissionStore'
dbus-daemon[4967]: [session uid=1001 pid=4967] Successfully activated service 'org.freedesktop.portal.Documents'
(/usr/libexec/xdg-desktop-portal:4985): xdg-desktop-portal-WARNING **: 11:19:17.592: Failed to load RealtimeKit property: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.RealtimeKit1 was not provided by any .service files
(/usr/libexec/xdg-desktop-portal:4985): xdg-desktop-portal-WARNING **: 11:19:17.592: Failed to load RealtimeKit property: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.RealtimeKit1 was not provided by any .service files
(/usr/libexec/xdg-desktop-portal:4985): xdg-desktop-portal-WARNING **: 11:19:17.593: Failed to load RealtimeKit property: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.RealtimeKit1 was not provided by any .service files
dbus-daemon[4967]: [session uid=1001 pid=4967] Activating service name='org.freedesktop.impl.portal.desktop.kde' requested by ':1.6' (uid=1001 pid=4985 comm="/usr/libexec/xdg-desktop-portal")
kwin_screencast: Failed to connect PipeWire context
...
Aparently, the xdg-desktop-portal wants org.freedesktop.locale1 and org.freedesktop.RealtimeKit1. Still wondering how to avoid them.
Ideas? My bet is on org.freedesktop.RealtimeKit1 .
Last edited by LuckyCyborg; 05-09-2024 at 04:44 AM.
Aparently, the xdg-desktop-portal wants org.freedesktop.locale1 and org.freedesktop.RealtimeKit1. Still wondering how to avoid them.
Ideas? My bet is on org.freedesktop.RealtimeKit1 .
Install systemd
I think you must patch xdg-desktop-portal-kde...but first rebuild xdg-desktop-portal just in case...
EDIT: -Dsystemduserunitdir="/usr/lib/systemd/user" \
I just remembered that we had similar issues when we started building Gnome before 2-3 years. I dont remember the fix... it was not me who fixed it. But you can add a delay to plasma start 10" or something similar and check... also this tool is very good and simple to see what is connecting to what... I think similar tools are in SBo also...
EDIT: if i remember right problem was wireplumber started after gnome session.
EDIT2: the gnome record-desktop app is builded in gnome-shell is the same for kwin_screencast in plasma6?
Sooo, if the PipeWire daemons crashes (and from my long experience with them, they crashes sometimes, even it's a rare case) and even if our daemon supervisor promptly does its duty and restarts them on place, seems like the KWin link will be lost. It's not even an issue specific to our daemon supervisor usage, as may happen well even on a systemd driven system.
What do you think about this point?
Last edited by LuckyCyborg; 05-09-2024 at 11:39 AM.
I confirm that the patch made by Mr. Edmundson works quite well, and indeed it keep the KWin's link active after a Pipewire daemons sudden disappearance, which forces the daemon supervisor instances to restart them.
Regarding the issue with the characters, I am really sorry, but I cannot confirm it. My system insists to display properly the name of Michał Klauza, both on Konsole and Dolphin, also the files looks like being extracted properly. I believe that's either an issue with your language setup, either your system is really "dirty" and a clean install may be necessary. Please note that my -current installation used to experiment with Plasma6 is no longer than a month old. I have did a clean install for building "clean" the packages for the first build from this thread.
Thanks. I imagined that something is b0rked on my system just as well. But I think I found the issue and the solution.
Whenever I had a filename / directory name with international characters, my terminal would show after a "ls" command:
While the proper spelling es Mangoré. Then, after typing "cd" and letting autocomplete do its job, the international (accented) character showed well.
My first hint came when I started a Plasma 6 app from the terminal. I got this message:
Code:
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
Here, "ANSI_X3.4-1968" is some minor revision of standard ASCII, so the terminal told me that basically Qt was objecting that my locale was configured to ASCII. That was funny because I remember configuring everything to UTF-8.
Examining the output of 'locale' told me that everything was set up correctly, except LC_ALL, which was not set at all.
I edited /etc/profile.d/lang.sh and added EXPORT LC_ALL=en_US.UTF-8 and rebooted.
Result: Now the filenames display properly in the terminal.
This is what seems to have happened:
1. This was never picked up by Qt5.
2. Maybe, just maybe, my LC_ALL was never set to anything; or
3. Perhaps my regional personalization in Plasma6 System Settings messed up that localization.
4. Qt6 is very picky about locales, and objected to my unset LC_ALL.
5. Now that I'm using Qt6 to render the whole desktop, then this issue showed its ugly head.
So my takeaway from all this is that Qt6 and thus Plasma6 is much pickier about locales than Qt5; check that your locale structure is properly set.
And we can tentatively consider this particular issue as settled.
Well, when I started this Plasma6 build, I was fully aware that I will enter in Kazachok, soo ...
There is a patch for the second Plasma6 build of mine, in the form of a tarball named plasma6-patch-20240510.tar and sized as 185.38MB . Yep, this is a relative small one and you can find it there for the next 30 days:
This tarball contains both updated packages and a patch for the source tree. The packages includes the new KDE Frameworks 6.2.0 , also kirigami-addons-1.2.0 and 2 rebuilds for KWin and plasma-workspace.
The KWin package was rebuilt for patching the Pipepire issue on KWin, by using the upstreamed !5708 patch (aka the one made by Mr. Edmundson and based on the work of our fellow @ctrlaltca) . This fixes the PipeWire issue on Wayland/Plasma6 sessions and everything related works again. Many thanks again, @ctrlaltca!
In other hand, I have noticed that Mr. Hameleers patched the Wayland/Plasma6 session in something which is roughly similar with the Plasma (Full Wayland) session as we know on Plasma5. Well, honestly I wanted to see Plasma6 acting as intended, without forcing "wayland" for every little application. So, in a way similar to Plasma5, I have "restored" the Full Wayland sessions, while leaving the stock Wayland sessions alone, as they are intended by upstream.
Finally, the kirigami-addons-1.2.0 is an update made upstream - but I for one I consider it an important one, worth to be particularly shipped in a patch.
PS. For those who wonder what's Kazachok, well ... it's a popular fast paced (and rather acrobatic) dance, practiced by the young ones of several Slavic nations. Supposedly, it was invented by and for the Cossack Cavalry - who hundreds of years ago was an elite force of the Tsarist Empire.
Last edited by LuckyCyborg; 05-11-2024 at 01:04 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.