Quote Originally Posted by Dredman
(i've checked this with other wallpaper on every desktop and it works but after remastering the default wallpaper is on every desktop )
I don't know the answer but perhaps I can give you some idead what to look for. The default background in live CD is /cdrom/KNOPPIX/background.* and /etc/init.d/knoppix-autoconfig is the file to modify. This is how my background section (sligtly modified) looks out:
Code:
# Search for custom background image for KDE/GNOME/X
for i in /cdrom/KNOPPIX/background /usr/share/wallpapers/knoppix; do
 for j in jpg png gif svgz; do
  BACKGROUND="$i.$j"
  [ -e "$BACKGROUND" ] && break 2
 done
done
The thing to do is hack that section. Somehow you should tell Knoppix to use only your own backgrounds and not the default /cdrom/KNOPPIX/background.*.

To make things little more compicated in chroot state your bacground image is carried from /etc/X11/Xsession.d/45xsession e.g.:
Code:
for i in jpg png gif svgz; do
BACKGROUND=/usr/local/lib/knoppix.$i
[ -e "$BACKGROUND" ] && break
done
There's also an other file in newer Knoppix releases (and e.g. in Kanotix) that has something to do with background and it is /etc/default/distro. This is what I have there:
Code:
# where is the default X wallpaper located
FLL_WALLPAPER="/usr/share/wallpapers/knoppix.jpg"
And in $HOME/.kde/share/config/kdesktoprc I have following:
Code:
[Desktop0]
BackgroundMode=VerticalGradient
BlendBalance=-14
BlendMode=NoBlending
ChangeInterval=60
Color1=30,114,160
Color2=192,192,192
CurrentWallpaper=0
LastChange=964531384
MinOptimizationDepth=1
MultiWallpaperMode=NoMulti
Pattern=
Program=
ReverseBlending=false
UseSHM=false
Wallpaper=/usr/share/wallpapers/default_blue.jpg
WallpaperList=
WallpaperMode=Scaled
Perhpaps defining more Desktop would help but in cdrom it seems not to works - ask you noticed also yourself.

One thing more. If you start your Knoppix from CD and try to change your background image in an other desktop in KDE, you get only that /cdrom/KNOPPIX/background.* image available (that being the default directory and image). So he default directory to choose wallpapers must be defined beforehand before remastering) somewhere so that you get a list of all wallpapers


-tapsa-