Re: how to kill an application by pointing at it?

Jim Rees <[email protected]>
Newsgroups gmane.comp.window-managers.openbox
Message-ID <[email protected]>
Anthony Thyssen wrote:

  If you want to do this type of thing with mouse selection, have a look
  at various window manager utilities such as....
  
     xkill  (a core X window utility)
     xclosedown  - send 'close' to everything, wait a bit, then 'kill'
                   everything.  This is a great tool to attempt to nicely
                   shutdown a X login (or not if launch from session
                   manager script) in a very clean way.
  
     xwit        - the classic window manager utility
     wmctrl      - an alternative can do some thinsg xwit can't (and visa versa)
     wmiface     - old KDE3 window manager utility
     xdotool     - active developed, ALL featured with some 'event handling'
                   window managed utility

Thanks, that was the answer I needed. I couldn't find any one tool that does
everything I want, but here are my two menu items for twm-style close and
kill:

  <item label="Close">
    <action name="Execute"><command>sh -c "wmctrl -i -c `xdotool selectwindow`"</command></action>
  </item>
  <item label="Kill!">
    <action name="Execute"><command>xkill</command></action>
  </item>
_______________________________________________
openbox mailing list
[email protected]
http://icculus.org/mailman/listinfo/openbox
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.