[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: xsetroot -bitmap???



On Thu, Jan 25, 2001 at 09:40:30AM -0800, Xucaen wrote:
> hi all..
> sorry about all the stipid questions....
> is there an xsetroot HOWTO out there?  :-)

Just the man page.

> ============================================
> xucaen@whitestar:~$ ls
> aim.xpm  new.bmp  test  test.xpm
> xucaen@whitestar:~$ xsetroot -bitmap ~/new.bmp
> xsetroot: bad bitmap format file:
> /home/xucaen/new.bmp
> xucaen@whitestar:~$
> ============================================
> I made new.bmp using gimp.
> any clues?

Yes.  '.bmp' is almost certainly a Windows bitmap.  That's not what X
wants.  (X bitmaps are typically named '.xbm', and are two-color.)

> I get "unable to open file" errors when I try to
> use xmp files.

If you want to set the background to a color image, use a color image
format (like jpeg, gif, xpm, whatever) and:

  xli image.jpeg

(xli is in the 'xli' package.)

-- 
CueCat decoder .signature by Larry Wall:
#!/usr/bin/perl -n
printf "Serial: %s Type: %s Code: %s\n", map { tr/a-zA-Z0-9+-/ -_/; $_ = unpack
'u', chr(32 + length()*3/4) . $_; s/\0+$//; $_ ^= "C" x length; } /\.([^.]+)/g; 



Reply to: