This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Remove or hide fade-to-blur ?

Tags: None
(comma "," separated)
User avatar
abury
Registered Member
Posts
190
Karma
1
OS

Remove or hide fade-to-blur ?

Thu Jun 14, 2018 3:15 pm
Yes 5.13 is rather nice... I always look forward to seeing new or improved features
And as eye-catching a feature that the fade-to-blur transition may be--as seen on a lock or login screen--I'm not a fan of the blur
Up until this version... I invariably would switch off that kind of desktop effect
However I can't seem to find where to toggle this one
Help...?
Thanks!


KDE neon 5.20 - Plasma 5.20.5 - Frameworks 5.78 - Qt 5.15.2 - Kernel 5.4.0-65
User avatar
Rog131
Registered Member
Posts
828
Karma
10
abury wrote:Yes 5.13 is rather nice... I always look forward to seeing new or improved features
And as eye-catching a feature that the fade-to-blur transition may be--as seen on a lock or login screen--I'm not a fan of the blur
Up until this version... I invariably would switch off that kind of desktop effect
However I can't seem to find where to toggle this one
Help...?
Thanks!


The blur is is part of the Breeze SDDM theme 5.13 and plasma 5.13 Breeze Look and Feel theme. Lock screen is part of the LnF.
The blur is a fix to the bug reports:
- Bug 388622 - Breeze SDDM theme should be more readable when using wallpapers : https://bugs.kde.org/show_bug.cgi?id=388622
- Bug 369676 - White lockscreen text's readability depends on background : https://bugs.kde.org/show_bug.cgi?id=369676

You could use other themes or older Breeze themes

Image

Image

KDE Store: SDDM themes - https://store.kde.org/browse/cat/101/ord/latest/
KDE Store: Look And Feel themes - https://store.kde.org/browse/cat/121/ord/latest/

or you could edit the current themes QML code to disable the blur. Note the commits to the sddm/plasma theme: https://cgit.kde.org/plasma-workspace.g ... 0008a4c196
User avatar
MirceaKitsune
Registered Member
Posts
330
Karma
0
OS

Re: Remove or hide fade-to-blur ?

Fri Jun 15, 2018 6:17 pm
I urgently wish to know this as well! The effect looks absolutely hideous: I had my lock screen set to an image that I enjoyed seeing, now that's gone because it transforms into a horrible mixture of colors. Why? >:( Please let us know how to disable it, some of us absolutely do not want this!
User avatar
MirceaKitsune
Registered Member
Posts
330
Karma
0
OS

Re: Remove or hide fade-to-blur ?

Fri Jun 15, 2018 7:41 pm
Okay, I was being foolish and didn't properly check how this works: I had the impression the blur effect was permanent and will always be there. It only persists for roughly 5 seconds after you move the mouse, once you go idle the blur disappears and you can see the image as normal. Considering this, I'm a lot more okay with the feature now, even though I think it should be more customizable.
User avatar
abury
Registered Member
Posts
190
Karma
1
OS

Re: Remove or hide fade-to-blur ?

Fri Jun 15, 2018 7:58 pm
Rog131 wrote:The blur is a fix to the bug reports ...
You could use other themes or older Breeze themes ...
or you could edit the current themes QML code ...

Ok... big thanks for that input!
But as a non-dev-regular-user your info fits into that category of "umm... mmm... how do I do this stuff?"

For instance:
(a) I look at those commits to the sddm/plasma theme; kinda understand but it's more kinda like Greek--read geek--to me
IF I was to edit some QML code to hide or disable that blur... where is it?
I'm happy to sudoedit but specfics are really helpful!

(b) the links you provide for SDDM and Look-n-Feel themes, don't have the breeze theme versions that you have displayed in your images
There are four pages of SDDM options and three for look-n-feel but I didn't see your ones
My current SDDM theme says its version 0.1 but unlike your image, does not reflect the version 5.12.5

And really, if this was more about a bug fix, why isn't this simply another configuration added in System Settings?
You know... for those that this was never an issue in the first place or don't want to see blurry stuff...


KDE neon 5.20 - Plasma 5.20.5 - Frameworks 5.78 - Qt 5.15.2 - Kernel 5.4.0-65
User avatar
Rog131
Registered Member
Posts
828
Karma
10

