dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

[BUG] HAving to re-select my wallpaper at every boot

Open marcchabot opened this issue 7 months ago • 12 comments

Describe the bug

I get a empty wallpaper (solid black) at every boot. I set my wallpaper but if I reboot, I get that same black wallpaper.

Other funny thing, I start at every boot at Workspace 3 even tho I never use that 3rd workspace...

Steps to reproduce

  1. boot
  2. set wallpaper
  3. reboot

Expected behavior

The selected wallpaper should remains at every boot.

Screenshots

No response

Distribution

Other (please specify below)

If Other, specify

Cachy OS

Additional context

No response

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

marcchabot avatar May 08 '25 13:05 marcchabot

What's your wallpaper folder? What's your dotfiles version? Are you running hyprland with uwsm? Can you cd into .config/hypr/scripts and run ./wallpaper.sh

mylinuxforwork avatar May 08 '25 18:05 mylinuxforwork

Image

Wallpaper folder: ~/wallpaper dotfiles version 2.9.8.6 Hyprland running with uwsm

I ran ./wallpaper.sh, didn't get any specific error. I rebooted and got same thing again.

Just for your information, I didn't have this problem with 2.9.8.5, it's something new since last 48h.

marcchabot avatar May 08 '25 19:05 marcchabot

Can you start it without uwsm? But you can select and set a wallpaper with waypaper?

mylinuxforwork avatar May 08 '25 19:05 mylinuxforwork

I tried without uwsm with same result:

I can select and set wallpaper with waypaper but it will not be persistent and I'll get that black (empty) wallpaper after reboot.

EDIT: I also noticed that some program is "Not responding" from time to time. I get that message to of the screen. Not sure but I think it's hyprbar.

EDIT2: Went away for 30 minutes and came back with this (see picture). Mouse pointer moves, but menu is unresponsive.

Image

marcchabot avatar May 08 '25 19:05 marcchabot

Can you try to install the dotfiles again? Maybe this can solve the issue.

mylinuxforwork avatar May 11 '25 07:05 mylinuxforwork

Ok.

I did some more tests and with stock CachyOS with Hyprland I don't have any problem. But when adding ml4w dotfiles I'm experiencing that behavior.

I' pretty sure it is related how DPMS is being used vs my monitor (Dough Spectrum) being slow to wake up after going "power saving" mode.

I read that some LG monitors were having that same issue.

Is there a way I can fix this because I really want to stay with ml4w as a daily PC but right now, it's making my computer unusable.

Can I simply deactivate DPMS or hibernate mode (I'm not quite sure if it's only when getting out of hibernation or just everytime the monitor goes power saving mode...

Thanks for your precious help.

EDIT: I kinda "fixed" the problem by switching to HDMI instead of DISPLAYPORT. The monitor seems to react quicker and so far, hypride or hyprbar doesn't seem to crash like it was doing with DP.

marcchabot avatar May 12 '25 14:05 marcchabot

I'm having the same issue on arch linux, I also use displayport instead of HDMI, I tried running the wallpaper.sh file that was referenced above and got this result:

╭─ctrlescape  󰉖 ~/.config/hypr/scripts ╰─ ❯❯ ./wallpaper.sh :: Using Wallpaper Cache :: Setting wallpaper with source image :: Path of current wallpaper copied to /home/ctrlescape/.config/ml4w/cache/current_wallpaper basename: missing operand Try 'basename --help' for more information. :: Wallpaper Filename: :: Wallpaper effect is set to off :: Execute matugen with error: the following required arguments were not provided: <PATH>

Usage: matugen image --mode <MODE> <PATH>

For more information, try '--help'. 2025-05-13 12:54:49,549 (INFO) - (walcord) gettings colors... 2025-05-13 12:54:49,549 (INFO) - (walcord) getting colors from json (/home/ctrlescape/.cache/wal/colors.json)... Traceback (most recent call last): File "main.py", line 599, in File "main.py", line 538, in main File "main.py", line 128, in map_colors KeyError: 'special' [PYI-2957:ERROR] Failed to execute script 'main' due to unhandled exception! :: Dock disabled CSS reload success: true :: Generate new cached wallpaper blur-50x30-off- with blur 50x30 magick: no images found for operation -resize' at CLI arg 1 @ error/operation.c/CLIOption/5481. :: Resized to 75% magick: improper image header /home/ctrlescape/.config/ml4w/cache/blurred_wallpaper.png' @ error/png.c/ReadPNGImage/3947. :: Blurred :: Generate new cached wallpaper square- magick: no images found for operation `-extent' at CLI arg 3 @ error/operation.c/CLIOption/5481.

ImTheEscapePlan avatar May 13 '25 03:05 ImTheEscapePlan

@ImTheEscapePlan Can you try to run the script with ./wallpaper.sh $HOME/wallpaper/default.jpg or replace the path to an image with a local valid path.

mylinuxforwork avatar May 13 '25 11:05 mylinuxforwork

this is what I got, I forgot to mention that when I ran the script last time, that was after setting the wallpaper,

╭─ctrlescape  󰉖 ~/.config/hypr/scripts ╰─ ❯❯ ./wallpaper.sh $HOME/wallpaper/default.jpg :: Using Wallpaper Cache :: Setting wallpaper with source image /home/ctrlescape/wallpaper/default.jpg :: Path of current wallpaper copied to /home/ctrlescape/.config/ml4w/cache/current_wallpaper :: Wallpaper Filename: default.jpg :: Wallpaper effect is set to off :: Execute matugen with /home/ctrlescape/wallpaper/default.jpg ok 2025-05-15 09:12:34,720 (INFO) - (walcord) gettings colors... 2025-05-15 09:12:34,720 (INFO) - (walcord) getting colors from json (/home/ctrlescape/.cache/wal/colors.json)... Traceback (most recent call last): File "main.py", line 599, in File "main.py", line 538, in main File "main.py", line 128, in map_colors KeyError: 'special' [PYI-2584:ERROR] Failed to execute script 'main' due to unhandled exception! :: Dock disabled CSS reload success: true :: Use cached wallpaper blur-50x30-off-default.jpg :: Generate new cached wallpaper square-default.jpg

ImTheEscapePlan avatar May 14 '25 23:05 ImTheEscapePlan

this happens to me too, I just replaced default.jpg in /wallpapers

4fort avatar May 24 '25 16:05 4fort

i had an issue with wallpaper reverting back to the default one after setting my own. turns out it was because the file name had spaces in it. after removing the spaces it worked as expected

jaypgriff avatar May 25 '25 12:05 jaypgriff

I solved the issue see #938.

Affanmm avatar May 31 '25 04:05 Affanmm