Fastest way to shutdown Ubuntu Mate 18.10shutdown in specific way, if no-one uses computerHow can I allow unprivileged users to shutdown from the panel? (no sudo)Weird lines are appearing on shut down12.10 shutdown not workingTimed Shutdown - shutdown after 30 minutesApt wants to remove ubuntu-mate-desktopHow to configure password requirement for shutdown from unityHow to add shutdown option to the Ubuntu lock screen?Ubuntu is not sending SIGTERM on shutdownWhy Ubuntu LTS 16.04 suddenly shutdown?
Does rpcpassword need to be non-obvious in bitcoind?
What is the maximum viable speed for a projectile within earth's atmosphere?
Other than good shoes and a stick, what are some ways to preserve your knees on long hikes?
Which version of the Pigeonhole principle is correct? One is far stronger than the other
Is there an in-universe reason Harry says this or is this simply a Rowling mistake?
Why does Canada require a minimum rate of climb for ultralights of 300 ft/min?
Delete empty subfolders, keep parent folder
Can a business put a specific cancel-by date into a contract?
My passport was stamped with an exit stamp while transiting to another Schengen country via Turkey. Was this a mistake?
Cemented carbide swords - worth it?
Why are two-stroke engines nearly unheard of in aviation?
Does Mage Hand give away the caster's position?
How could artificial intelligence harm us?
Minimum number of lines to draw 111 squares
Plot irregular circle in latex
Plausibility and performance of a composite longbow
What to do as a player when ranger animal companion dies
What can I actually do with a high credit score?
Which block cipher parameters should be kept secret?
What’s a “dissipated” garment supposed to be?
Can a Druid Wild Shaped as a horse use Horseshoes of Speed?
How do rulers get rich from war?
What are the end bytes of *.docx file format
Is this adjustment to the Lucky feat underpowered?
Fastest way to shutdown Ubuntu Mate 18.10
shutdown in specific way, if no-one uses computerHow can I allow unprivileged users to shutdown from the panel? (no sudo)Weird lines are appearing on shut down12.10 shutdown not workingTimed Shutdown - shutdown after 30 minutesApt wants to remove ubuntu-mate-desktopHow to configure password requirement for shutdown from unityHow to add shutdown option to the Ubuntu lock screen?Ubuntu is not sending SIGTERM on shutdownWhy Ubuntu LTS 16.04 suddenly shutdown?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I'm looking for a "one click" way to shutdown Ubuntu Mate 18.10. I don't want to:
- Click the Gear / Settings / ??? whatever you call it
- Select Shutdown
- Click on Shutdown because that's REALLY what I want to do.
I'm pretty confident that when I want to shutdown my dang computer, I want to shut it down. I don't need to click 3 times. Just 1 click and get up and leave my desk.
Can someone tell me if there's a way to get a 1 click shutdown?
shutdown mate
add a comment
|
I'm looking for a "one click" way to shutdown Ubuntu Mate 18.10. I don't want to:
- Click the Gear / Settings / ??? whatever you call it
- Select Shutdown
- Click on Shutdown because that's REALLY what I want to do.
I'm pretty confident that when I want to shutdown my dang computer, I want to shut it down. I don't need to click 3 times. Just 1 click and get up and leave my desk.
Can someone tell me if there's a way to get a 1 click shutdown?
shutdown mate
1
Is the power button an option or must it be done using the mouse?
– Melebius
Mar 28 at 12:58
2
absolute fastest would beSysRq+o
, though safer would beSysRq+s, u, o
– Aaron F
Mar 28 at 15:29
1
Pulling the cord isn't an option right?
– zero298
Mar 28 at 22:18
1
Power button you have to hold down until the computer does a hard shutdown which I don't want to do either of those. I have no idea what SysRq+o even is and, um, pulling the cord on a laptop wouldn't give the desired results :)
– Jeff
Mar 29 at 23:20
add a comment
|
I'm looking for a "one click" way to shutdown Ubuntu Mate 18.10. I don't want to:
- Click the Gear / Settings / ??? whatever you call it
- Select Shutdown
- Click on Shutdown because that's REALLY what I want to do.
I'm pretty confident that when I want to shutdown my dang computer, I want to shut it down. I don't need to click 3 times. Just 1 click and get up and leave my desk.
Can someone tell me if there's a way to get a 1 click shutdown?
shutdown mate
I'm looking for a "one click" way to shutdown Ubuntu Mate 18.10. I don't want to:
- Click the Gear / Settings / ??? whatever you call it
- Select Shutdown
- Click on Shutdown because that's REALLY what I want to do.
I'm pretty confident that when I want to shutdown my dang computer, I want to shut it down. I don't need to click 3 times. Just 1 click and get up and leave my desk.
Can someone tell me if there's a way to get a 1 click shutdown?
shutdown mate
shutdown mate
asked Mar 28 at 12:50
JeffJeff
384 bronze badges
384 bronze badges
1
Is the power button an option or must it be done using the mouse?
– Melebius
Mar 28 at 12:58
2
absolute fastest would beSysRq+o
, though safer would beSysRq+s, u, o
– Aaron F
Mar 28 at 15:29
1
Pulling the cord isn't an option right?
– zero298
Mar 28 at 22:18
1
Power button you have to hold down until the computer does a hard shutdown which I don't want to do either of those. I have no idea what SysRq+o even is and, um, pulling the cord on a laptop wouldn't give the desired results :)
– Jeff
Mar 29 at 23:20
add a comment
|
1
Is the power button an option or must it be done using the mouse?
– Melebius
Mar 28 at 12:58
2
absolute fastest would beSysRq+o
, though safer would beSysRq+s, u, o
– Aaron F
Mar 28 at 15:29
1
Pulling the cord isn't an option right?
– zero298
Mar 28 at 22:18
1
Power button you have to hold down until the computer does a hard shutdown which I don't want to do either of those. I have no idea what SysRq+o even is and, um, pulling the cord on a laptop wouldn't give the desired results :)
– Jeff
Mar 29 at 23:20
1
1
Is the power button an option or must it be done using the mouse?
– Melebius
Mar 28 at 12:58
Is the power button an option or must it be done using the mouse?
– Melebius
Mar 28 at 12:58
2
2
absolute fastest would be
SysRq+o
, though safer would be SysRq+s, u, o
– Aaron F
Mar 28 at 15:29
absolute fastest would be
SysRq+o
, though safer would be SysRq+s, u, o
– Aaron F
Mar 28 at 15:29
1
1
Pulling the cord isn't an option right?
– zero298
Mar 28 at 22:18
Pulling the cord isn't an option right?
– zero298
Mar 28 at 22:18
1
1
Power button you have to hold down until the computer does a hard shutdown which I don't want to do either of those. I have no idea what SysRq+o even is and, um, pulling the cord on a laptop wouldn't give the desired results :)
– Jeff
Mar 29 at 23:20
Power button you have to hold down until the computer does a hard shutdown which I don't want to do either of those. I have no idea what SysRq+o even is and, um, pulling the cord on a laptop wouldn't give the desired results :)
– Jeff
Mar 29 at 23:20
add a comment
|
5 Answers
5
active
oldest
votes
How about a keyboard shortcut?
Go to your keyboard settings - for me, that's Settings ⇒ Devices ⇒ Keyboard(not sure what it is in Mate, but should be quite similar), scroll down to the bottom and click the + to add a new
Then, name it, the command you'll want is sudo poweroff
(or sudo shutdown now
does the same thing, really) - and set it to whatever keyboard shortcut you want.
I recommend super+h, since that's not taken by default, and since super+l is lock- but obviously, you can do whatever you want.... including maping it to an F-key of your choice.
It was hard to pick a winner. Ultimately this is the closest / best alternative. The only thing is you can't include sudo. If you do, it doesn't work because when you use sudo it asks for a password. If you leave sudo out and assign a keyboard shortcut, it's a marvelous solution.
– Jeff
Mar 29 at 23:22
@Jeff You can use sudo if you add that command (poweroff or shutdown) to sudoers for that user. Then, it won't ask for a password.
– Joe
Apr 9 at 11:12
add a comment
|
On Ubuntu, the command shutdown now
allows you to shut down the system without being a root user. For a one-click solution in Mate, associate this command to a panel launcher.
Beware not to click this by accident, because it will heavily disrupt your work. But then, you asked a one-click solution.
For a two-click solution, Mate might still might offer a "traditional" shut down button you can add to the panel next to the 'Gear' icon. If not, then you still can create your own two-click shut-down launcher for mate-session-save --shutdown-dialog
(gnome-session-quit --power-off
for Gnome users).
add a comment
|
This works for me on Ubuntu 18.04
sudo poweroff
another option is to shutdown
shutdown –h 09:30
Power off the system.
--help Show this help
--halt Halt the machine
-p --poweroff Switch off the machine
--reboot Reboot the machine
-f --force Force immediate halt/power-off/reboot
-w --wtmp-only Don't halt/power-off/reboot, just write wtmp record
-d --no-wtmp Don't write wtmp record
--no-wall Don't send wall message before halt/power-off/reboot
You probably wantnow
rather than09:30
, most of the time.
– OrangeDog
Mar 28 at 23:01
add a comment
|
Creating an One Click button
This has been tested and worked on Ubuntu 18.04.2
Install a necessary package in order to easily create a desktop application. We will use the terminal because we need to use a special parameter to avoid unnecessary packages from being installed.
sudo apt update
sudo apt install --no-install-recommends gnome-panel
Call the app from the terminal, as follows
gnome-desktop-item-edit ~/.local/share/applications --create-new
In the opening window give a Name, Comment and an Icon of your choice.
The important here is the Command.
Copy-paste the following in the Command field:
dbus-send --system --print-reply --dest=org.freedesktop.login1 /org/freedesktop/login1 "org.freedesktop.login1.Manager.PowerOff" boolean:true
Example Picture
Click OK
Add the application wherever you want on your Desktop. The time you click the button, it will shutdown the PC without further questions.
Example Picture
add a comment
|
If you don't care about shutting down "nicely," do this...Alt
+F2
and then press and hold Ctrl
+ Alt
+ Del
for a few seconds. Note that the computer will reboot, not just turn off, so you will have to push the power button on the boot splash after rebooting to shut it off. However, Ubuntu itself will be shut down as fast as possible by easy means because you don't have to type any commands (though a keyboard shortcut would work). If you just want to turn off the OS, you can use this.
add a comment
|
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1129384%2ffastest-way-to-shutdown-ubuntu-mate-18-10%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
5 Answers
5
active
oldest
votes
5 Answers
5
active
oldest
votes
active
oldest
votes
active
oldest
votes
How about a keyboard shortcut?
Go to your keyboard settings - for me, that's Settings ⇒ Devices ⇒ Keyboard(not sure what it is in Mate, but should be quite similar), scroll down to the bottom and click the + to add a new
Then, name it, the command you'll want is sudo poweroff
(or sudo shutdown now
does the same thing, really) - and set it to whatever keyboard shortcut you want.
I recommend super+h, since that's not taken by default, and since super+l is lock- but obviously, you can do whatever you want.... including maping it to an F-key of your choice.
It was hard to pick a winner. Ultimately this is the closest / best alternative. The only thing is you can't include sudo. If you do, it doesn't work because when you use sudo it asks for a password. If you leave sudo out and assign a keyboard shortcut, it's a marvelous solution.
– Jeff
Mar 29 at 23:22
@Jeff You can use sudo if you add that command (poweroff or shutdown) to sudoers for that user. Then, it won't ask for a password.
– Joe
Apr 9 at 11:12
add a comment
|
How about a keyboard shortcut?
Go to your keyboard settings - for me, that's Settings ⇒ Devices ⇒ Keyboard(not sure what it is in Mate, but should be quite similar), scroll down to the bottom and click the + to add a new
Then, name it, the command you'll want is sudo poweroff
(or sudo shutdown now
does the same thing, really) - and set it to whatever keyboard shortcut you want.
I recommend super+h, since that's not taken by default, and since super+l is lock- but obviously, you can do whatever you want.... including maping it to an F-key of your choice.
It was hard to pick a winner. Ultimately this is the closest / best alternative. The only thing is you can't include sudo. If you do, it doesn't work because when you use sudo it asks for a password. If you leave sudo out and assign a keyboard shortcut, it's a marvelous solution.
– Jeff
Mar 29 at 23:22
@Jeff You can use sudo if you add that command (poweroff or shutdown) to sudoers for that user. Then, it won't ask for a password.
– Joe
Apr 9 at 11:12
add a comment
|
How about a keyboard shortcut?
Go to your keyboard settings - for me, that's Settings ⇒ Devices ⇒ Keyboard(not sure what it is in Mate, but should be quite similar), scroll down to the bottom and click the + to add a new
Then, name it, the command you'll want is sudo poweroff
(or sudo shutdown now
does the same thing, really) - and set it to whatever keyboard shortcut you want.
I recommend super+h, since that's not taken by default, and since super+l is lock- but obviously, you can do whatever you want.... including maping it to an F-key of your choice.
How about a keyboard shortcut?
Go to your keyboard settings - for me, that's Settings ⇒ Devices ⇒ Keyboard(not sure what it is in Mate, but should be quite similar), scroll down to the bottom and click the + to add a new
Then, name it, the command you'll want is sudo poweroff
(or sudo shutdown now
does the same thing, really) - and set it to whatever keyboard shortcut you want.
I recommend super+h, since that's not taken by default, and since super+l is lock- but obviously, you can do whatever you want.... including maping it to an F-key of your choice.
edited Mar 28 at 14:43
answered Mar 28 at 13:29
rm-vandarm-vanda
2,5442 gold badges16 silver badges25 bronze badges
2,5442 gold badges16 silver badges25 bronze badges
It was hard to pick a winner. Ultimately this is the closest / best alternative. The only thing is you can't include sudo. If you do, it doesn't work because when you use sudo it asks for a password. If you leave sudo out and assign a keyboard shortcut, it's a marvelous solution.
– Jeff
Mar 29 at 23:22
@Jeff You can use sudo if you add that command (poweroff or shutdown) to sudoers for that user. Then, it won't ask for a password.
– Joe
Apr 9 at 11:12
add a comment
|
It was hard to pick a winner. Ultimately this is the closest / best alternative. The only thing is you can't include sudo. If you do, it doesn't work because when you use sudo it asks for a password. If you leave sudo out and assign a keyboard shortcut, it's a marvelous solution.
– Jeff
Mar 29 at 23:22
@Jeff You can use sudo if you add that command (poweroff or shutdown) to sudoers for that user. Then, it won't ask for a password.
– Joe
Apr 9 at 11:12
It was hard to pick a winner. Ultimately this is the closest / best alternative. The only thing is you can't include sudo. If you do, it doesn't work because when you use sudo it asks for a password. If you leave sudo out and assign a keyboard shortcut, it's a marvelous solution.
– Jeff
Mar 29 at 23:22
It was hard to pick a winner. Ultimately this is the closest / best alternative. The only thing is you can't include sudo. If you do, it doesn't work because when you use sudo it asks for a password. If you leave sudo out and assign a keyboard shortcut, it's a marvelous solution.
– Jeff
Mar 29 at 23:22
@Jeff You can use sudo if you add that command (poweroff or shutdown) to sudoers for that user. Then, it won't ask for a password.
– Joe
Apr 9 at 11:12
@Jeff You can use sudo if you add that command (poweroff or shutdown) to sudoers for that user. Then, it won't ask for a password.
– Joe
Apr 9 at 11:12
add a comment
|
On Ubuntu, the command shutdown now
allows you to shut down the system without being a root user. For a one-click solution in Mate, associate this command to a panel launcher.
Beware not to click this by accident, because it will heavily disrupt your work. But then, you asked a one-click solution.
For a two-click solution, Mate might still might offer a "traditional" shut down button you can add to the panel next to the 'Gear' icon. If not, then you still can create your own two-click shut-down launcher for mate-session-save --shutdown-dialog
(gnome-session-quit --power-off
for Gnome users).
add a comment
|
On Ubuntu, the command shutdown now
allows you to shut down the system without being a root user. For a one-click solution in Mate, associate this command to a panel launcher.
Beware not to click this by accident, because it will heavily disrupt your work. But then, you asked a one-click solution.
For a two-click solution, Mate might still might offer a "traditional" shut down button you can add to the panel next to the 'Gear' icon. If not, then you still can create your own two-click shut-down launcher for mate-session-save --shutdown-dialog
(gnome-session-quit --power-off
for Gnome users).
add a comment
|
On Ubuntu, the command shutdown now
allows you to shut down the system without being a root user. For a one-click solution in Mate, associate this command to a panel launcher.
Beware not to click this by accident, because it will heavily disrupt your work. But then, you asked a one-click solution.
For a two-click solution, Mate might still might offer a "traditional" shut down button you can add to the panel next to the 'Gear' icon. If not, then you still can create your own two-click shut-down launcher for mate-session-save --shutdown-dialog
(gnome-session-quit --power-off
for Gnome users).
On Ubuntu, the command shutdown now
allows you to shut down the system without being a root user. For a one-click solution in Mate, associate this command to a panel launcher.
Beware not to click this by accident, because it will heavily disrupt your work. But then, you asked a one-click solution.
For a two-click solution, Mate might still might offer a "traditional" shut down button you can add to the panel next to the 'Gear' icon. If not, then you still can create your own two-click shut-down launcher for mate-session-save --shutdown-dialog
(gnome-session-quit --power-off
for Gnome users).
edited Mar 29 at 9:29
answered Mar 28 at 13:20
vanadiumvanadium
11.4k2 gold badges21 silver badges40 bronze badges
11.4k2 gold badges21 silver badges40 bronze badges
add a comment
|
add a comment
|
This works for me on Ubuntu 18.04
sudo poweroff
another option is to shutdown
shutdown –h 09:30
Power off the system.
--help Show this help
--halt Halt the machine
-p --poweroff Switch off the machine
--reboot Reboot the machine
-f --force Force immediate halt/power-off/reboot
-w --wtmp-only Don't halt/power-off/reboot, just write wtmp record
-d --no-wtmp Don't write wtmp record
--no-wall Don't send wall message before halt/power-off/reboot
You probably wantnow
rather than09:30
, most of the time.
– OrangeDog
Mar 28 at 23:01
add a comment
|
This works for me on Ubuntu 18.04
sudo poweroff
another option is to shutdown
shutdown –h 09:30
Power off the system.
--help Show this help
--halt Halt the machine
-p --poweroff Switch off the machine
--reboot Reboot the machine
-f --force Force immediate halt/power-off/reboot
-w --wtmp-only Don't halt/power-off/reboot, just write wtmp record
-d --no-wtmp Don't write wtmp record
--no-wall Don't send wall message before halt/power-off/reboot
You probably wantnow
rather than09:30
, most of the time.
– OrangeDog
Mar 28 at 23:01
add a comment
|
This works for me on Ubuntu 18.04
sudo poweroff
another option is to shutdown
shutdown –h 09:30
Power off the system.
--help Show this help
--halt Halt the machine
-p --poweroff Switch off the machine
--reboot Reboot the machine
-f --force Force immediate halt/power-off/reboot
-w --wtmp-only Don't halt/power-off/reboot, just write wtmp record
-d --no-wtmp Don't write wtmp record
--no-wall Don't send wall message before halt/power-off/reboot
This works for me on Ubuntu 18.04
sudo poweroff
another option is to shutdown
shutdown –h 09:30
Power off the system.
--help Show this help
--halt Halt the machine
-p --poweroff Switch off the machine
--reboot Reboot the machine
-f --force Force immediate halt/power-off/reboot
-w --wtmp-only Don't halt/power-off/reboot, just write wtmp record
-d --no-wtmp Don't write wtmp record
--no-wall Don't send wall message before halt/power-off/reboot
answered Mar 28 at 12:59
FlorinFlorin
1513 bronze badges
1513 bronze badges
You probably wantnow
rather than09:30
, most of the time.
– OrangeDog
Mar 28 at 23:01
add a comment
|
You probably wantnow
rather than09:30
, most of the time.
– OrangeDog
Mar 28 at 23:01
You probably want
now
rather than 09:30
, most of the time.– OrangeDog
Mar 28 at 23:01
You probably want
now
rather than 09:30
, most of the time.– OrangeDog
Mar 28 at 23:01
add a comment
|
Creating an One Click button
This has been tested and worked on Ubuntu 18.04.2
Install a necessary package in order to easily create a desktop application. We will use the terminal because we need to use a special parameter to avoid unnecessary packages from being installed.
sudo apt update
sudo apt install --no-install-recommends gnome-panel
Call the app from the terminal, as follows
gnome-desktop-item-edit ~/.local/share/applications --create-new
In the opening window give a Name, Comment and an Icon of your choice.
The important here is the Command.
Copy-paste the following in the Command field:
dbus-send --system --print-reply --dest=org.freedesktop.login1 /org/freedesktop/login1 "org.freedesktop.login1.Manager.PowerOff" boolean:true
Example Picture
Click OK
Add the application wherever you want on your Desktop. The time you click the button, it will shutdown the PC without further questions.
Example Picture
add a comment
|
Creating an One Click button
This has been tested and worked on Ubuntu 18.04.2
Install a necessary package in order to easily create a desktop application. We will use the terminal because we need to use a special parameter to avoid unnecessary packages from being installed.
sudo apt update
sudo apt install --no-install-recommends gnome-panel
Call the app from the terminal, as follows
gnome-desktop-item-edit ~/.local/share/applications --create-new
In the opening window give a Name, Comment and an Icon of your choice.
The important here is the Command.
Copy-paste the following in the Command field:
dbus-send --system --print-reply --dest=org.freedesktop.login1 /org/freedesktop/login1 "org.freedesktop.login1.Manager.PowerOff" boolean:true
Example Picture
Click OK
Add the application wherever you want on your Desktop. The time you click the button, it will shutdown the PC without further questions.
Example Picture
add a comment
|
Creating an One Click button
This has been tested and worked on Ubuntu 18.04.2
Install a necessary package in order to easily create a desktop application. We will use the terminal because we need to use a special parameter to avoid unnecessary packages from being installed.
sudo apt update
sudo apt install --no-install-recommends gnome-panel
Call the app from the terminal, as follows
gnome-desktop-item-edit ~/.local/share/applications --create-new
In the opening window give a Name, Comment and an Icon of your choice.
The important here is the Command.
Copy-paste the following in the Command field:
dbus-send --system --print-reply --dest=org.freedesktop.login1 /org/freedesktop/login1 "org.freedesktop.login1.Manager.PowerOff" boolean:true
Example Picture
Click OK
Add the application wherever you want on your Desktop. The time you click the button, it will shutdown the PC without further questions.
Example Picture
Creating an One Click button
This has been tested and worked on Ubuntu 18.04.2
Install a necessary package in order to easily create a desktop application. We will use the terminal because we need to use a special parameter to avoid unnecessary packages from being installed.
sudo apt update
sudo apt install --no-install-recommends gnome-panel
Call the app from the terminal, as follows
gnome-desktop-item-edit ~/.local/share/applications --create-new
In the opening window give a Name, Comment and an Icon of your choice.
The important here is the Command.
Copy-paste the following in the Command field:
dbus-send --system --print-reply --dest=org.freedesktop.login1 /org/freedesktop/login1 "org.freedesktop.login1.Manager.PowerOff" boolean:true
Example Picture
Click OK
Add the application wherever you want on your Desktop. The time you click the button, it will shutdown the PC without further questions.
Example Picture
answered Apr 2 at 23:33
NickTuxNickTux
14.4k5 gold badges46 silver badges65 bronze badges
14.4k5 gold badges46 silver badges65 bronze badges
add a comment
|
add a comment
|
If you don't care about shutting down "nicely," do this...Alt
+F2
and then press and hold Ctrl
+ Alt
+ Del
for a few seconds. Note that the computer will reboot, not just turn off, so you will have to push the power button on the boot splash after rebooting to shut it off. However, Ubuntu itself will be shut down as fast as possible by easy means because you don't have to type any commands (though a keyboard shortcut would work). If you just want to turn off the OS, you can use this.
add a comment
|
If you don't care about shutting down "nicely," do this...Alt
+F2
and then press and hold Ctrl
+ Alt
+ Del
for a few seconds. Note that the computer will reboot, not just turn off, so you will have to push the power button on the boot splash after rebooting to shut it off. However, Ubuntu itself will be shut down as fast as possible by easy means because you don't have to type any commands (though a keyboard shortcut would work). If you just want to turn off the OS, you can use this.
add a comment
|
If you don't care about shutting down "nicely," do this...Alt
+F2
and then press and hold Ctrl
+ Alt
+ Del
for a few seconds. Note that the computer will reboot, not just turn off, so you will have to push the power button on the boot splash after rebooting to shut it off. However, Ubuntu itself will be shut down as fast as possible by easy means because you don't have to type any commands (though a keyboard shortcut would work). If you just want to turn off the OS, you can use this.
If you don't care about shutting down "nicely," do this...Alt
+F2
and then press and hold Ctrl
+ Alt
+ Del
for a few seconds. Note that the computer will reboot, not just turn off, so you will have to push the power button on the boot splash after rebooting to shut it off. However, Ubuntu itself will be shut down as fast as possible by easy means because you don't have to type any commands (though a keyboard shortcut would work). If you just want to turn off the OS, you can use this.
answered Mar 30 at 0:52
Brenden McFarlingBrenden McFarling
7115 bronze badges
7115 bronze badges
add a comment
|
add a comment
|
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1129384%2ffastest-way-to-shutdown-ubuntu-mate-18-10%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Is the power button an option or must it be done using the mouse?
– Melebius
Mar 28 at 12:58
2
absolute fastest would be
SysRq+o
, though safer would beSysRq+s, u, o
– Aaron F
Mar 28 at 15:29
1
Pulling the cord isn't an option right?
– zero298
Mar 28 at 22:18
1
Power button you have to hold down until the computer does a hard shutdown which I don't want to do either of those. I have no idea what SysRq+o even is and, um, pulling the cord on a laptop wouldn't give the desired results :)
– Jeff
Mar 29 at 23:20