Re: 1.6.6: Pager dogs window mgr down badly

David Mihm (davemann@ionet.net)
Tue, 5 Jan 1999 18:42:17 -0600 (CST)


On Tue, 5 Jan 1999, Randall Hopper wrote:

! David Mihm:
!  |On Tue, 5 Jan 1999, Randall Hopper wrote:
!  |
!  |! Randall Hopper:
!  |!  |Now it works better with the entries in the Default "Pictures" menu.
!  |! 
!  |! However, I notice that I can't set a new root picture using the entries in
!  |! the "Pictures" menu unless Pager is running.  The root just doesn't change.
!  |! This seems like a bug.
!  |
!  |	The Pager is what handles the root bg images if selecting them
!  |from the menu.  This is how it works for the default settings.
!  |	If you don't use the Pager, then you need to go about creating a
!  |different method for setting the root bg image.  This could be
!  |accomplished my modifying all the fles in the backgrounds/ dir to actually
!  |invoke you favorite image loader (e.g. xv, xli, etc) with the image as an
!  |argument.
! 
! Ok.  So (just to make sure I understand) if a file in backgrounds/* looks
! to AfterStep like an image (XPM, JPEG, etc.) then it implicitly invokes the
! Pager-internal set-root.  Otherwise, if it looks like a command ("Exec
! ...") it tries an explicit command set-root.  Is this right?

	Let me clarify.  The files that are in the background/ dir are
actually the images.  AfterStep uses these images (names) and inserts them
into the menu as their respective name.  So when you pick them they in
turn call the pager bacause afterstep gets sent a image file.
	The following is just a educated guess. My suggestion was to mv
all these images from the backgound directory elsewhere, and create the
typical startmenu file type as a replacment for them.  For example:

$ echo "xv -root -quit /path/to/moved/elephants.jpg &"
			>~/G/L/A/backgrounds/elephants

Now an entry called "elephants" would appear in the menu under the
Pictures entry.  Selecting this would in turn run xv and load the image
for the bg.

	If you run Pager and try this, once you switch desktops/views,
you'll be surprised the images disappears. :)

HTH
+--------------------------------------------------------------------+
| d a v i d  @  m i h m                         reality.sys corrupt! |
| davemann-at-ionet-dot-net                    reboot universe(y,n)? |
| [www|ftp].the-site.dsis.net                             ICQ:906859 |
| [www|ftp].the-site.loonybin.net                                    |
| webmaster-at-afterstep-dot-org      ftpmaster-at-afterstep-dot-org |
+--------------------------------------------------------------------+
  Key fingerprint  = E4 90 15 ED E5 9F 18 8A B0 CC FF 68 61 36 4A 6F


--
   WWW:   http://www.afterstep.org/
   FTP:   ftp://ftp.afterstep.org/
   MAIL:  http://www.caldera.com/linuxcenter/forums/afterstep.html