linux-wallpaperengine icon indicating copy to clipboard operation
linux-wallpaperengine copied to clipboard

How do I make a wallpaper appear on my desktop?

Open Daltonu opened this issue 1 year ago • 1 comments

My compile path is /home/rmh/Application/repos/linux-wallpaperengine/build/build My assets file path is /home/rmh/Application/repos/linux-wallpaperengine/build/build/assets The wallpaper_engine path for my staem game is /home/rmh/snap/steam/common/.steam/steam/steamapps/common/wallpaper_engine/assets My wallpaper URL is https://steamcommunity.com/sharedfiles/filedetails/?id=2371185561

Step 1 I'm running ./linux-wallpaperengine 2371185561 in the terminal The following result is returned, and a pop-up window appears

rmh@rmh-Katana-GF66-11UC:~/Application/repos/linux-wallpaperengine/build/build$ ./linux-wallpaperengine 2371185561
[1202/225039.122815:WARNING:resource_util.cc(94)] Please customize CefSettings.root_cache_path for your application. Use of the default value may lead to unintended process singleton behavior.
Detected "scene.pkg" file at "/home/rmh/snap/steam/common/.local/share/Steam/steamapps/workshop/content/431960/2371185561/scene.pkg". Adding to list of searchable paths
No "gifscene.pkg" file found at "/home/rmh/snap/steam/common/.local/share/Steam/steamapps/workshop/content/431960/2371185561/gifscene.pkg". Defaulting to normal folder storage
WARNING: Shader patches directory cannot be found, this might make some backgrounds not work properly
Cannot find required key (directions) in json: Particle emitter must have direction specified
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "imageblending" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "audioprocessingoptions" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "audioprocessingoptions" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "audioprocessingoptions" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "imageblending" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "audioprocessingoptions" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "audioprocessingoptions" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "audioprocessingoptions" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "audioprocessingoptions" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "audioprocessingoptions" is unknown
[1202/225040.455604:WARNING:sandbox_linux.cc(400)] InitializeSandbox() called with multiple threads in process gpu-process.

截图 2024-12-02 22-43-57

Step 2 Now I want to change this window to my background image I run ./linux-wallpaperengine --screen-root HDMI-1 --screen-root DVI-D-1 2371185561 The following error message occurs

rmh@rmh-Katana-GF66-11UC:~/Application/repos/linux-wallpaperengine/build/build$ ./linux-wallpaperengine --screen-root HDMI-1 --screen-root DVI-D-1 2371185561
[1202/225411.340238:WARNING:resource_util.cc(94)] Please customize CefSettings.root_cache_path for your application. Use of the default value may lead to unintended process singleton behavior.
Detected "scene.pkg" file at "/home/rmh/snap/steam/common/.local/share/Steam/steamapps/workshop/content/431960/2371185561/scene.pkg". Adding to list of searchable paths
No "gifscene.pkg" file found at "/home/rmh/snap/steam/common/.local/share/Steam/steamapps/workshop/content/431960/2371185561/gifscene.pkg". Defaulting to normal folder storage
WARNING: Shader patches directory cannot be found, this might make some backgrounds not work properly
Cannot find required key (directions) in json: Particle emitter must have direction specified
Detected "scene.pkg" file at "/home/rmh/snap/steam/common/.local/share/Steam/steamapps/workshop/content/431960/2371185561/scene.pkg". Adding to list of searchable paths
No "gifscene.pkg" file found at "/home/rmh/snap/steam/common/.local/share/Steam/steamapps/workshop/content/431960/2371185561/gifscene.pkg". Defaulting to normal folder storage
WARNING: Shader patches directory cannot be found, this might make some backgrounds not work properly
Cannot find required key (directions) in json: Particle emitter must have direction specified
No outputs could be initialized, please check the parameters and try again
terminate called after throwing an instance of 'std::runtime_error'
 what():  No outputs could be initialized, please check the parameters and try again
