Re: xdm background with qiv
But I also can see from xdpyinfo this:
root window id: 0x49
Should that be 0x23?
On 5/9/05, Andras Lorincz <andras.lorincz@gmail.com> wrote:
> I can see
>
> default visual id: 0x23
> visual:
> visual id: 0x23
> class: TrueColor
> depth: 24 planes
>
> when I run xdpyinfo. So that is not the problem. Any other idea?
>
> On 5/9/05, Almut Behrens <almut_behrens@gmx.net> wrote:
> > On Sun, May 08, 2005 at 03:00:57PM +0300, Andras Lorincz wrote:
> > > I'm trying to set the background for xdm by typing in Xsetup this:
> > >
> > > if [ -r /home/lorand/Wallpaper1024/download3.jpeg -a -x /usr/bin/qiv ]; then
> > > /usr/bin/qiv -z /home/lorand/Wallpaper1024/download3.jpeg
> > > else
> > > /usr/bin/X11/xsetroot -solid DarkBlue
> > > fi
> > >
> > > it doesn't work altough the condition in the if statement is true. If I execute
> > >
> > > /usr/bin/qiv -z /home/lorand/Wallpaper1024/download3.jpeg
> > >
> > > in a terminal in X, get this message:
> > >
> > > qiv: Your root window's visual is not the visual Imlib chose;
> > > qiv cannot set the background currently.
> > >
> > > What is the problem?
> >
> > Not sure, but it looks like Imlib (used by qiv) is requesting a
> > "visual class" that's not available for some reason...
> >
> > What's your X-server running at? These days (with modern graphics
> > cards) this is usually TrueColor, which should be fine to display jpgs.
> > But who knows... there's still a tiny chance it's not TrueColor, which
> > might explain the problem.
> > If unsure, look in the output of 'xdpyinfo'. You'll find a section
> > similar to (among lots of other stuff):
> >
> > ...
> > default visual id: 0x23
> > visual:
> > visual id: 0x23
> > class: TrueColor
> > depth: 24 planes
> > ...
> >
> > Don't know whether qiv would do automatic conversions (e.g. from
> > TrueColor to Indexed, etc.) -- apparently not...(?) Have you tried
> > other image viewers like xli, display (from ImageMagick), xv, ...?
> >
> > My personal favorite for setting desktop background images is good ol'
> > xli. It's lightweight and fast, and IIRC it also does conversions to
> > the target visual as required (can't verify right now, because of
> > running a TrueColor visual...).
> > The command would typically be something like
> >
> > $ xli -onroot your_image.jpg
> >
> > or, if the image is smaller than the whole screen:
> >
> > $ xli -onroot -center -border black your_image.jpg
> >
> > (It doesn't do automatic resizing, though -- but I'm sure you'll dig up
> > yet another viewer that does. Or use 'convert' from ImageMagick for
> > that task...)
> >
> > HTH,
> > Almut
> >
> > --
> > To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> >
> >
>
Reply to: