baduhai / Koi

Koi - Theme scheduling for the KDE Plasma Desktop
GNU Lesser General Public License v3.0
266 stars 20 forks source link

[BUG] Unable to set wallpaper via Koi. #93

Open RokeJulianLockhart opened 2 months ago

RokeJulianLockhart commented 2 months ago

Describe the bug

I'm unable to switch wallpapers via Koi:

https://github.com/user-attachments/assets/59bd2eaa-9e78-4a71-a662-8666e6bf8937

To Reproduce

Screenshot_20240918_165702

Expected behaviour

The wallpaper should switch when I switch themes via Koi's GUI.

Desktop

  1. Distro: https://packages.fedoraproject.org/pkgs/plasma-desktop/plasma-desktop/fedora-40-updates.html
  2. Koi Version: https://copr.fedorainfracloud.org/coprs/birkch/Koi/build/7677830/
  3. Plasma Version: https://koji.fedoraproject.org/koji/rpminfo?rpmID=39683231
  4. Installation method: https://copr.fedorainfracloud.org/coprs/birkch/Koi/repo/fedora-40/birkch-Koi-fedora-40.repo
MartinVonReichenberg commented 2 months ago

I, actually, have never tried switching wallpapers . . .

Let me see if it will work in my Fedora 40.

MartinVonReichenberg commented 1 month ago

@RokeJulianLockhart

Hello, I just installed Koi on Fedora 41 with latest updates from COPR and it DOES WORK for me . . .

Screenshot_20240928_225153 Screenshot_20240928_225234 Screenshot_20240928_225256

Try to delete your: ~/.config/koirc and start try Koi again . . .

RokeJulianLockhart commented 1 month ago

https://github.com/baduhai/Koi/issues/93#issuecomment-2380892680

@MartinVonReichenberg, unfortunately, it doesn't for me:

Reproduction

  1. My $HOME/.config/koirc is:

    ```desktop [General] current=Dark latitude=52.87 longitude=1.264 notify=2 schedule=2 schedule-type=sun start-hidden=2 [ColorScheme] dark=/usr/share/color-schemes/BreezeDark.colors enabled=true light=/usr/share/color-schemes/BreezeLight.colors [GTKTheme] dark=Breeze-Dark enabled=true light=Breeze [IconTheme] dark=breeze-dark enabled=true light=breeze [KvantumStyle] dark= enabled=false light= [PlasmaStyle] dark=breeze-dark enabled=true light=breeze-light [Wallpaper] dark=/home/RokeJulianLockhart/Pictures/KCMs/#2a2e32.PNG enabled=true light=/home/RokeJulianLockhart/Pictures/KCMs/#eff0f1.PNG ```
  2. I recreate my configuration:

    https://github.com/user-attachments/assets/e74f8b6f-106a-4399-bcea-0a510514a3d0

  3. My new $HOME/.config/koirc is:

    ```desktop [General] current=Dark latitude=52.87 longitude=1.264 notify=2 schedule=2 schedule-type=sun start-hidden=2 [ColorScheme] dark=/usr/share/color-schemes/BreezeDark.colors enabled=true light=/usr/share/color-schemes/BreezeLight.colors [GTKTheme] dark=Breeze-Dark enabled=true light=Breeze [IconTheme] dark=breeze-dark enabled=true light=breeze [KvantumStyle] dark= enabled=false light= [PlasmaStyle] dark=breeze-dark enabled=true light=breeze-light [Wallpaper] dark=/home/RokeJulianLockhart/Pictures/KCMs/#2a2e32.PNG enabled=true light=/home/RokeJulianLockhart/Pictures/KCMs/#eff0f1.PNG ```

    Its SHA512 hash is f34fcfb74828162d7150484e6e6e9ced9d98a1272e06d2aef276ebe976afa28b1a9df2b41d8cfb5b774327563b6a81f7858a700d3ecc2615b021e72a2c8e8ff6. Unfortunately, I didn't acquire the hash of the previous file, but ascertaining it from the duplicated content should be trivial. I haven't bothered.

Environment

If of use:

