2
I am creating a JPEG file, converting to BMP then using with xsetroot
, but that is failing.
1) Make a JPEG file
$ convert -size 800x600 xc:transparent \
-font Bookman-DemiItalic -pointsize 50 \
-draw "text 25,90 'Please wait.'" -channel RGBA -blur 0x6 \
-fill steelblue -stroke white \
-draw "text 10,90 'Please wait.'" -antialias /var/tmp/wait.jpeg;
2) Convert the file from JPEG to bitmap BMP
$ convert /var/tmp/wait.jpeg /var/tmp/wait.bmp;
OR
$ mogrify -format wait.jpeg wait.another.bmp;
3) Use it
$ xsetroot -bitmap /var/tmp/wait.bmp
xsetroot: bad bitmap format file: /var/tmp/wait.bmp
OR
$ xsetroot -bitmap /var/tmp/wait.another.bmp;
xsetroot: bad bitmap format file: /var/tmp/wait.another.bmp
How do I set that BMP to xsetroot?
1
man xsetroot
mentionsbitmap
whose manpage suggests a simple monochrome bitmap format. I believe yourconvert
commands are creating a different bitmap format - the one commonly used by Microsoft. – RedGrittyBrick – 2012-04-23T08:06:39.570