so I don't know why but when I type ALT+F4 Ubuntu firstly pass to TTY4 and when I go back to TTY7 to login in my previous screen, after entered, it'll close the window (that I was trying to close).
What I would to do is:
- Don't pass to any
TTY#(except with CTRL+ALT+F) - Only close the window that I'm trying to close;
What can I do? Thanks to everyone!
kbd_mode -uin a terminal... Can you try withkbd_mode -aand see if the behavior is the same? – Fluffy Jul 21 '16 at 13:46sudo update-gruband/or with a reboot. How this help. PS: Times ago, running the above command didn't help – Mar 08 '17 at 16:05sudo update-gruband rebooted afterwards, which solved the problem. Thanks :) – Shade Aug 08 '17 at 11:13sudo update-grub? – Gui Imamura Apr 23 '19 at 23:56