Re: StarMenu with shell script

Leonard Treffery Nutley (leonutley@snowcrest.net)
Thu, 31 Jan 2002 14:02:52 -0800


er, maybe in your .bash_profile

or even better in

/GNUstep/Library/AfterStep/autoexec

where I find :

############################################################################

# Menus
#
#------------------------------------------------------------------------
# Execute on startup :
#

Function "InitFunction"
        Module  "I"     asetroot
        Module  "I"     Animate
        Module  "I"     Wharf
        Wait    "I"     Wharf

        Module  "I"     Pager 0 3
#       Module  "I"     WinList
#       Module  "I"     Banner
#       Wait    "I"     Banner

        Exec    "I"     sh ~/GNUstep/Library/AfterStep/.workspace_state &

#       Exec    "I"     xv -root -max -quit  ~/wixonlnLarge.jpg
#       Exec    "I"             mortroot
EndFunction
#------------------------------------------------------------------------

etc
which is ok as long as you're running afterstep.


OneWay wrote:

> >On Wed, 30 Jan 2002, OneWay wrote:
>
> >> Is someone able to tell me how can I do to have shell script command
> >> actif in StarMenu ?
> >> Example : in .../start/1_myscript
> >>     Exec "Myscript" exec myScript &
> >>
> >> myScript is useful in xterminal, but StartMenu item is inactif (in
> >> stipple style).
>
> >       Did you make sure to chmod a+x myScript ?
> >
> >       - Paul
>
> Sure, myScript is executable.
>
> OneWay
>
> _______________________________________________
> The AfterStep Window Manager for X User's Mailing List
> http://mail.afterstep.org/mailman/listinfo/as-users

_______________________________________________
The AfterStep Window Manager for X User's Mailing List
http://mail.afterstep.org/mailman/listinfo/as-users