Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Setting directory as wallpaper doesn't work anymore #3

Open
alexcormier opened this issue Apr 8, 2017 · 3 comments
Open

Setting directory as wallpaper doesn't work anymore #3

alexcormier opened this issue Apr 8, 2017 · 3 comments
Assignees
Labels

Comments

@alexcormier
Copy link
Owner

It looks like a recent macOS update broke support for wallpaper directories. For example, running

setwp --interval=10 <directory>

results in a black background and the Dock application being unable to restart. (Running setwp again with a single wallpaper will allow the dock to restart.)

After some investigation, I found out that it's now required to set a current wallpaper as well as the directory. So this will require selecting a picture from the given directory and setting the Current preference (see pref.Current).

@fredericofernandes
Copy link

So it's not possible to set a directory as wallpaper source?

@alexcormier
Copy link
Owner Author

@fredericofernandes That's right. I'm working on the fix right now.

@alexcormier alexcormier self-assigned this Jul 10, 2017
alexcormier added a commit that referenced this issue Jul 11, 2017
There's a bug on recent macOS versions where using a directory as the
wallpaper source with setwp prevents the Dock application from
restarting after being killed (see issue #3). This commit partially
fixes it, in the sense that it makes it works most of the time but not
always.
@alexcormier
Copy link
Owner Author

After some investigation, I found out that it's now required to set a current wallpaper as well as the directory. So this will require selecting a picture from the given directory and setting the Current preference (see pref.Current).

I was wrong there; that doesn't always work. Not sure why... Anyhow, I made that partial fix and updated the Homebrew formula. More investigation will be needed for a complete fix, but for now just run the command again if it fails.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants