-1

I tried to restart Ubuntu 22.04. In Windows, I used to use Ctrl + Alt + Delete, but if I use the same shortcut keys in Ubuntu, it just logs me out

cocomac
  • 3,394

2 Answers2

1

Without any alterations to do what you want you need to switch to a console 1st (control-alt-f1) and then control-alt-delete will do a reboot. No need to login.

The grafeful way to reboot is SysRq with the letters REISUB. See https://askubuntu.com/a/997223/15811 for more on that.

If you want control-alt-delete to do a reboot you need to open "keyboard shortcuts" and connect "reboot" to those keys. See keyboard-shortcuts-set on how to do that.

Rinzwind
  • 299,756
0

#1: Open Settings and go to Keyboard enter image description here

#2: Click on Keyboard shortcuts (it should be the option at the bottom)enter image description here and then scroll down until you see Custom shortcut (again, the option at the bottom), click it.

#3: Click add and name it, the command is reboot, set your desired shortcut such as Ctrl + Alt + Delete.enter image description here enter image description here

WARNING: CTRL+ALT+DELETE is already set for log out. If you use that shortcut then log out will not work unless you change it to something else.

Alejandro
  • 390
  • If this was useful please consider tagging this answer as the solution, it will help others and also me, thanks. – Alejandro Dec 14 '22 at 10:37