Fails after image download on latest Ubuntu
punkscience opened this issue · 8 comments
sudo unsplash-wallpaper --user erondu --daily
Request https://source.unsplash.com/user/erondu/daily
Downloading [==============================================================================================================]
✔︎ Image saved to /home/darrylwright/wallpaper-photo-1434315137270-a8fa0f484639.jpg
✗ Command failed: which -a gsettings; which -a setroot; which -a pcmanfm; which -a feh; which -a nitrogen; which -a xfconf-query; which -a gconftool-2; which -a dcop; which -a dconf; which -a qdbus
FYI - I tried a different distribution tonight which is also based on Ubuntu -- Elementary OS. On this one I had to install 'splash' and it seems to execute fine with no arguments. But once I installed your app using npm, I get the following error running it with --daily
✔︎ Image saved to /home/darryl/wallpaper-photo-1541150137349-e6a35d77b8b3.jpg
✗ Command failed: which -a gsettings; which -a setroot; which -a pcmanfm; which -a feh; which -a nitrogen; which -a xfconf-query; which -a gconftool-2; which -a dcop; which -a dconf; which -a qdbus
I get the same result with "-r" and note that if I run it without any arguments, there is no error.
FYI. Find the place where is installed unsplash-wallpaper
and replace wallpaper dependency with its latest version.
This is what I did
$> cd $HOME/.nvm/versions/node/v10.15.3/lib/node_modules/unsplash-wallpaper/node_modules
$> mv wallpaper wallpaper.original
$> git clone https://github.com/sindresorhus/wallpaper/
It worked with Manjaro Gnome Edition :)
@xcafebabe's solution worked for me.
The path me for however was /usr/local/lib/node_modules/unsplash-wallpaper/node_modules
Running Ubuntu 18.04.4 LTS. Commenting in case it helps someone in the future
FYI. Find the place where is installed
unsplash-wallpaper
and replace wallpaper dependency with its latest version.$> cd $HOME/.nvm/versions/node/v10.15.3/lib/node_modules/unsplash-wallpaper/node_modules $> mv wallpaper wallpaper.original $> git clone https://github.com/sindresorhus/wallpaper/
I tried the code above on Ubuntu 20.04 (using /usr/local/lib/node_modules/unsplash-wallpaper/node_modules
) but had to run it with sudo. I ended up with this error.
✗EACCES: permission denied, open '/usr/local/lib/node_modules/unsplash-wallpaper/node_modules/wallpaper-photo-1596625820723-f0f481ff80be.jpg'
Still having the same problem, even after reverting to the home directory. It only downloads the wallpaper and won't apply it.
@xcafebabe tricks works for me on Ubuntu 20.04.1
FYI. Find the place where is installed
unsplash-wallpaper
and replace wallpaper dependency with its latest version.This is what I did
$> cd $HOME/.nvm/versions/node/v10.15.3/lib/node_modules/unsplash-wallpaper/node_modules $> mv wallpaper wallpaper.original $> git clone https://github.com/sindresorhus/wallpaper/
It worked with Manjaro Gnome Edition :)
It worked for me as well (Ubuntu 20.04). But of course your need to install wallpaper
first via npm:
sudo npm install wallpaper
Many thx. Cheers
FYI. Find the place where is installed
unsplash-wallpaper
and replace wallpaper dependency with its latest version.This is what I did
$> cd $HOME/.nvm/versions/node/v10.15.3/lib/node_modules/unsplash-wallpaper/node_modules $> mv wallpaper wallpaper.original $> git clone https://github.com/sindresorhus/wallpaper/
It worked with Manjaro Gnome Edition :)
It worked for me as well (Ubuntu 20.04). But of course your need to install wallpaper
first via npm:
sudo npm install wallpaper
FYI. Find the place where is installed
unsplash-wallpaper
and replace wallpaper dependency with its latest version.This is what I did
$> cd $HOME/.nvm/versions/node/v10.15.3/lib/node_modules/unsplash-wallpaper/node_modules $> mv wallpaper wallpaper.original $> git clone https://github.com/sindresorhus/wallpaper/
It worked with Manjaro Gnome Edition :)
It worked for me as well (Ubuntu 20.04). But of course your need to install wallpaper
first via npm:
sudo npm install wallpaper