Re: Remove or hide fade-to-blur ?

Sat Jun 16, 2018 9:09 am
Few words of testing

Testing SDDM themes

SDDM wiki: https://github.com/sddm/sddm/wiki/Theming or from the help

Code: Select all
$ sddm-greeter --help

Usage: sddm-greeter [options] [arguments]
Options:
  --theme <theme path>       Set greeter theme
  --socket <socket name>     Set socket name
  --test-mode                Start greeter in test mode


Plasma lock testing can be done with the kscreenlocker_greet

Where it is:
Code: Select all
whereis kscreenlocker_greet


With the Arch Linux:
Code: Select all
kscreenlocker_greet: /usr/lib/kscreenlocker_greet


Code: Select all
$ /usr/lib/kscreenlocker_greet --help
Usage: /usr/lib/kscreenlocker_greet [options]
Greeter for the KDE Plasma Workspaces Screen locker

Options:
  -h, --help                  Displays this help.
  -v, --version               Displays version information.
  --testing                   Starts the greeter in testing mode
  --theme <theme>             Starts the greeter with the selected theme (only
                              in Testing mode)
  --immediateLock             Lock immediately, ignoring any grace time etc.
  --graceTime <milliseconds>  Delay till the lock user interface gets shown in
                              milliseconds.
  --nolock                    Don't show any lock user interface.
  --switchuser                Default to the switch user UI.
  --ksldfd <fd>               File descriptor for connecting to ksld.
User avatar
Rog131
Registered Member
Posts
828
Karma
10

Re: Remove or hide fade-to-blur ?

Sat Jun 16, 2018 9:11 am
KDE Store

By my knowledge there are no old version of the SDDM or the LnF in the KDE Store but there are modified SDDM & LnF (Lock screens). These are based on the 5.12.

SDDM Theme Breeze Slider 2: https://store.kde.org/p/1222217/
- SDDM Theme Breeze Slider 2 is a modification of the standard Breeze (Plasma 5.12.3) theme.
- This sddm theme is using a semitransparent, configurable rectangle. The sddm texts are on the rectangle and moving out the sight when not needed.

Breeze Custom Lock Screen: https://store.kde.org/p/1216681/
- Breeze Custom Lock is a partial KDE Look and Feel theme. It only has the lock screen part.
- The Breeze Custom Lock has semitransparent sliding rectangle. The lock screen texts are on the rectangle and moving out the sight when not needed.
User avatar
Rog131
Registered Member
Posts
828
Karma
10

Re: Remove or hide fade-to-blur ?

Sat Jun 16, 2018 9:15 am
Old / LTS

Many distrubutions have arcives.

I'm using Arch so: https://wiki.archlinux.org/index.php/Arch_Linux_Archive

I'm not sure if the Neon have the old versions archived but the LTS is in the Neon archives: https://archive.neon.kde.org
-> plasma-workspace: https://archive.neon.kde.org/user/lts/p ... workspace/

Donwloading:
- sddm-theme-breeze_5.12.5-0+16.04+xenial+build33_amd64.deb
- plasma-workspace_5.12.5-0neon+16.04+xenial+build32_amd64.deb

Unpacking the packages - Right click -> extract... There are:

../plasma-workspace_5.12.5-0neon+16.04+xenial+build32_amd64/data/usr/share/plasma/look-and-feel/org.kde.breeze.desktop
and
../sddm-theme-breeze_5.12.5-0+16.04+xenial+build33_amd64/usr/share/sddm/themes/breeze


LnF

Renaiming the org.kde.breeze.desktop to org.kde.breeze5125.desktop
Editing the metadata.desktop:

Code: Select all
[Desktop Entry]
Comment=Breeze Desktop 5.12.5 Design Language by the KDE VDG
...
Name=Breeze 5.12.5
...
X-KDE-PluginInfo-Name=org.kde.breeze5125.desktop


Removing the metadata.json. Or if you want to. Do the same editing as with the metadata.desktop to the metadata.json.

Moving the org.kde.breeze5125.desktop to the $HOME/.local/share/plasma/look-and-feel/org.kde.breeze5125.desktop

