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 Oct 27 '14

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.

2 answers

Sort by » oldest newest most voted
1

answered Oct 27 '14

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

Comments

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

cee gravatar imagecee (Nov 19 '14)edit

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

Adaephon gravatar imageAdaephon (Jan 22 '15)edit

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

cee gravatar imagecee (Jan 23 '15)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 (Jan 23 '15)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 (Jan 23 '15)edit
0

answered Jan 22 '15

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.

Question Tools

Stats

Asked: Oct 27 '14

Seen: 408 times

Last updated: Jan 22