sc-controller
sc-controller copied to clipboard
Close Window menu
Some emulators does not have a way for exit in full-screen. Therefore the sc-controller menu is useful to close such applications.
The current "kill current window" with kill -9should be the last way, if the application is really not responding.
I created a new menu for closing screen, with different killing ways
- Send ALT+F4 to close window
- kill
- kill -9
[{
"action": "button(Keys.KEY_LEFTALT) and button(Keys.KEY_F4)",
"icon": "system/turn-off",
"id": "item1",
"name": "Close window"
}, {
"action": "name('Send Kill signal', shell('kill $(xdotool getwindowfocus getwindowpid)'))",
"icon": "weapons/pistol-gun",
"id": "item3",
"name": "Send Kill signal"
}, {
"action": "shell('kill -9 $(xdotool getwindowfocus getwindowpid)')",
"icon": "weapons/grenade",
"id": "item4",
"name": "Force kill"
}]
Good idea, sounds like something that could be toggle-able in Settings->Menu.