[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbox
Subject:    [openbox] how to kill an application by pointing at it?
From:       rees () umich ! edu (Jim Rees)
Date:       2014-01-10 3:51:43
Message-ID: 20140110035143.GA6563 () umich ! edu
[Download RAW message or body]

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>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic