Skip to content
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

No such file or directory killall? #8

Closed
dennkaii opened this issue Sep 24, 2023 · 9 comments
Closed

No such file or directory killall? #8

dennkaii opened this issue Sep 24, 2023 · 9 comments
Labels
bug Something isn't working

Comments

@dennkaii
Copy link

Error changing wallpaper: [Errno 2] No such file or directory: 'killall'

this shows every time i try to change the wallpaper with SWW backend(haven't treid others) currently on nixos and i got the package from the nixos unstable channel.

@anufrievroman
Copy link
Owner

anufrievroman commented Sep 24, 2023

Hmm, interesting. But, killall command exists in NixOS, right?

Does the output also say something like this?

Selected image path: .somefile.jpg
Wallpaper was set with swww

Also, this error kills the program, or it just outputs into the terminal and nothing happens?

I suppose I know how to bypass this problem, but would be interesting to find out the cause.

EDIT: I looked around, it seems that on NixOS you need to include even these small utilities in your build, here is some info.

@anufrievroman
Copy link
Owner

anufrievroman commented Sep 24, 2023

I pushed a quick fix to PyPi and to Github, so AUR and pipx versions should work. But I don't know who maintains the NixOS package, hopefully it will be updated soon too. Anyway, you just need to include killall in your path or something like this (it is usually available by default, but NixOS is a bit special).

@dennkaii
Copy link
Author

Also, this error kills the program, or it just outputs into the terminal and nothing happens?

Just output in the terminal

Already added the killall to global pkgs until someone fixes it

But know im getting
image

even having the swww backend on the gui tho when i try via terminal it kinda works
image

@anufrievroman
Copy link
Owner

Some errors are normal to have, like "There seems to already be...", but your first screenshot is puzzling. I'll try to reproduce it tomorrow, but I think it is related to your first bug report and is likely already fixed with version 1.9.2.

As a quick fix you can try to also install swaybg :D

Basically, what happens is that normally, before using swww program tries to kill swaybg because they don't play nicely together. My mistake was that I didn't put into try-except as I didn't imagine there could be a case when this can fail. Anyway, thank you for reporting!

@anufrievroman anufrievroman added the bug Something isn't working label Sep 24, 2023
@dennkaii
Copy link
Author

As a quick fix you can try to also install swaybg :D

will try it, tysm for the response

@anufrievroman
Copy link
Owner

I'll assume that this issue has been resolved

@Gigas002
Copy link

Gigas002 commented Dec 5, 2023

@anufrievroman Is this behavior planned to be changed? While installing swaybg indeed fixes the issue, I personally don't want to install the tool I won't ever use

@anufrievroman
Copy link
Owner

anufrievroman commented Dec 5, 2023

@anufrievroman Is this behavior planned to be changed? While installing swaybg indeed fixes the issue, I personally don't want to install the tool I won't ever use

Do you mean that you see the errors in the terminal? I mean, it is sort of normal behavior because it's GUI app, so I assumed the only time you'd see these errors is when you run it from the terminal for debugging, that's why it is quite generous with errors, but it isn't really an error, just information what it tried to do. So swaybg is not required at all. Or I don't understand the problem correctly?

@Gigas002
Copy link

Gigas002 commented Dec 5, 2023

I try to run the application with waypaper command in the terminal. The app runs, but as soon as I try to change the background image, I get the above error No such file or directory: swaybg, and the bg image isn't changes. Only if I install the swaybg the error is gone and the background image changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants