Re:The End of Windows
by Asooka on Monday April 02, 2018 @11:19AM
(#16735244)
One thing I love about debugging on Windows is that a program being debugged cannot grab the mouse and keyboard. On Linux, if you break a program that has a context menu open, you can say goodbye to your ability to interact with the PC.
[ Parent
| on HN ]
Re:The End of Windows
by badsectoracula on Monday April 02, 2018 @12:37PM
(#16736159)
You can enable grab break actions with "setxkbmap -option grab:break_actions" and then use Ctrl+Alt+KP/ to break grabs and Ctrl+Alt+KP* to kill the applications with grabs (note that setxkbmap -option blah adds the blah option to the existing options, which might interfere with this - you can try and reset all options by typing just "setxkbmap -option" without a parameter and then typing "setxkbmap -option grab:break_actions").
This is useful both when debugging and when dealing with broken applications.