"Log out"-shortcut results in shutdown

I wanted to use the “Log out” shortcut in GNOME.
I looked up that the default shortcut is Ctrl + Alt + Delete.
But using this shortcut results in a “Power Off” prompt, which also shuts down the PC.

I tried to set the Logout shortcut to a different key combination.
This did not change the wrong shutdown behavior.

I also tried to overwrite the shortcut via gsettings:
gsettings set org.gnome.settings-daemon.plugins.media-keys logout "['<Super>F1']"
This also did not help.

Can someone try it on their system and validate my findings?
Is there a way to fix it?


My system information is listed below (all packages up to date):

OS: Fedora Linux 38 (Workstation Edition) x86_64 
Kernel: 6.3.8-200.fc38.x86_64 
Uptime: 3 hours, 26 mins 
Packages: 1966 (rpm), 46 (flatpak) 
Shell: zsh 5.9 
Resolution: 1920x1080, 1920x1080 
DE: GNOME 44.2 
WM: Mutter 
WM Theme: Adwaita 
Theme: adw-gtk3-dark [GTK2/3] 
Icons: Adwaita [GTK2/3] 
Terminal: gnome-terminal 
CPU: Intel i5-4690K (4) @ 3.900GHz 
GPU: NVIDIA GeForce GTX 970 
Memory: 2793MiB / 15922MiB

You can do a custom keyboard shortcut with the following command:
/usr/bin/gnome-session-quit --logout

Thank you. This works.

But this is a workaround and not a solution.
Should I submit a bug request to GNOME?

I confirm also that a “Power Off” dialog is produced instead of a “Log out” dialog. Either a bug or by design - many laptop users will more commonly be shutting down rather than logging out, so for these users, this is a good default.

Filing as a bug request or not? I guess not, because there is a group of people for which the current behavior is adapted. Moreover, it is easy enough to customize your system to how you wish it to work. Disable the current keyboard assignment:

gsettings set org.gnome.settings-daemon.plugins.media-keys logout "['']"

then define your custom shortcut as Joe suggested.