[openbox] Executing an action on program exit
    Knute 
    knuteh at yahoo.com
       
    Sun Mar 23 11:55:19 EDT 2008
    
    
  
--- Knute <knuteh at yahoo.com> wrote:
> 
> Here's what I have so far:
> 
>  <item label="NWN">
>                         <action name="Execute">
>                                 <execute>
>                                                 /usr/bin/aumix -w88
>                                 </execute>
>                         </action>
>                         <action name="Execute">
>                                 <execute>
>                                                 pulseaudio -k
>                                 </execute>
>                         </action-->
>                         <action name="Execute">
>                                 <execute>
>                                                 /usr/games/bin/nwn
>                                 </execute>
>                         </action>
>                 </item>
> 
I just added this to the end after the nwn command:
 <action name="Execute">
                            <prompt>
                                "Restart PulseAudio??"
                            </prompt>
                            <execute>
                                pulseaudio
                            </execute>
                        </action>
Unfortunately it didn't work.
Not sure about the prompt option because there is no example on the
documentation page.  :)
Knute
      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
    
    
More information about the openbox
mailing list