Bonjour, Argolance.
From my little experience, I believe there are actually three levels of backgrounds:
1 - the one set by xsetroot, which is taken care of by the /root/.xinitrc script
2 - an intermediate one, which is used by conky in normal window mode (Also stalonetray, maybe other programs.)
3 - the background used by ROX-Filer
I'll tell you how I get a independent background for the conky program; this may help you with your own research. (See example below.)
In the .xinitrc script I introduced these lines, at line 156 (in my version of .xinitrc, anyway). In any case, it believe it should come before the window manager choices.
Code: Select all
# Ajout par musher0, pour faire un fond pour conky, ce qui permet de le
# traiter comme une fenêtre ordinaire.
[ -f /usr/local/bin/xli ] && xli -onroot -fullscreen -gamma 3.3 /usr/share/backgrounds/rapides_inuksuak1204b-fonce.jpg
# /usr/share/backgrounds/sirio_pearl_oyster_shell_60-1280x1024-inv.png
# Autres choix :
### "`cat /root/.config/wallpaper/bg_img`"
### /usr/share/backgrounds/chocolat-xli.png
### /usr/share/backgrounds/444-bleu-3.png
### /usr/share/backgrounds/small_wallpapers/Stardust2-vert-2-128x.jpg &
sleep 1.5s
I'll add the pet for xli a little later, when I have retraced where I have put the pet on my drive!
For now a few explanations of the code above:
- we check if xli exists, BK style
- then we use parameters to process the chosen picture
=> -onroot means "use this picture as background"
=> -fullscreen means "enlarge the chosen picture to fit the screen". (Careful, here. xli also has the -fillscreen parameter, but it does produce satisfactory results for this purpose.)
=> -gamma 3.3 means "darken the image to gamma factor 3.3"
I have included a few other examples. One of note is the
"`cat /root/.config/wallpaper/bg_img`"
as in
Code: Select all
xli -onroot -fullscreen "`cat /root/.config/wallpaper/bg_img`"
This means that you can use the rox background with xli. The overall effect of this is one of pseudo-transparency. Since you have background levels 1) and 2) with the same picture, if level 3) (the rox background) is not on or is missing, level 2) will show the same picture anyway.
xli is a rich program, but it is a console program. See attached for a summary of xli commands.
The other examples indicated use small 32 pixels images that I have created and which are blown up to fill the screen. So I can have a "chocolatey" or a type of blue or a monochorme background if I wish instead of a real photograpĥ.
The "sleep" command at the bottom of this section of script is necessary (at least on my older computer) because xli take that long to process the picture.
I hope this helps.
Have a great day! / Je te souhaite une excellente journée !