3 ms·
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 con
by Asooka 9y ago
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.
- badsectoracula 9y agoYou 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.
- majewsky 9y agoI believe this is one of things that Wayland fixes. (Unless, of course, neither your debugger and application support Wayland natively and they both end up running in XWayland.)