[openbox] how to kill an application by pointing at it?

Jim Rees rees at umich.edu
Wed Jan 8 18:27:00 EST 2014


Dana Jansens wrote:

  On Wed, Jan 8, 2014 at 5:26 PM, Diego Jose Torrealba Bravo <
  diegoxter1006 at gmail.com> wrote:
  
  > Xkill, think it comes with xorg-apps or xorg-utils. Just create an entry
  > in the root menu.
  >
  
  That one closes the connection.
  
  Alternatively:
  
  kill $(xprop|grep PID|cut -d= -f2)
  
  This one sends a SIGTERM.

I want the client to receive a ClientMessage event type, with
wm_delete_window data. I'm pretty sure this is what the Openbox "Close"
action does, but that operates on the window that currently has focus, and I
want to be able to select the window using the mouse pointer.

Xkill comes close, and in fact does one of the two things I want, but it
doesn't do the close event.


More information about the openbox mailing list