Background image per home page shows in editor but mainly blank in home screen on pixel 11 pro

Hi all, I used to have a pixel 6 which ran my wallpaper just fine - each home page had a different image as background so it was clear which page you were on. Now I upgraded to the pixel 11 pro, I cannot get anything like that to work so I stripped it back to the minimum, and while it shows in the editor, once I save it the home screens don’t change from the image in the editor, and once the phone goes to sleep and restarts they are mainly blank, with the very occasional image showing. I have rechecked the battery optimization set to background unrestricted and the images are within the Kustom direcory which has been allowed under Main storage. I am at a loss so any help very gratefully accepted .

the background forumla is

$if(si(screen)=1,“/Kustom/backgrounds/P1a.jpg”,if(si(screen)=2, “/Kustom/backgrounds/P2a.jpg”,“/Kustom/backgrounds/P3a.jpg”))$

Hi all,

After looking at some other issues I tried using flows to capture the change of home page.

trigger = formula $si(screen)$ on change, then formula as above then set global variable which is the background. Same result, sometime the screen stutters as if it is reviewing the image but it doesn’t change. I do notice that KLWP often but not always asks to “fix the wallpaper not set”.

I tried but am unable to attach a copy of the wallpaper - please tell me I have stuffed something up or it looks as if KLWP is not longer workable.

You can try using globals instead of direct file paths to avoid scoped‑storage issues just create Bitmap Globals and pick the images through the Kustom picker. Then point your background layer to those globals.

Also, check how your screens behave on other launchers like Nova or Smart Launcher sometimes the default launcher doesn’t report screen changes correctly.

Thanks MaxP - still no luck, but it works every 7yh time as below.

Ok I tried that in 2 ways, 3 global variables of type bitmap chosen with the file picker. Then either a flow which sets a fourth gv according to the home page number

$if(si(screen)=1,gv(bgimg1),if(si(screen)=2, gv(bgimg2),gv(bgimg3)))$

That didn’t work any better, so I then tried a background formula directly setting the background bitmap. it seems much the same - mainly blank with the occasional image.

I am using Nova launcher, and trying the pixel launcher doesn’t help, but a bit of extensive testing shows that both launchers exhibit exactly the same weird behavior as below .

Most of the time the background is blank, but every 7th change of home screen page will display the correct image for that home screen. On the first display after waking up it takes 6 changes to display an image (again the correct image for whatever page you end up on)

You need to set your refresh rate settings to faster or 120hz, in default mode, KLWP refreshes and updates only one time per few seconds

I tried that - no change

Or maybe try file:///Kustom/backgrounds/[your file name] for all your values

TIPS • Simple Page Background Images

Use the following script to set the background image of the live wallpaper, based on the page/screen index.

/storage/emulated/0/Tips/P$si(screen)$a.png

NOTES

  • /storage/emulated/0/Tips/ ➞ custom file path, change it to your need
  • P$si(screen)$a.png ➞ filename with page/screen index

I hope this would help.

:smiling_face::+1:

I’m not 100% sure, but I suspect it might be due to the latest Android version and Pixel restrictions heavily limiting KLWP right now.