Shutdown shortcut: Difference between revisions
From WickyWiki
Created page with "Category:Ubuntu Category:Ubuntu Unity Category:201405 * Start 'Keyboard': <syntaxhighlight lang=bash> gnome-control-center keyboard </syntaxhighlight> * Go to th..." |
mNo edit summary |
||
| Line 4: | Line 4: | ||
* Start 'Keyboard': | * Start 'Keyboard': | ||
<blockquote> | |||
<syntaxhighlight lang=bash> | <syntaxhighlight lang=bash> | ||
gnome-control-center keyboard | gnome-control-center keyboard | ||
</syntaxhighlight> | </syntaxhighlight> | ||
</blockquote> | |||
* Go to the tab 'Shortcuts' and add a Custom Shortcut with '+' | * Go to the tab 'Shortcuts' and add a Custom Shortcut with '+' | ||
* Pick a name, for example 'Shutdown' | * Pick a name, for example 'Shutdown' | ||
* Configure the shutdown command (this command will ask confirmation first): | * Configure the shutdown command (this command will ask confirmation first): | ||
<blockquote> | |||
<syntaxhighlight lang=bash> | <syntaxhighlight lang=bash> | ||
/usr/lib/indicator-session/gtk-logout-helper --shutdown | /usr/lib/indicator-session/gtk-logout-helper --shutdown | ||
</syntaxhighlight> | </syntaxhighlight> | ||
</blockquote> | |||
* Configure a key combination, for example 'Ctrl+Alt+Delete' | * Configure a key combination, for example 'Ctrl+Alt+Delete' | ||
Revision as of 20:27, 13 May 2014
- Start 'Keyboard':
gnome-control-center keyboard
- Go to the tab 'Shortcuts' and add a Custom Shortcut with '+'
- Pick a name, for example 'Shutdown'
- Configure the shutdown command (this command will ask confirmation first):
/usr/lib/indicator-session/gtk-logout-helper --shutdown
- Configure a key combination, for example 'Ctrl+Alt+Delete'