How can I assign Ctrl+Alt+Delete to shutdown dialog?
In Oneiric Ctrl+Alt+Del key shortcut is for the logout dialog. How can I assign it to the shutdown dialog ?
shortcut-keys shutdown
add a comment |
In Oneiric Ctrl+Alt+Del key shortcut is for the logout dialog. How can I assign it to the shutdown dialog ?
shortcut-keys shutdown
see also: askubuntu.com/q/53263
– Takkat
Nov 4 '11 at 7:05
add a comment |
In Oneiric Ctrl+Alt+Del key shortcut is for the logout dialog. How can I assign it to the shutdown dialog ?
shortcut-keys shutdown
In Oneiric Ctrl+Alt+Del key shortcut is for the logout dialog. How can I assign it to the shutdown dialog ?
shortcut-keys shutdown
shortcut-keys shutdown
edited Jul 3 '18 at 6:21
muru
1
1
asked Nov 4 '11 at 4:11
sagarchalisesagarchalise
18.2k105974
18.2k105974
see also: askubuntu.com/q/53263
– Takkat
Nov 4 '11 at 7:05
add a comment |
see also: askubuntu.com/q/53263
– Takkat
Nov 4 '11 at 7:05
see also: askubuntu.com/q/53263
– Takkat
Nov 4 '11 at 7:05
see also: askubuntu.com/q/53263
– Takkat
Nov 4 '11 at 7:05
add a comment |
2 Answers
2
active
oldest
votes
This can be achieved by adding a new custom keyboard shortcut.
Disable the current Ctrl+Alt+Delete shortcut
Select the keyboard app from the dash
On the shortcut tab change the current shortcut of logout to something else, say Alt+Delete.
Then click on custom shortcut and add a new shortcut.
Enter Shutdown in the Name field and /usr/lib/indicator-session/gtk-logout-helper --shutdown
in the Command field.
Click apply and assign the shortcut (Ctrl+Alt+Delete)
the last step does not work... :( what is "assign" the shortcut ? :(
– user33462
Nov 11 '11 at 22:31
@marc: Just click on the shortcut(initially it will display as 'Disabled' just click on it). Then the text will change to 'New Shortcut ..' at that point type your new key combination as the shortcut. eg( CTRL + ALT + DELETE)
– aneeshep
Nov 13 '11 at 12:48
i declared it as "Custom Shortcuts" . it lists it as "Disabled". if i click on it and press "Apply" nothing happens... :(
– user33462
Nov 14 '11 at 3:37
@marc: click on word 'Disabled' . The text will change to 'New Shrotcut' when you click on it. Then type the new shortcut on your keyboard(ie: CTRL + ALT +DELETE) and press apply.
– aneeshep
Nov 16 '11 at 11:38
add a comment |
The "Command" field listed in @aneeshep's answer won't work for many installations. Test run the command in a terminal before assigning it to a keyboard shortcut to make sure it works as you expect. If it doesn't, try one of these alternatives:
Ubuntu 16.04 LTS
dbus-send --print-reply --dest="org.gnome.Shell" /org/gnome/SessionManager/EndSessionDialog org.gnome.SessionManager.EndSessionDialog.Open uint32:2 uint32:0 uint32:60 array:objpath:/org/gnome/SessionManager/EndSessionDialog
Ubuntu 18.04 LTS
gnome-session-quit --power-off
add a comment |
protected by RolandiXor♦ Nov 15 '11 at 13:50
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
This can be achieved by adding a new custom keyboard shortcut.
Disable the current Ctrl+Alt+Delete shortcut
Select the keyboard app from the dash
On the shortcut tab change the current shortcut of logout to something else, say Alt+Delete.
Then click on custom shortcut and add a new shortcut.
Enter Shutdown in the Name field and /usr/lib/indicator-session/gtk-logout-helper --shutdown
in the Command field.
Click apply and assign the shortcut (Ctrl+Alt+Delete)
the last step does not work... :( what is "assign" the shortcut ? :(
– user33462
Nov 11 '11 at 22:31
@marc: Just click on the shortcut(initially it will display as 'Disabled' just click on it). Then the text will change to 'New Shortcut ..' at that point type your new key combination as the shortcut. eg( CTRL + ALT + DELETE)
– aneeshep
Nov 13 '11 at 12:48
i declared it as "Custom Shortcuts" . it lists it as "Disabled". if i click on it and press "Apply" nothing happens... :(
– user33462
Nov 14 '11 at 3:37
@marc: click on word 'Disabled' . The text will change to 'New Shrotcut' when you click on it. Then type the new shortcut on your keyboard(ie: CTRL + ALT +DELETE) and press apply.
– aneeshep
Nov 16 '11 at 11:38
add a comment |
This can be achieved by adding a new custom keyboard shortcut.
Disable the current Ctrl+Alt+Delete shortcut
Select the keyboard app from the dash
On the shortcut tab change the current shortcut of logout to something else, say Alt+Delete.
Then click on custom shortcut and add a new shortcut.
Enter Shutdown in the Name field and /usr/lib/indicator-session/gtk-logout-helper --shutdown
in the Command field.
Click apply and assign the shortcut (Ctrl+Alt+Delete)
the last step does not work... :( what is "assign" the shortcut ? :(
– user33462
Nov 11 '11 at 22:31
@marc: Just click on the shortcut(initially it will display as 'Disabled' just click on it). Then the text will change to 'New Shortcut ..' at that point type your new key combination as the shortcut. eg( CTRL + ALT + DELETE)
– aneeshep
Nov 13 '11 at 12:48
i declared it as "Custom Shortcuts" . it lists it as "Disabled". if i click on it and press "Apply" nothing happens... :(
– user33462
Nov 14 '11 at 3:37
@marc: click on word 'Disabled' . The text will change to 'New Shrotcut' when you click on it. Then type the new shortcut on your keyboard(ie: CTRL + ALT +DELETE) and press apply.
– aneeshep
Nov 16 '11 at 11:38
add a comment |
This can be achieved by adding a new custom keyboard shortcut.
Disable the current Ctrl+Alt+Delete shortcut
Select the keyboard app from the dash
On the shortcut tab change the current shortcut of logout to something else, say Alt+Delete.
Then click on custom shortcut and add a new shortcut.
Enter Shutdown in the Name field and /usr/lib/indicator-session/gtk-logout-helper --shutdown
in the Command field.
Click apply and assign the shortcut (Ctrl+Alt+Delete)
This can be achieved by adding a new custom keyboard shortcut.
Disable the current Ctrl+Alt+Delete shortcut
Select the keyboard app from the dash
On the shortcut tab change the current shortcut of logout to something else, say Alt+Delete.
Then click on custom shortcut and add a new shortcut.
Enter Shutdown in the Name field and /usr/lib/indicator-session/gtk-logout-helper --shutdown
in the Command field.
Click apply and assign the shortcut (Ctrl+Alt+Delete)
edited Jul 3 '18 at 6:11
Zanna
51k13138242
51k13138242
answered Nov 4 '11 at 4:35
aneeshepaneeshep
22.4k115574
22.4k115574
the last step does not work... :( what is "assign" the shortcut ? :(
– user33462
Nov 11 '11 at 22:31
@marc: Just click on the shortcut(initially it will display as 'Disabled' just click on it). Then the text will change to 'New Shortcut ..' at that point type your new key combination as the shortcut. eg( CTRL + ALT + DELETE)
– aneeshep
Nov 13 '11 at 12:48
i declared it as "Custom Shortcuts" . it lists it as "Disabled". if i click on it and press "Apply" nothing happens... :(
– user33462
Nov 14 '11 at 3:37
@marc: click on word 'Disabled' . The text will change to 'New Shrotcut' when you click on it. Then type the new shortcut on your keyboard(ie: CTRL + ALT +DELETE) and press apply.
– aneeshep
Nov 16 '11 at 11:38
add a comment |
the last step does not work... :( what is "assign" the shortcut ? :(
– user33462
Nov 11 '11 at 22:31
@marc: Just click on the shortcut(initially it will display as 'Disabled' just click on it). Then the text will change to 'New Shortcut ..' at that point type your new key combination as the shortcut. eg( CTRL + ALT + DELETE)
– aneeshep
Nov 13 '11 at 12:48
i declared it as "Custom Shortcuts" . it lists it as "Disabled". if i click on it and press "Apply" nothing happens... :(
– user33462
Nov 14 '11 at 3:37
@marc: click on word 'Disabled' . The text will change to 'New Shrotcut' when you click on it. Then type the new shortcut on your keyboard(ie: CTRL + ALT +DELETE) and press apply.
– aneeshep
Nov 16 '11 at 11:38
the last step does not work... :( what is "assign" the shortcut ? :(
– user33462
Nov 11 '11 at 22:31
the last step does not work... :( what is "assign" the shortcut ? :(
– user33462
Nov 11 '11 at 22:31
@marc: Just click on the shortcut(initially it will display as 'Disabled' just click on it). Then the text will change to 'New Shortcut ..' at that point type your new key combination as the shortcut. eg( CTRL + ALT + DELETE)
– aneeshep
Nov 13 '11 at 12:48
@marc: Just click on the shortcut(initially it will display as 'Disabled' just click on it). Then the text will change to 'New Shortcut ..' at that point type your new key combination as the shortcut. eg( CTRL + ALT + DELETE)
– aneeshep
Nov 13 '11 at 12:48
i declared it as "Custom Shortcuts" . it lists it as "Disabled". if i click on it and press "Apply" nothing happens... :(
– user33462
Nov 14 '11 at 3:37
i declared it as "Custom Shortcuts" . it lists it as "Disabled". if i click on it and press "Apply" nothing happens... :(
– user33462
Nov 14 '11 at 3:37
@marc: click on word 'Disabled' . The text will change to 'New Shrotcut' when you click on it. Then type the new shortcut on your keyboard(ie: CTRL + ALT +DELETE) and press apply.
– aneeshep
Nov 16 '11 at 11:38
@marc: click on word 'Disabled' . The text will change to 'New Shrotcut' when you click on it. Then type the new shortcut on your keyboard(ie: CTRL + ALT +DELETE) and press apply.
– aneeshep
Nov 16 '11 at 11:38
add a comment |
The "Command" field listed in @aneeshep's answer won't work for many installations. Test run the command in a terminal before assigning it to a keyboard shortcut to make sure it works as you expect. If it doesn't, try one of these alternatives:
Ubuntu 16.04 LTS
dbus-send --print-reply --dest="org.gnome.Shell" /org/gnome/SessionManager/EndSessionDialog org.gnome.SessionManager.EndSessionDialog.Open uint32:2 uint32:0 uint32:60 array:objpath:/org/gnome/SessionManager/EndSessionDialog
Ubuntu 18.04 LTS
gnome-session-quit --power-off
add a comment |
The "Command" field listed in @aneeshep's answer won't work for many installations. Test run the command in a terminal before assigning it to a keyboard shortcut to make sure it works as you expect. If it doesn't, try one of these alternatives:
Ubuntu 16.04 LTS
dbus-send --print-reply --dest="org.gnome.Shell" /org/gnome/SessionManager/EndSessionDialog org.gnome.SessionManager.EndSessionDialog.Open uint32:2 uint32:0 uint32:60 array:objpath:/org/gnome/SessionManager/EndSessionDialog
Ubuntu 18.04 LTS
gnome-session-quit --power-off
add a comment |
The "Command" field listed in @aneeshep's answer won't work for many installations. Test run the command in a terminal before assigning it to a keyboard shortcut to make sure it works as you expect. If it doesn't, try one of these alternatives:
Ubuntu 16.04 LTS
dbus-send --print-reply --dest="org.gnome.Shell" /org/gnome/SessionManager/EndSessionDialog org.gnome.SessionManager.EndSessionDialog.Open uint32:2 uint32:0 uint32:60 array:objpath:/org/gnome/SessionManager/EndSessionDialog
Ubuntu 18.04 LTS
gnome-session-quit --power-off
The "Command" field listed in @aneeshep's answer won't work for many installations. Test run the command in a terminal before assigning it to a keyboard shortcut to make sure it works as you expect. If it doesn't, try one of these alternatives:
Ubuntu 16.04 LTS
dbus-send --print-reply --dest="org.gnome.Shell" /org/gnome/SessionManager/EndSessionDialog org.gnome.SessionManager.EndSessionDialog.Open uint32:2 uint32:0 uint32:60 array:objpath:/org/gnome/SessionManager/EndSessionDialog
Ubuntu 18.04 LTS
gnome-session-quit --power-off
edited 3 hours ago
Pablo Bianchi
2,94521535
2,94521535
answered Sep 4 '18 at 22:27
BoxbotBoxbot
73111
73111
add a comment |
add a comment |
protected by RolandiXor♦ Nov 15 '11 at 13:50
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
see also: askubuntu.com/q/53263
– Takkat
Nov 4 '11 at 7:05