Thursday, May 2, 2024
26
rated 0 times [  26] [ 0]  / answers: 1 / hits: 114370  / 2 Years ago, sun, august 7, 2022, 3:55:48

In Ubuntu 11.04, Ctrl-Alt-Del gives me a menu with shutdown, hibernate, suspend and restart, but no logout. Is there a key combination to logout of Ubuntu? Is there a way to provide one?


More From » shortcut-keys

 Answers
7

Creating custom keyboard shortcuts:


For 12.04 LTS and later:


To add a new shortcut open System Settings -> Keyboard and choose the Shortcuts tab:


enter image description here


Press the '+' sign on the bottom left to enter the name of your custom shortcut and the command you want to run (e.g. gnome-session-quit --logout --no-prompt). After having applied this you are able to select the line of your new shortcut. Then press the desired key combination. In case the key combination already exist we will have to delete this first.


For 14.04 LTS and later:


In a default Unity session the new logout dialog is presented needing another at least two keystrokes to select poweroff from the menu:


enter image description here


The old dialog with a 60 s timeout will only be displayed in a gnome-flashback session.


[#42795] Sunday, August 7, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ongdiligenc

Total Points: 452
Total Questions: 111
Total Answers: 107

Location: Ukraine
Member since Sun, Dec 13, 2020
3 Years ago
;