1

How to xkill an application by its id?

view story
linux-howto

http://askubuntu.com – I need to simulate the behavior of the keyboard shortcut (ALT+F4) using Terminal for a given application. If I open for example gedit and click ALT + F4 , then GEDIT will be xkilled. If I want to achieve same thing using Terminal, how should I proceed? The following command (in order to kill gedit process) works fine: kill $eval `pidof gedit` yet, the command xkill -id gedit prompts me to click on the application client window in order to xkill it, thing That I want to avoid from the beginning. The reason why I want to achieve this behavior is that some applications clients keep their (HowTos)