```log PS /home/RokeJulianLockhart> dnf info Koi Copr repo for Koi owned by birkch 7.3 kB/s | 1.5 kB 00:00 Copr repo for CoolerControl owned by codifryed 12 kB/s | 1.5 kB 00:00 Copr repo for CoolerControl owned by codifryed 14 kB/s | 2.8 kB 00:00 Copr repo for prismlauncher owned by g3tchoo 11 kB/s | 1.5 kB 00:00 Brave Browser 303 kB/s | 45 kB 00:00 Fedora 40 - x86_64 60 kB/s | 28 kB 00:00 Fedora 40 - x86_64 - Debug 56 kB/s | 22 kB 00:00 Fedora 40 - x86_64 - Updates 39 kB/s | 25 kB 00:00 Fedora 40 - x86_64 - Updates 2.4 MB/s | 4.3 MB 00:01 Fedora 40 - x86_64 - Updates - Debug 46 kB/s | 21 kB 00:00 Fedora 40 - x86_64 - Updates - Debug 124 kB/s | 102 kB 00:00 Fedora 40 - x86_64 - Test Updates 56 kB/s | 21 kB 00:00 Fedora 40 - x86_64 - Test Updates 2.0 MB/s | 2.5 MB 00:01 Fedora 40 - x86_64 - Test Updates Debug 29 kB/s | 21 kB 00:00 Fedora 40 - x86_64 - Test Updates Debug 137 kB/s | 125 kB 00:00 google-chrome 15 kB/s | 1.3 kB 00:00 google-chrome 12 kB/s | 1.8 kB 00:00 google-chrome-unstable 19 kB/s | 1.3 kB 00:00 google-chrome-unstable 12 kB/s | 1.8 kB 00:00 RPM Fusion for Fedora 40 - Free tainted 55 kB/s | 7.8 kB 00:00 RPM Fusion for Fedora 40 - Free tainted 5.3 kB/s | 2.0 kB 00:00 RPM Fusion for Fedora 40 - Free - Updates 56 kB/s | 6.6 kB 00:00 RPM Fusion for Fedora 40 - Free - Updates 183 kB/s | 76 kB 00:00 RPM Fusion for Fedora 40 - Nonfree - Steam 58 kB/s | 6.8 kB 00:00 RPM Fusion for Fedora 40 - Nonfree - Steam 3.8 kB/s | 1.5 kB 00:00 RPM Fusion for Fedora 40 - Nonfree - Steam Debug 52 kB/s | 8.3 kB 00:00 RPM Fusion for Fedora 40 - Nonfree - Steam Debug 717 B/s | 134 B 00:00 RPM Fusion for Fedora 40 - Nonfree - Updates 23 kB/s | 6.7 kB 00:00 RPM Fusion for Fedora 40 - Nonfree - Updates 124 kB/s | 26 kB 00:00 Visual Studio Code 16 kB/s | 1.5 kB 00:00 Visual Studio Code 483 kB/s | 89 kB 00:00 warpdotdev 8.5 kB/s | 1.5 kB 00:00 warpdotdev 5.2 kB/s | 1.5 kB 00:00 Installed Packages Name : Koi Version : 0.3.1 Release : 1.fc40 Architecture : x86_64 Size : 313 k Source : Koi-0.3.1-1.fc40.src.rpm Repository : @System From repo : copr:copr.fedorainfracloud.org:birkch:Koi Summary : Theme scheduling for the KDE Plasma Desktop URL : https://github.com/baduhai/Koi License : LGPL-3.0-only Description : Koi is a program designed to provide the KDE Plasma Desktop functionality to : automatically switch between light and dark themes. Available Packages Name : Koi Version : 0.3.1 Release : 1.fc40 Architecture : src Size : 230 k Source : None Repository : copr:copr.fedorainfracloud.org:birkch:Koi Summary : Theme scheduling for the KDE Plasma Desktop URL : https://github.com/baduhai/Koi License : LGPL-3.0-only Description : Koi is a program designed to provide the KDE Plasma Desktop functionality to : automatically switch between light and dark themes. PS /home/RokeJulianLockhart> ```