To get the terms straight: Every Puppy I know by default boots into a "desktop" with several application- and drive icons and a background image. Technically this is not the desktop. It is a special ROX window, maximised, lowest layer and sticky. ROX calls it pinboard. This window is placed on JWM's desktop, which can have its own background, but users will never see JWM's desktop unless they remove the pinboard.
Let's start with the normal case:
Example 1: Set different ROX pinboard background for each virtual desktop
Example sets 4 virtual desktops in 1 row. Uses script /usr/local/apps/Wallpaper/set_bg and sets 4 images found in directory /usr/share/backgrounds/ of Slacko 5.6.
Step1: Edit /root/.jwm/jwmrc-personal and change
Code: Select all
<Desktops width="2" height="2"/>
Code: Select all
<Desktops width="4" height="1">
<Desktop><Background type="command">/usr/local/apps/Wallpaper/set_bg /usr/share/backgrounds/default.jpg</Background></Desktop>
<Desktop><Background type="command">/usr/local/apps/Wallpaper/set_bg /usr/share/backgrounds/puppylinux.jpg</Background></Desktop>
<Desktop><Background type="command">/usr/local/apps/Wallpaper/set_bg /usr/share/backgrounds/bike-outback.jpg</Background></Desktop>
<Desktop><Background type="command">/usr/local/apps/Wallpaper/set_bg /usr/share/backgrounds/world-fiveworld.png</Background></Desktop>
</Desktops>
Example 2: Set different JWM background for each virtual desktop
"Hardcore" users who remove the pinboard know how to do it and how to reset it, so I will not explain here. They have more options to set the background and can also use solid or gradient colors:
Code: Select all
<Desktops width="4" height="1">
<Desktop><Background type="solid">#870025</Background></Desktop>
<Desktop><Background type="gradient">#000000:#0000DD</Background></Desktop>
<Desktop><Background type="tile">/usr/share/icons/sys-info.png</Background></Desktop>
<Desktop><Background type="image">/usr/share/backgrounds/default.jpg</Background></Desktop>
</Desktops>