已中止 (核心已转储)
rmh@rmh-Katana-GF66-11UC:~/Application/repos/linux-wallpaperengine/build/build$ [0100/000000.650361:WARNING:sandbox_linux.cc(400)] InitializeSandbox() called with multiple threads in process

Step 3 Check the display server protocol used echo $XDG_SESSION_TYPE Review the window manager process echo $WAYLAND_DISPLAY Check the desktop environment echo $XDG_CURRENT_DESKTOP Query display information xrandr

rmh@rmh-Katana-GF66-11UC:~/Application/repos/linux-wallpaperengine/build/build$ echo $XDG_SESSION_TYPE
x11
rmh@rmh-Katana-GF66-11UC:~/Application/repos/linux-wallpaperengine/build/build$ echo $WAYLAND_DISPLAY

rmh@rmh-Katana-GF66-11UC:~/Application/repos/linux-wallpaperengine/build/build$ echo $XDG_CURRENT_DESKTOP
ubuntu:GNOME
rmh@rmh-Katana-GF66-11UC:~/Application/repos/linux-wallpaperengine/build/build$ xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1920x1080    144.03*+ 144.03    60.00  
   1680x1050    144.03  
   1400x1050    144.03  
   1600x900     144.03  
   1280x1024    144.03  
   1400x900     144.03  
   1280x960     144.03  
   1440x810     144.03  
   1368x768     144.03  
   1280x800     144.03  
   1152x864     144.03  
   1280x720     144.03  
   1024x768     144.03  
   1024x768i    144.03  
   960x720      144.03  
   928x696      144.03  
   896x672      144.03  
   1024x576     144.03  
   960x600      144.03  
   832x624      144.03  
   960x540      144.03  
   800x600      144.03  
   840x525      144.03  
   864x486      144.03  
   700x525      144.03  
   800x450      144.03  
   640x512      144.03  
   700x450      144.03  
   640x480      144.03  
   720x405      144.03  
   720x400      144.03  
   684x384      144.03  
   640x400      144.03  
   576x432      144.03  
   640x360      144.03  
   640x350      144.03  
   512x384      144.03  
   512x384i     144.03  
   512x288      144.03  
   416x312      144.03  
   480x270      144.03  
   400x300      144.03  
   432x243      144.03  
   320x240      144.03  
   360x202      144.02  
   360x200      144.02  
   320x200      144.03  
   320x180      144.02  
   320x175      144.03  
HDMI-1 disconnected (normal left inverted right x axis y axis)

Step 4 So I changed the command to ./linux-wallpaperengine --screen-root eDP-1 2371185561 An error message is returned

rmh@rmh-Katana-GF66-11UC:~/Application/repos/linux-wallpaperengine/build/build$ ./linux-wallpaperengine --screen-root eDP-1 2371185561
[1202/230018.679176:WARNING:resource_util.cc(94)] Please customize CefSettings.root_cache_path for your application. Use of the default value may lead to unintended process singleton behavior.
Detected "scene.pkg" file at "/home/rmh/snap/steam/common/.local/share/Steam/steamapps/workshop/content/431960/2371185561/scene.pkg". Adding to list of searchable paths
No "gifscene.pkg" file found at "/home/rmh/snap/steam/common/.local/share/Steam/steamapps/workshop/content/431960/2371185561/gifscene.pkg". Defaulting to normal folder storage
WARNING: Shader patches directory cannot be found, this might make some backgrounds not work properly
Cannot find required key (directions) in json: Particle emitter must have direction specified
Found requested screen: eDP-1 -> 0x0:1920x1080
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "imageblending" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "audioprocessingoptions" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "audioprocessingoptions" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "audioprocessingoptions" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "imageblending" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "audioprocessingoptions" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "audioprocessingoptions" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "audioprocessingoptions" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "audioprocessingoptions" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "audioprocessingoptions" is unknown
[mp3float @ 0x5db3a842f4c0] Could not update timestamps for skipped samples.
[1202/230019.998401:WARNING:sandbox_linux.cc(400)] InitializeSandbox() called with multiple threads in process gpu-process.

Step 5 Use --assets-dir to specify the path and run the ./linux-wallpaperengine --screen-root HDMI-1 --screen-root DVI-D-1 --assets-dir "/home/rmh/Application/repos/linux-wallpaperengine/build/build/assets" 2371185561

rmh@rmh-Katana-GF66-11UC:~/Application/repos/linux-wallpaperengine/build/build$ ./linux-wallpaperengine --screen-root HDMI-1 --screen-root DVI-D-1 --assets-dir "/home/rmh/Application/repos/linux-wallpaperengine/build/build/assets" 2371185561
[1202/230323.232780:WARNING:resource_util.cc(94)] Please customize CefSettings.root_cache_path for your application. Use of the default value may lead to unintended process singleton behavior.
Using wallpaper engine's assets at "/home/rmh/Application/repos/linux-wallpaperengine/build/build/assets" based on --assets-dir parameter
Detected "scene.pkg" file at "/home/rmh/snap/steam/common/.local/share/Steam/steamapps/workshop/content/431960/2371185561/scene.pkg". Adding to list of searchable paths
No "gifscene.pkg" file found at "/home/rmh/snap/steam/common/.local/share/Steam/steamapps/workshop/content/431960/2371185561/gifscene.pkg". Defaulting to normal folder storage
WARNING: Shader patches directory cannot be found, this might make some backgrounds not work properly
Cannot find required key (directions) in json: Particle emitter must have direction specified
Detected "scene.pkg" file at "/home/rmh/snap/steam/common/.local/share/Steam/steamapps/workshop/content/431960/2371185561/scene.pkg". Adding to list of searchable paths
No "gifscene.pkg" file found at "/home/rmh/snap/steam/common/.local/share/Steam/steamapps/workshop/content/431960/2371185561/gifscene.pkg". Defaulting to normal folder storage
WARNING: Shader patches directory cannot be found, this might make some backgrounds not work properly
Cannot find required key (directions) in json: Particle emitter must have direction specified
No outputs could be initialized, please check the parameters and try again
terminate called after throwing an instance of 'std::runtime_error'
  what():  No outputs could be initialized, please check the parameters and try again
已中止 (核心已转储)
rmh@rmh-Katana-GF66-11UC:~/Application/repos/linux-wallpaperengine/build/build$ [0100/000000.543904:WARNING:sandbox_linux.cc(400)] InitializeSandbox() called with multiple threads in process gpu-process.

Same command ./linux-wallpaperengine --screen-root eDP-1 --assets-dir "/home/rmh/Application/repos/linux-wallpaperengine/build/build/assets" 2371185561 An error message is returned

rmh@rmh-Katana-GF66-11UC:~/Application/repos/linux-wallpaperengine/build/build$ ./linux-wallpaperengine --screen-root eDP-1 --assets-dir "/home/rmh/Application/repos/linux-wallpaperengine/build/build/assets" 2371185561
[1202/230454.500559:WARNING:resource_util.cc(94)] Please customize CefSettings.root_cache_path for your application. Use of the default value may lead to unintended process singleton behavior.
Using wallpaper engine's assets at "/home/rmh/Application/repos/linux-wallpaperengine/build/build/assets" based on --assets-dir parameter
Detected "scene.pkg" file at "/home/rmh/snap/steam/common/.local/share/Steam/steamapps/workshop/content/431960/2371185561/scene.pkg". Adding to list of searchable paths
No "gifscene.pkg" file found at "/home/rmh/snap/steam/common/.local/share/Steam/steamapps/workshop/content/431960/2371185561/gifscene.pkg". Defaulting to normal folder storage
WARNING: Shader patches directory cannot be found, this might make some backgrounds not work properly
Cannot find required key (directions) in json: Particle emitter must have direction specified
Found requested screen: eDP-1 -> 0x0:1920x1080
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "imageblending" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "audioprocessingoptions" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "audioprocessingoptions" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "audioprocessingoptions" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "imageblending" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "audioprocessingoptions" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "audioprocessingoptions" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "audioprocessingoptions" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "audioprocessingoptions" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "options" is unknown
Resorting to default value as type "audioprocessingoptions" is unknown
[mp3float @ 0x605419db9180] Could not update timestamps for skipped samples.
[1202/230455.819104:WARNING:sandbox_linux.cc(400)] InitializeSandbox() called with multiple threads in process gpu-process.

