ypingcn / BingWallpaper

update your wallpaper using BingWallpaper - 将当天的必应美图设置为桌面背景(打包先运行 config.sh 脚本)
GNU General Public License v3.0
37 stars 13 forks source link

setBing wallpaper doesn't load on LXQT 0.14.1 lubuntu desktop #16

Open gastontancredi opened 4 years ago

gastontancredi commented 4 years ago

[setBing wallpaper doesn't load ] ERROR

Something wrong Please check/adjust your setting or network connection, or just report this issue to maintainer with the following log.

sh: 1: xfconf-query: not found sh: 1: notify-send: not found

gastontancredi commented 4 years ago

@ypingcn could you please help me to fix this issue? Thank you!

ypingcn commented 4 years ago

try those command in your terminal

  1. sudo apt install libnotify-bin
  2. sudo apt install xfconf

it could be better if i know which version of lubuntu are you using

gastontancredi commented 4 years ago

It worked! Thank you so much @ypingcn For ref, my version is 0.14.1 Thank you

gastontancredi commented 4 years ago

It worked! Thank you so much @ypingcn For ref, my version is 0.14.1 Thank you

Hey it seems that it did not work as expected. The desktop changed but it doesn't change automatically, any idea about why it's happening? My desktop is LXQT and it is not listed

ypingcn commented 4 years ago

did you choose "autoupdate Bingwallpaper when tool startup" option ? it's a little confusing right now. you need to choose this option and proper interval at the same time.

option

LXQT is not yet supported now , but it looks like xfce works in your os.

gastontancredi commented 4 years ago

So, when I run your code the deskop changed but it is not changing any more. The autoupdate is set. The desktop is not xfce (I was confused) it is LXQT, it seems it is the reason it doesn't work. Do you know if there is any other option? I tryied Bingwall but it is not supported either. This is the only I miss from Ubuntu

gastontancredi commented 4 years ago

screen01

gastontancredi commented 4 years ago

screen

ypingcn commented 4 years ago

ok , I will download lubuntu 20.04 in my spare time to support LXQT.

ypingcn commented 4 years ago

@gastontancredi it occurred to me that "lastest" option in update means use the same image in bing.com, if you use "latest"+"every 60 minute", it will set the same image in one day.

lastest means "latest" a new version is on the way

gastontancredi commented 4 years ago

@ypingcn are you testing this in LxQT? I made this setup and restarted. However when I restart the screen doesn't change. I also executed setwallpaper after the reboot (because it does not open automatically) and went to Update but it didn't work either

gastontancredi commented 4 years ago

screen02

gastontancredi commented 4 years ago

screen03

ypingcn commented 4 years ago

can you paste what you get from https://www.bing.com/HPImageArchive.aspx?format=js&idx=0&n=1 ??

and i can't found any solution to update LXQT wallpaper in terminal .. "pcmanfm --set-wallpaper="/path/to/file"" doesn't work in my lubuntu 20.04 vm. it is a tricky issue :-(

gastontancredi commented 4 years ago

I get this: {"images":[{"startdate":"20200625","fullstartdate":"202006250700","enddate":"20200626","url":"/th?id=OHR.GorchFock_ROW9740450416_1920x1080.jpg&rf=LaDigue_1920x1080.jpg&pid=hp","urlbase":"/th?id=OHR.GorchFock_ROW9740450416","copyright":"German navy tall ship Gorch Fock in waters close to Reykjavík, Iceland (© DEEPOL by plainpicture/Henn Photography)","copyrightlink":"javascript:void(0)","title":"","quiz":"/search?q=Bing+homepage+quiz&filters=WQOskey:%22HPQuiz_20200625_GorchFock%22&FORM=HPQUIZ","wp":true,"hsh":"5fe866a56fff557a84ca5a13ef0beb8c","drk":1,"top":1,"bot":1,"hs":[]}],"tooltips":{"loading":"Loading...","previous":"Previous image","next":"Next image","walle":"This image is not available to download as wallpaper.","walls":"Download this image. Use of this image is restricted to wallpaper only."}}

Yes I understand, thanks for trying anyway. Let me know if you realize how to make it work, thank you! :)

ypingcn commented 4 years ago

can you try this command in your terminal ? it works in my vm . if it works in your os , i will make a new version in few days. [ /home/lubuntu/BingWallpaper/bingwallpaper.jpg ] should be replaced by the image path you want

pcmanfm-qt --set-wallpaper=/home/lubuntu/BingWallpaper/bingwallpaper.jpg --wallpaper-mode=fit

gastontancredi commented 4 years ago

The wallpaper changed into a black page

gastontancredi commented 4 years ago

screen04

ypingcn commented 4 years ago

oops... you should choose a image file in your computer first. --set-wallpaper should have a valid location.

pcmanfm-qt --set-wallpaper=[your-image-file-path] --wallpaper-mode=fit

gastontancredi commented 4 years ago

But I had an image with a valid location, look, I set one image and after I run the code it changes to black

gastontancredi commented 4 years ago

screen05 screen06 screen07

ypingcn commented 4 years ago

oops .. you still don't catch my point. you should run this command in your terminal.

pcmanfm-qt --set-wallpaper=/home/gaston/BingWallpaper/screen03.jpg --wallpaper-mode=fit

if the wallpaper change from black page to screen03.jpg, it works .

gastontancredi commented 4 years ago

yeah so I reboot and I see it worked but this is not the wallpaper of the day, is the image I had in my computer, how can I make it change to the wallpaper of the day?

ypingcn commented 4 years ago

a new version is on the way. I will notify you when new version is ready.

gastontancredi commented 4 years ago

Thank you!! :)

ypingcn commented 4 years ago

new version is available , visit https://github.com/ypingcn/BingWallpaper/releases/tag/1.0 to get deb package to update

gastontancredi commented 4 years ago

I've just installed this version and the desktop changed automatically by the desktop of the day. I will let you know if I see any bug in the upcoming days but so far so good! Thank you so much!

gastontancredi commented 4 years ago

@ypingcn Hey there is a weird bug here in my LxQt version. The wallpaper does not change automatically. It sends me a notification that it has been updated and downloaded in the respective folder. However what happens is that it downloads the same old wallpaper, duplicating it. I went to the folder that contains the wallpaper and I saw that it downloaded the same background twice with different dates. I deleted all of them and hit "update" and then, the new one was downloaded and updated accordinly

gastontancredi commented 4 years ago

screen 1- You can see I had the bridge wallpaper the day June 29th. This one is the bing wallpaper from June 28 so I expected it to be updated per the "lavender" wallpaper. I received a notification that the Lavender background was downloaded automatically, however the wallpaper remained the same

gastontancredi commented 4 years ago

screen01 I checked the folder Bingwallpaper and I observed the same old bridge wallpaper downloaded twice with different names. One of them has the date of today that should be lavender and not the bridge

gastontancredi commented 4 years ago

screen02 I deleted all the images from the folder and I hit update

gastontancredi commented 4 years ago

screen03 The lavender wallpaper was downloaded and updated properly. You can see that the name of the file has the date of today