Testing - working at here .

SDDM

Renaiming the breeze to breeze-5.12.5
Editing the metadata.desktop:

Code: Select all
[SddmGreeterTheme]
Name=Breeze 5.12.5
...
Description=Breeze Theme 5.12.5
...
Theme-Id=breeze5115


Moving the breeze-5.12.5 to the /usr/share/sddm/themes/breeze-5.12.5/

Testing - working at here.
User avatar
Rog131
Registered Member
Posts
828
Karma
10

Re: Remove or hide fade-to-blur ?

Sat Jun 16, 2018 9:27 am
Editing the Qml scripts

Hiding things - Visible: http://doc.qt.io/qt-5/qml-qtquick-item. ... sible-prop

visible : bool

This property holds whether the item is visible. By default this is true...



SDDM Breeze 5.13.0 main.qml has:

Code: Select all
        WallpaperFader {
            visible: config.type == "image"
            anchors.fill: parent
            state: loginScreenRoot.uiVisible ? "on" : "off"
            source: wallpaper
            mainStack: mainStack
            footer: footer
            clock: clock
        }


Changing
Code: Select all
visible: config.type == "image"

to
Code: Select all
visible: false


Image

Testing - no blur at here.


Plasma Breeze LnF theme /usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/LockScreenUi.qml has

Code: Select all
        WallpaperFader {
            anchors.fill: parent
            state: lockScreenRoot.uiVisible ? "on" : "off"
            source: wallpaper
            mainStack: mainStack
            footer: footer
            clock: clock
        }


Adding there a line:
Code: Select all
visible: false


Image

Testing - no blur at here.


Note !

The plasma updates will overwrite the changes. You could copy the edited SDDM & LnF themes under new name. Same as you were using old/LTS themes: viewtopic.php?f=289&p=399969#p399969

Plasma update schedule: https://community.kde.org/Schedules/Plasma_5
User avatar
Rog131
Registered Member
Posts
828
Karma
10

Re: Remove or hide fade-to-blur ?

Sat Jun 16, 2018 9:32 am
abury wrote:
...And really, if this was more about a bug fix, why isn't this simply another configuration added in System Settings?
You know... for those that this was never an issue in the first place or don't want to see blurry stuff...


You could file a bug report against the blurry stuff....
User avatar
Rog131
Registered Member
Posts
828
Karma
10

Re: Remove or hide fade-to-blur ?

Mon Jun 18, 2018 8:57 am
For the lock screen: Bug 395534 - Regression: The new Plasma 5.13 Lock Screen features should be optional - https://bugs.kde.org/show_bug.cgi?id=395534
shmerl
Registered Member
Posts
251
Karma
1
OS

Re: Remove or hide fade-to-blur ?

Sun Jul 01, 2018 6:35 pm
To clarify, is the blur in SDDM breeze theme supposed to be permanent, or also dynamic like in the lock screen? For me it's permanent which is annoying.
shmerl
Registered Member
Posts
251
Karma
1
OS

Re: Remove or hide fade-to-blur ?

Sun Jul 01, 2018 6:58 pm
OK, I figured. sddm has a very long timer set (60 seconds) before the blur goes away. In comparison, lock screen has that timer set at 10 seconds.
User avatar
tondafischer
Registered Member
Posts
5
Karma
0
OS

Re: Remove or hide fade-to-blur ?

Sun Jul 15, 2018 5:31 am
shmerl wrote:OK, I figured. sddm has a very long timer set (60 seconds) before the blur goes away. In comparison, lock screen has that timer set at 10 seconds.


I looked to the code, and you can configure it in the qml file /usr/share/sddm/themes/breeze/Main.qml

Code: Select all
        //takes one full minute for the ui to disappear
        Timer {
            id: fadeoutTimer
            running: true
            interval: 60000
            onTriggered: {
                if (!loginScreenRoot.blockUI) {
                    loginScreenRoot.uiVisible = false;
                }
            }
        }


for example change interval to 3s: interval: 3000

In same file, you can disable the blur effect by settings WallpaperFader attribute visible to false: visible: config.type == "image" => false (described top in this forum thread).
User avatar
Rog131
Registered Member
Posts
828
Karma
10


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot]