On 22 Mar 2002 15:17:13 +0200, Tom Alsberg wrote:
>
> I would like to be able to have different background (root window)
> images for different pages in FVWM. I tried using FvwmPager, but it
> seems to only support either running an external program to set the
> background or just setting it to a solid color. Right now I am using
> solid colors, but I want to be able to have images as backgrounds. The
> problem with it invoking an external command for it is that it is
> rather slow... That command has to read the image from the disk every
> time, and it keeps no cache, and doesn't leave it in the shared
> memory... So whenever I switch pages, I have to wait a few seconds
> (approximately 3 to 6 seconds) before the background image is set, and
> until then I remain with the previous one. I tend to switch pages
> often, so this is a bit annoying, especially if I switch pages for
> just one second or so and it draws the image of that page only after
> I'm not already in it.
> With CTWM I could specify xpm files as backgrounds for the workspaces
> after the colors of the buttons in the Workspace Manager in the
> WorkSpaces section. With the same images I feel a significant lag with
> in FVWM, in CTWM they would draw immediately.
> I tried using the xpmroot command that comes with FVWM, xsri (which I
> downloaded from Red Hat and compiled), display from ImageMagick, and
> John Bradley's xv as the external commands to set the images, and I
> tried with XPM, and PNG, and JPEG formats, none was satisfactory fast.
>
> Any idea on what I can do to get it fast in FVWM?
FvwmBacker (at least in 2.4.x) supports many things using colorsets.
You may set a tiled pixmap, or 8 types of gradients as a background.
Of course, setting a big pixmap or complex gradient is always slow, but
this may be more optimal than calling external program to do the same.
Regards,
Mikhael.
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Fri Mar 22 2002 - 17:04:24 GMT