In Xubuntu 20.04, if a window won't close first time, it brings up a dialogue with words to the effect of "This application is taking a long time to close, do you want to kill the process?"
What is it actually doing? Is it something like sending 5 close requests with a 5s interval between them and if the process is still running it then offers the user to send a kill request?
Can the number of attempts or the interval be changed somewhere as a setting? Or is there any way to add "kill" to the right mouse menu?
Warning
According to
man xkill
I've tested in Xubuntu 20.04.3 and in Setting / Keyboard / Application Shortcuts, there is a default shortcut to xkill. It's CtrlAltEscape.
A "X" sign will appear on your screen. If you don't want to kill any Window/Software, right click. If you want to kill a process, it's a left click on the window or software's window. If you're working on important stuff in your session, you should not use
xkill
or with precautions. I use it sometimes and it is fast and work well. Sometimes I like to live dangerously. Use at your own risk.You can also open the Task Manager and Stop, Terminate or Kill a process.
Source for the following : Difference between stop, kill and terminate in Xfce task manager
From user Aloha on unix.stackexchange.