Step 6 How do I fix it, I really wish I could have a nice wallpaper on my desktop !

Daltonu avatar Dec 02 '24 15:12 Daltonu

### so have you achieve this? i meet the familer errors with you ,Step 1 show a picture successfully and log:[0215/185854.662522:WARNING:resource_util.cc(94)] Please customize CefSettings.root_cache_path for your application. Use of the default value may lead to unintended process singleton behavior. Detected "scene.pkg" file at "/home/.steam/steam/steamapps/workshop/content/431960/2347484937/scene.pkg". Adding to list of searchable paths No "gifscene.pkg" file found at "/home/.steam/steam/steamapps/workshop/content/431960/2347484937/gifscene.pkg". Defaulting to normal folder storage WARNING: Shader patches directory cannot be found, this might make some backgrounds not work properly Cannot find required key (max) in json: Colorrandom initializer must have a maximum value libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null) Resorting to default value as type "options" is unknown Replaced workshop/2084198056/effects/Simple_Audio_Bars.frag with compat "zcompat/scene/shaders/2084198056/Simple_Audio_Bars.frag" Resorting to default value as type "options" is unknown Resorting to default value as type "options" is unknown Resorting to default value as type "imageblending" is unknown Resorting to default value as type "options" is unknown Resorting to default value as type "options" is unknown Replaced workshop/2084198056/effects/Simple_Audio_Bars.vert with compat "zcompat/scene/shaders/2084198056/Simple_Audio_Bars.vert" Shutting down CEF [mp3float @ 0x55d1431156c0] Could not update timestamps for skipped samples.

and i run step4 like you,nothing happened to my background except log as : ~/Document_Doc/wallpaper engine/linux-wallpaperengine/build/build$ ./linux-wallpaperengine --screen-root DP-2 2347484937

[0215/190046.200617:WARNING:resource_util.cc(94)] Please customize CefSettings.root_cache_path for your application. Use of the default value may lead to unintended process singleton behavior. Detected "scene.pkg" file at "/home/.steam/steam/steamapps/workshop/content/431960/2347484937/scene.pkg". Adding to list of searchable paths No "gifscene.pkg" file found at "/home/.steam/steam/steamapps/workshop/content/431960/2347484937/gifscene.pkg". Defaulting to normal folder storage WARNING: Shader patches directory cannot be found, this might make some backgrounds not work properly Cannot find required key (max) in json: Colorrandom initializer must have a maximum value libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null) Found requested screen: DP-2 -> 0x0:2560x1440 Resorting to default value as type "options" is unknown Replaced workshop/2084198056/effects/Simple_Audio_Bars.frag with compat "zcompat/scene/shaders/2084198056/Simple_Audio_Bars.frag" Resorting to default value as type "options" is unknown Resorting to default value as type "options" is unknown Resorting to default value as type "imageblending" is unknown Resorting to default value as type "options" is unknown Resorting to default value as type "options" is unknown Replaced workshop/2084198056/effects/Simple_Audio_Bars.vert with compat "zcompat/scene/shaders/2084198056/Simple_Audio_Bars.vert" Shutting down CEF [mp3float @ 0x5647be3af240] Could not update timestamps for skipped samples.

Lzf2640487101 avatar Feb 15 '25 11:02 Lzf2640487101