Puppy Theme Pack Manager (GTK,JWM,WALLPAPER,ICONS)
How does dpup sets walpaper?
Does it has /usr/sbin/set_bg? Or /usr/local/wallpaper/set_bg? I don't remember correctly the path, as i'm not @ a computer. Typing this in mobile. Usual puppies/quirky uses set_bg script. If this app doesn't work correctly in dpup, then desktopiconarrangement won;t work fully also in dpup
Does it has /usr/sbin/set_bg? Or /usr/local/wallpaper/set_bg? I don't remember correctly the path, as i'm not @ a computer. Typing this in mobile. Usual puppies/quirky uses set_bg script. If this app doesn't work correctly in dpup, then desktopiconarrangement won;t work fully also in dpup
running that code changes the wallpaper.
here is the set_bg code
here is the set_bg code
Code: Select all
#!/bin/sh
#100704 this was originally in Nathan's Wallpaper package.
# called by 'pwallpaper' wallpaper setter.
# Determine the path to this application.
CURDIR="`pwd`"
APPDIR=`dirname "$0"`
cd "${APPDIR}"
APPDIR="`pwd`"
cd "${CURDIR}"
if [ "$1" = "-clear" ];then
grep -v '<backdrop' $HOME/.config/rox.sourceforge.net/ROX-Filer/pb_default > $HOME/.config/wallpaper/pb
mv -f $HOME/.config/wallpaper/pb $HOME/.config/rox.sourceforge.net/ROX-Filer/pb_default
rox -p=default
echo "[none]" > $HOME/.config/wallpaper/bg_img
exit
fi
MODE="`cat $HOME/.config/wallpaper/backgroundmode`"
[ "$MODE" = "" ] && MODE="Scale"
[ "$MODE" = "Centred" ] && MODE="Centre"
[ "$MODE" = "Scaled" ] && MODE="Scale"
#w482 BK now have script that truncates an image vertically so that it has the right dimensions
#for a widescreen...
if [ "$MODE" = "Stretch" ];then
/usr/sbin/background_reshape ${1}
fi
rox --RPC << EOF
<?xml version="1.0"?>
<env:Envelope xmlns:env="http://www.w3.org/2001/12/soap-envelope">
<env:Body xmlns="http://rox.sourceforge.net/SOAP/ROX-Filer">
<SetBackdrop>
<Filename>$1</Filename>
<Style>$MODE</Style>
</SetBackdrop>
</env:Body>
</env:Envelope>
EOF
stemsee,
sorry, I can't duplicate your problem. And I can't see anything wrong. I tested this in tahrpup, precise, slacko, and quirky. and your set_bg script works too.
Last thing to do is to run this app from terminal.
then try to load one of the saved profile. then see any error message if any
thanks
sorry, I can't duplicate your problem. And I can't see anything wrong. I tested this in tahrpup, precise, slacko, and quirky. and your set_bg script works too.
Last thing to do is to run this app from terminal.
Code: Select all
desktopthemeprofile
thanks
Greeny theme pack
- Attachments
-
- Greeny.jpg
- (7.23 KiB) Downloaded 233 times
-
- Greeny.pet
- (168.72 KiB) Downloaded 300 times