LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   All Things KDE5/Plasma for Slackware Users. (https://www.linuxquestions.org/questions/slackware-14/all-things-kde5-plasma-for-slackware-users-4175670109/)

cwizardone 04-24-2021 07:27 AM

This week's new features, bug fixes and performance improvements,

https://pointieststick.com/2021/04/2...-improvements/

glorsplitz 04-25-2021 12:07 PM

Quote:

Originally Posted by glorsplitz (Post 6208504)
I did quick web search of getting 24 hour "Modified" time stamp in dolphin, didn't find anything that seemed to work or sounded any good, anyway to do this?

Not clear to me in system settings/personalization/regional settings/formats, didn't see anything when I searched this thread. Thanks

Again I ask, anyway to get "Modified" time stamp in dolphin to show 24 hours time stamp, I don't like "22 minutes ago", "Today", "Two days ago".

chrisretusn 04-25-2021 09:05 PM

Quote:

Originally Posted by glorsplitz (Post 6244789)
Again I ask, anyway to get "Modified" time stamp in dolphin to show 24 hours time stamp, I don't like "22 minutes ago", "Today", "Two days ago".

Wow, just notice this. When did this start? Years ago? ;)

Yeah agree, don't like that.

gegechris99 04-26-2021 12:24 AM

Quote:

Originally Posted by glorsplitz (Post 6244789)
Again I ask, anyway to get "Modified" time stamp in dolphin to show 24 hours time stamp, I don't like "22 minutes ago", "Today", "Two days ago".

Translated from French, so labels may be different in your system.

"Configuration> Configure Dolphin> Display mode> tab "Details> Date Style"

ctrlaltca 04-26-2021 09:13 AM

I often use Spetacle, KDE's screenshot utility.
On the "full wayland" session both full-screen and rectangle screenshot works fine.
On the new "mixed wayland" session the rectangle screenshot doesn't work anymore for me.
Can anyone confirm this please?

LuckyCyborg 04-26-2021 09:28 AM

1 Attachment(s)
Quote:

Originally Posted by ctrlaltca (Post 6245080)
I often use Spetacle, KDE's screenshot utility.
On the "full wayland" session both full-screen and rectangle screenshot works fine.
On the new "mixed wayland" session the rectangle screenshot doesn't work anymore for me.
Can anyone confirm this please?

Yeah, the current Spectacle release looks having issues with using the XCB backend on Wayland (and WHY it chose it, then?), so the bug described by you is present also here for the "mixed Wayland" - I confirm it, BUT there's a quick&dirty workaround:

executing it with the native Wayland backend, from a Konsole:
Code:

spectacle -platform wayland
IF you use this often, you can create also a custom desktop file for launching this.

ctrlaltca 04-26-2021 09:44 AM

Thank you LuckyCyborg.
It looks like Spectable should already be able to detect when running inside Xwayland: https://github.com/KDE/spectacle/com...9c78713946d8fe
Time to spin up gdb, I guess.. :)

LuckyCyborg 04-26-2021 09:48 AM

Quote:

Originally Posted by ctrlaltca (Post 6245104)
Thank you LuckyCyborg.
It looks like Spectable should already be able to detect when running inside Xwayland: https://github.com/KDE/spectacle/com...9c78713946d8fe
Time to spin up gdb, I guess.. :)

You can try to backport the patch, test it carefully and then eventually propose it to our BDFL to include it (temporary ?) on the main tree.

A similar thing I did myself with that KWin patch.

PS. You are sure that that patch was merged? Looks it being closed, not merged.

https://phabricator.kde.org/D11655

ctrlaltca 04-26-2021 10:12 AM

The patch is already included in spectacle, that correctly detects and uses the "wayland" backend.
It looks like the bug is caused by spectacle asking kwin to grab the x11 screen name instead of the correct wayland screen name.
I've reported a bug upstream https://bugs.kde.org/show_bug.cgi?id=436218
Now looking for a fix, hopefully it should be trivial since it already works for "full screen" grabs

LuckyCyborg 04-26-2021 10:46 AM

Quote:

Originally Posted by ctrlaltca (Post 6245116)
The patch is already included in spectacle, that correctly detects and uses the "wayland" backend.
It looks like the bug is caused by spectacle asking kwin to grab the x11 screen name instead of the correct wayland screen name.
I've reported a bug upstream https://bugs.kde.org/show_bug.cgi?id=436218
Now looking for a fix, hopefully it should be trivial since it already works for "full screen" grabs

I am quite sure that in the box where I did the test, the Spectacle prefers the XCB backend, instead of native Wayland.

With the current setup of Wayland/Plasm5 on Slackware, it's offered both XCB and native Wayland backends, leaving to application to chose which one uses. And Spectacle chosen XCB, as I verified on its about dialog.

ctrlaltca 04-26-2021 12:03 PM

Quote:

Originally Posted by LuckyCyborg (Post 6245129)
I am quite sure that in the box where I did the test, the Spectacle prefers the XCB backend, instead of native Wayland.

With the current setup of Wayland/Plasm5 on Slackware, it's offered both XCB and native Wayland backends, leaving to application to chose which one uses. And Spectacle chosen XCB, as I verified on its about dialog.

Yes, spectacle uses xcb for itself, but at runtime it chooses a backend to grab the screenshots.
This piece of code is what determines the backend to use to grab screenshots, and even if the current "Qt" platform being used is not wayland, it checks the value of the XDG_SESSION_TYPE env var to see if the wayland backend must be used.
Since under wayland an app can't grab the screen as it did with x11, the wayland backend is just a wrapper using dbus to access methods exported by the KWin compositor.
KWin exports a few methods: "screenshotFullscreen" works correctly (that's why spectacle is still able to grab a full screen), but "screenshotScreen" requires spectacle to specify a screen name.
Since spectacle is running under xwayland, it can only see one dummy screen named "XWAYLAND0", that's obviously not a correct screen name in wayland (eg. the correct value for my laptop would be "eDP-1").
Thus the error message: Error calling KWin DBus interface: "org.kde.kwin.Screenshot.Error.ScreenMissing" "Screen not found""

glorsplitz 04-26-2021 07:20 PM

Quote:

Originally Posted by gegechris99 (Post 6244914)
Translated from French, so labels may be different in your system.

"Configuration> Configure Dolphin> Display mode> tab "Details> Date Style"

merci!

I'd still like to see 24 hour time stamp.

OT - the screen locker I use shows date and time, I did find how to change that to 24 hour

chrisretusn 04-26-2021 08:34 PM

Quote:

Originally Posted by gegechris99 (Post 6244914)
Translated from French, so labels may be different in your system.

"Configuration> Configure Dolphin> Display mode> tab "Details> Date Style"

Well damn, should have spent a few seconds more looking. Thanks. Now I feel silly. :doh:

cwizardone 05-02-2021 03:55 AM

This last week's new features, bug fixes and performance improvements,

https://pointieststick.com/2021/04/3...-so-much-more/

Regnad Kcin 05-07-2021 06:34 PM

KDE5 is still my daily driver but I am not sure that the way that the pointy little schtick is directed is necessarily the road ahead. Although I could not imagine myself being satisfied to hang with 14.2 instead of -current --- I am not fully convinced that the "improvements" being made to KDE5 are necessarily making things better. At one time, I had a no-KDE slackware with fluxbox as my interface to the graphical world. I am a daily user of KDE5 now. Yes I am better off now but eventually remodeling eats up things that one liked... just sayin'


All times are GMT -5. The time now is 08:21 AM.