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

Re: auto load root window image



ktb wrote:

> On Tue, Dec 05, 2000 at 11:27:21PM +0000, John Carline wrote:
>
> <cut>

>
> > If I understand you correctly, you're running fvwm and want to paint the root
> > window with your .jpg when you boot the window manager.
> >
> > I use fvwm95, but I suspect it's basically the same. If so, the best place to
> > put that command (and others like it) is in the ~/.fvwm/post.hook file. You'll
> > probably have to create it if it's for a single user, but there should also be a
> > system wide post.hook in the main fvwm directory (/etc/X11/fvwm ??).  xli and xv
> > both work  well this way, so I suspect that xsetbg will also.
> >
> >
>
>         Well that got me closer:)  The command -
>         /usr/X11R6/bin/xsetbg  -onroot -at 0,0 -border black img.jpeg
>         loads the image now in the root window but instead of placing
>         the image in the upper left hand corner it tiles the image.  If
>         I run the same command at the command line it places the image
>         in the corner as I like.  I'll go back to the manpage but if
>         anyone knows why loading the command from post.hook changes the
>         behavior of xsetbg let me know.
>         Thanks,
>         kent

That's strange Kent.

I seem to get exactly what you want - the jpg in the upper left corner on a black
background.

I tried both of the lines below in my post.hook file and they both worked the same.

Exec xsetbg -at 0,0 -border black <path to jpg>

Exec xli -onroot -quiet -at 0,0 -border black <path to jpg>

I'm afraid I don't have a clue why yours is tiling - sorry.

Good Luck
John

--

Powered by the Penguin





Reply to: