-
-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Couldn't connect to socket #5
Comments
cc @vaxerski this still happens |
how are you launching hyprpaper |
yes bug author of the pr that caused it is making a patch |
fixed |
I have the same error. Any fixes? |
it means that either hyprpaper is not running or something has gone really wrong |
I'm facing same issue
|
update Sorry |
I encountered the same problem, which was fixed after restarting hyprland. |
I have the same problem. and I am sure that I have added |
I have this bug, was anyone able to solve it? |
If you preload and apply the wallpaper through hyprpaper.conf it works but it doesn't with hyprctl. for some reason it fails to create hyprpaper socket when hyprpaper is executed through hyprctl. |
Make sure
|
Facing the same issue here after the recent hyprpaper update
|
Facing the same issue in Fedora 40 kde 6. After the new hyprpaper update🥲 |
Fixed it by removing this line in my config file and rebooting
i dont understand why it works tho.... |
There is no such line in my config. I added and yet it did nothing. I am running it in a live environment to test it before installing does that have |
if you updated hyprpaper, you need to update hyprland to 0.40.0 as well otherwise IPC won't work due to the socket location changes. |
I did sudo dnf install hyprland and it installed hyprpaper along with it as a dependency. |
fedora's hyprland in the repos is at 0.39.1. read what I said. |
Alright |
https://copr.fedorainfracloud.org/coprs/solopasha/hyprland/ you can use this copr repo |
Hi, same problem on Hyprland in NixOS. Couldn't connect to /tmp/hypr/_1715209695_887781441/.socket.sock. (3) I'm using swww instead of hyprpaper. |
the socket is starting at So when i send a hyprctl hyprpaper request it tries to find the socket at I have tried to create a symlink from the /tmp socket to the /run socket. But it did not work |
I still get this error $ hyprctl hyprpaper listloaded
Couldn't connect to /tmp/hypr/fe7b748eb668136dd0558b7c8279bfcd7ab4d759_1715365729/.hyprpaper.sock. (3) |
same error after last update |
Fixed it by adding this line in my config file and restarting hyprland.
|
Received: Couldn't connect to /tmp/hypr/af3a61a4e437fe728ef69c2739cae79e5a6254c0_1715670330/.hyprpaper.sock. (3) Looking into it |
Ran into the same - the issue is it's not creating the temp directory. Assuming I can workaround by mkdir `/tmp/hypr/$tmp_dir`
cd $XDG_RUNTIME_DIR/hypr/$tmp_dir
ln -s /tmp/hypr/$tmp_dir/.hyprpaper.sock . And then hyprctl can find hyprpaper's socket. But that's of course only temporary workaround. |
Ok, found root cause of my issue, and yours is likely the same/similar: |
The temporary workaround works perfectly. Already on 0.7.0 from the Arch AUR. Thanks for the help |
Implemented a script which sets one of two wallpapers depending on whether it's day or night. A SystemD timer runs a service every 30 minutes, which in turns runs the aforementioned script. Hyprland didn't seem to run the script successfully on startup. Going by the script's output in the SystemD service it seems that the Hyprpaper socket is not created in time for the script to run. This is remedied by adding a 3 second delay before the script runs, in which a greyscale version of the day wallpaper variant is shown in the meantime. Version 0.7.0 of Hyprpaper from the unstable branch of nixpkgs is being used since a change to socket location in hyprpaper means that IPC does not work on 0.6.0, the version currently in the stable branch. hyprwm/hyprpaper#5 (comment)
Well, I tried the said workarounds, but still got Couldn't connect to /run/user/1000/hypr/9e781040d9067c2711ec2e9f5b47b76ef70762b3_1719154863_1039262757/.hyprpaper.sock. (3)% |
oh and, i'm on arch btw x) |
The main problem was not being on the newest version. If you are on the new version check if the temporary directory is being made |
i'm on the latest version, the temporary dir is being made too :/ |
Probably an unrelated issue then. |
ah |
okay |
I was facing the same issue and adding the following to my hyprland.conf: worked flawlessly, thanks to #5 (comment) |
Okay, I'll try that |
|
Might be a separate issue. The fractional scaling is simply just how the image is being scaled. Should've been fixed. |
Yeah, thanks my image was smaller than screen resolution |
The text was updated successfully, but these errors were encountered: