hhannine / superpaper

A cross-platform multi monitor wallpaper manager.
MIT License
1.14k stars 46 forks source link

Handle lockscreen separately? #31

Open quezak opened 4 years ago

quezak commented 4 years ago

First of all, congrats for making this awesome package! I was looking for a solution to just properly span the wallpaper over my not-so-simple 3 monitor setup, never expected to find PPI corrections and even including bezels into the calculations! :smiley:

It looks really good after tweaking the offsets & bezel sizes [1], but there is one issue -- when showing the lock screen [2], only one of the monitors is active, and it shows what would be the wallpaper for all 3 monitors (blue-green solid color background added to clearly see the wallpaper boundaries). Would it be possible to setup a separate wallpaper for the lockscreen, or make the lockscreen use the config for just the center monitor?

[1] IMG_20200224_143551 (don't mind the glitch in the bottom-left part of the wallpaper, the file itself is broken)

[2] IMG_20200224_143604

Config:

quezak commented 4 years ago

alternatively, maybe there is a way to just activate all monitors for the lockscreen? I can't seem to find any config for the MATE lockscreen appearance, but I'll look more later

hhannine commented 4 years ago

Thanks, glad to hear it's mostly working well! :smile:

Some quick thoughts:

quezak commented 4 years ago

Yeah, that's what I've suspected, it's too dependent on the particular DE config. I've discovered it's even more complicated in my case, as the lockscreen doesn't always show on the center monitor, but rather on the one where the cursor located :sweat_smile: I'll try to look deeper into lockscreen config to find a workaround, lockscreens aren't visible too long so it's not that important.

hhannine commented 4 years ago

Yeah. One workaround could be to set the lock screen to use a different image from the desktop image so you wouldn't need to look at the ugly composite image. If there isn't an option to enable all of the monitors in the lock screen.

hhannine commented 4 years ago

A bit bad news for the future of this feature. I had one idea of how to try to implement muli-monitor wallpaper in the KDE lockscreen and unfortunately it does not work, which matches the claims I found online that it is not possible. ( I tried to replace the line

desktop.currentConfigGroup = Array("Wallpaper", "org.kde.image", "General");

with

desktop.currentConfigGroup = Array("Greeter", "Wallpaper", "org.kde.image", "General");

based on the answer here: https://forum.manjaro.org/t/set-lockscreen-background-in-kde-from-terminal/66539. ) So in other words, Superpaper could control the lock screen image that is the one and the same on every monitor but it cannot achieve spanning or multi image wallpapers. I'm going to have think about it if it's worth the effort to implement it with these sub-par possibilities.

Second bad news is that on Windows 10 the lockscreen wallpaper is for whatever reason stored in a binary file that has no API to edit, and trying to edit it yourself can cause the whole login screen to break. Pretty bad. I read that there are some third party tools to change the wallpaper but I'm not too excited. Maybe some optional plug-in feature at best, but probably no support for Windows either.

However, I did find out how to change the wallpaper on the 'gsettings' family of DEs: https://askubuntu.com/a/1181775, though this does not provide any control over the multi-monitor aspect of the lock screen.