[openbox] Send kill signal to window

Anthony Thyssen A.Thyssen at griffith.edu.au
Wed May 26 20:45:43 EDT 2010


On Wed, 26 May 2010 11:35:07 -0400
Dana Jansens <dana at orodu.net> wrote:
| 
| On 2010-05-25, at 8:53 PM, Pedro Ribeiro wrote:
| 
| > Hi everybody,
| > 
| > back when I used GNOME/openbox as my session, if I clicked the close
| > button on a window and it would not shutdown, openbox would present me
| > a dialog asking if I wanted to send a kill signal to the window.
| > 
| > However now that I'm only running openbox-session, it does not present
| > the dialog anymore. I click it several times, wait a long time and
| > nothing happens.
| > 
| > Any idea why is this?
| 
| One of:
| - The app does not allow Openbox to check if it's responding (via window ping protocol)
| - The app hasn't stopped responding to Openbox
| 
| Dana
| _______________________________________________
| openbox mailing list
| openbox at icculus.org
| http://icculus.org/mailman/listinfo/openbox


I added the following items to the OpenBox "rc.xml" configuration,
to allow the forced killing of specific windows.

  <keyboard>
    <!-- .... -->  
    <keybind key="W-A-Delete">
      <action name="Execute">
        <command>xkill -button 1</command>
      </action>
    </keybind>
    <!-- .... -->  
  </keyboard>

  <mouse>
    <!-- .... -->  
    <context name="Close">
      <!-- Make right button on the close button do a forced kill.
           left button will then kill window, middle or right abort
      -->
      <mousebind button="Right" action="Click">
        <action name="Execute">
          <execute>xkill -button 1</execute>
        </action>
      </mousebind>
    </context>
    <!-- .... -->  
  </mouse>



  Anthony Thyssen ( System Programmer )    <A.Thyssen at griffith.edu.au>
 --------------------------------------------------------------------------
          Suddenly everything goes dark.
          You have fallen into a pit.
          It hits!  It hits!
          You hear the howling of the Banshee...   - Hack (The Game)
 --------------------------------------------------------------------------
   Anthony's Castle     http://www.cit.griffith.edu.au/~anthony/


More information about the openbox mailing list