The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
0

Force Quit Non-Responsive Application

asked 2014-10-27 00:16:59 +0000

StazTHEBox gravatar image

Is it possible to take an application, that has stopped working (steam on wine for ex) and force quit it through i3? I know you can killall wineserver. But, that keeps the window open in i3.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2014-10-27 22:03:06 +0000

cee gravatar image

Have you tried xkill?
Binding it to a Shortcut did not work here, but maybe you can get it to work somehow.

bindsym $mod+Shift+w exec xkill

edit flag offensive delete link more

Comments

By the way does anybody know why the above command does not work?

cee gravatar imagecee ( 2014-11-19 20:22:44 +0000 )edit

How does it (`xkill`?) not work? I just tested to `xkill` an `xclock` and it worked just fine.

Adaephon gravatar imageAdaephon ( 2015-01-22 15:07:57 +0000 )edit

Hi Adaephon. xkill does work if executed from command-line, but not in the key bind.

cee gravatar imagecee ( 2015-01-23 09:12:39 +0000 )edit

If run from the key bind, `xkill` throws this error message: "xkill: unable to grab cursor". Searching on the Internet I found that this happens on other WMs but no solution.

Adaephon gravatar imageAdaephon ( 2015-01-23 10:34:16 +0000 )edit

Thanks for the info. Funny thing is, when started with `bindsym $mod+Shift+w exec "xterm -e xkill` it does work.

cee gravatar imagecee ( 2015-01-23 22:17:00 +0000 )edit
0

answered 2015-01-22 14:38:58 +0000

Try using a console and get the offending application's process ID and kill it that way and see if the window closes and i3 adjusts accordingly then. Alternatively, if another desktop manager is installed somewhere on the system like Gnome or KDE a process manager might simplify the task for those unfamiliar with and/or not attracted to the CLI way.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2014-10-27 00:16:59 +0000

Seen: 407 times

Last updated: Jan 22