Re: how to draw the desktop background?
In article <email@example.com>,
NUPUL <firstname.lastname@example.org> wrote:[color=blue]
>I wish to write a program that set's the desktop background to the
>desired JPEG/PNG etc file....Is there a way to do this in X?
>xsetroot just sets the bg to the specified color combination....any
Sure. You need to use something other than xsetroot to set
a background image. Just about any image viewing program will
do. For example, if you have xv, you would do:
xv -root -max -q imagefilename
If you have feh, you would do:
feh --bg-scale imagefilename
If you have some other image viewing program, read its documentation.