Re: Restoring Background after Stopping Animations
Clark Ashton Smith (CAS@FutureRealms.com)
Fri, 16 Mar 2001 16:45:55 -0500
Success!
I had created a sub directory named "Backgrounds" at:
~/G/L/A/start/Backgrounds
and in it I put a .include file in it with:
keepname
include "~/GNUstep/Library/AfterStep/BackGrounds" Background
command Background
The actual background images are stored where the include
file pointed to.
Then I put in a command to stop animations and restore
background in that same directory that contained the .include
file and I called it b_StopAnimation. I put the following line
in the menu file:
Exec "Stop animation" exec sh -c "killall xlock && ascommand.pl 'Module \"\" asetroot'"
No matter what I did, that line would only temporarily stop animations and it would
load the xv program background. Weird. Anyway, moving that menu command-file to
another directory solved the problem. Apparently you can't have menu commands share
the same directory as a picture list. Who knew?
Thanks for your help on this one.
--
CAS
irb <irb@viopac.com>wrote:
>
> From: irb <irb@viopac.com>
>
> * Clark Ashton Smith (CAS@futurerealms.com) [010314 21:09]:
> > irb wrote:
> > >
> > I installed xv and tried your command bellow. It stops the animation
> > temporarily and loads a tile of the xv banner window instead of
> > my jpg.?
>
> hunh. did you compile afterstep yourself? the default is for asetroot to
> call xli -onroot -quiet; for some reason (perhaps you installed an rpm
> or deb?) it's calling xv instead.
>
> Unless I'm missing something.
>
> What version are you running? The latest stable release is 1.8.8.
>
> > Thanks for your help so far. That tail -f suggestion has helps
> > allot.
>
> No prob. Glad to help.
>
> > > Exec "Stop animations" exec sh -c "killall xlock ; killall xearth ;
> > > killall xfish ; killall xsnow ; ascommand.pl 'Module \"\" asetroot'"
> >
> > What is ascommand.pl. Perl script? Is it documented anywhere? Is
> > there a way to pass the image name I want asetroot to load?
>
> It (should) come with afterstep itself; it's a perl script to pass
> arguments to AS via the command line. ascommand.pl --help will give you
> the options it accepts.
>
> It isn't documented anywhere that I know of, 'cept the ChangeLog in the
> source distribution.... *grin*
>
> General Question: Is anyone actively maintaining AS documentation these
> days? Many files within AS still reference 1.7, and compiling
> libasConfig seems totally undocumented...
>
> /i.
> _______________________________________________
> The AfterStep Window Manager for X User's Mailing List
> http://mail.afterstep.org/mailman/listinfo/as-users
--
Lost Worlds
CAS
_______________________________________________
The AfterStep Window Manager for X User's Mailing List
http://mail.afterstep.org/mailman/listinfo/as-users