For questions regarding shutting down and powering off.

learn more… | top users | synonyms (1)

3
votes
2answers
117 views

Why do I need to shutdown Ubuntu?

Suppose there is no installation process running and the PC goes off without the usual shutdown command. Is there any risk for my OS to be damaged? If yes, then what are those? In other words: Why do ...
3
votes
4answers
26k views

How to shut down my computer?

I can't find a dialogue anywhere on the desktop (like on Windows Start/shutdown) to shut down Ubuntu. I downloaded and ran the Ubuntu live CD and after I ran it, I couldn't shut it down. I had to hold ...
3
votes
1answer
2k views

How do I get my computer to shut down with the power button?

When I press the power button on my PC, it brings up an interface with four options: Lock, suspend, restart, shut down. Is there any way to have it simply shut down when I press the power button? ...
3
votes
4answers
2k views

Console text appears on shutdown

I updated to 10.10 from 10.04 -however not with a clean install but with online update. Since then at shutdown some console texts appear (next to the red spot representing the shutdown steps). Im ...
3
votes
4answers
851 views

shutdown in specific way, if no-one uses computer

I have problem because my friends with I live often forget to shut down our computer. I don't know how solution use to pretend it. There is ubuntu system installed. I am looking for solution that ...
3
votes
2answers
335 views

How to execute a shutdown with timer and screensaver command in a script

I made this script when executed will shutdown my system (after some time) and should enable a screensaver. #!/bin/bash sudo shutdown -h +30 gnome-screensaver-command -a There are mainly two ...
3
votes
1answer
18k views

Shutdown over SSH [duplicate]

I just installed a fresh ubuntu server 12.04. I log in over SSH and use sudo -s to get root access. Then I use shutdown now and the server closes the connection. I cannot access the server over SSH, ...
3
votes
4answers
5k views

How to run a command before the machine automatically shutdowns?

How to run a command before the machine automatically shutdowns?
3
votes
2answers
398 views

What happens to manual Upstart services on shut down?

If using the manual keyword in an init or override Upstart script, it is not clear whether the services shut down process will be initiated or it will just be killed on shut down. For instance, will ...
3
votes
2answers
925 views

What happens when suspended?

I have a laptop - Lenovo T60. When I close the lid, I see that the machine goes into suspended mode. The moment I open the lid, the laptop is instantly a live. My concern - Does going into suspended ...
3
votes
3answers
5k views

Transmission shutdown script for multiple torrents?

I have written a shutdown script for transmission. Transmission calls the script after a torrent download finishes. The script runs perfectly on my machine (Ubuntu 11.04 & 12.04). #!/bin/bash ...
3
votes
1answer
628 views

Using upstart for non-daemon tasks

I would like to have foo do-startup-things run on boot, and foo do-shutdown-things run on shutdown where foo is my own program. It looks like Upstart is a good candidate to do this, but Upstart seems ...
3
votes
2answers
2k views

Change power button to 'Ask' in Xubuntu 13.10

I have recently installed Xubuntu 13.10 on my Vaio vpcea making me a Linux beginner. The problem is that laptop's power button is right on the edge of the bezel making it far too easy to press ...
3
votes
2answers
2k views

The “power cog” has disappeared [closed]

I am using Ubuntu 11.10 beta 1. The "power cog" (the button at the top right corner of the screen) seems to have disappeared. I am not sure what caused that because it was there when I installed 11.10 ...
3
votes
1answer
477 views
3
votes
3answers
7k views

Why does Ubuntu freeze during reboot (14.04 LTS)?

I'm new to this whole Linux thing, and although I have been able to figure out how to set up Ubuntu thus far, there is one issue that bugs me. Whenever I attempt to restart the computer, it freezes ...
3
votes
1answer
932 views

Remove “restart” option from menu

When I click the gear icon to open the system menu on my PC, these options are presented: Suspend Restart... Shutdown... The restart options seems redundant, because it literally does the same ...
3
votes
1answer
880 views

Confirm shutdown with Zenity?

I got this command which enables me to shutdown Ubuntu 13.10 directly from the keyboard (without needing to open a terminal and running something like sudo shutdown -h now): dbus-send --system ...
3
votes
2answers
2k views

overheating and shutdown problems when adobe flash runs?

I'm a new user of UBUNTU and using a Dell latitude D630. When I browse to site that have some flash animation (mostly advertisements), the temperature of cores increase dramatically (I check with ...
3
votes
3answers
507 views

Does powering off the PC without shutting down harm the system?

I accidentally killed Compiz in my Unity session and couldn't restart it. So I powered the PC off with the hardware button. I am wondering if that could cause damage to my system? I didn't have any ...
3
votes
2answers
256 views

Gracefully shut down QEMU/KVM on host shutdown

I start a QEMU/KVM Ubuntu 15.10 virtual machine on boot and let it run in the background (as webserver). What happens now if I shut down the host (also 15.10)? Will it kill the VM and result in a ...
3
votes
1answer
58 views

How to shut down the computer safely by pressing the power button?

So this is pretty simple: when I press the power button whilst the machine is on, it comes up with a menu (of which one of the options is to shutdown) However, I just want it to just start shutting ...
3
votes
1answer
102 views

Can not connect to internet and turn off computer after interrupting system update

Last Friday, I was using software updater to update some of my software, but halfway through, I realized I wouldn't have time to complete all of the updates. I unfortunately had to stop the updates ...
3
votes
3answers
107 views

What graphical utility can I use for Ubuntu auto shutdown?

In Microsoft Windows I use switch off software for auto shutdown, Hibernate, restart etc. Can I find something similar in Ubuntu? I read following link. How can I automatically shutdown the system ...
3
votes
2answers
431 views

Causes of and how to minimize damage from forced shut downs?

Backstory: Since running 12.04 LTS, my computer has experienced two sudden losses of power; one due to my ham-fisted attempt to reboot and one due to a battery-less power cable disconnection. Both ...
3
votes
2answers
4k views

How can I shutdown my PC when the system is idle?

I am using Ubutnu 12.04 LTS. Now I am here to know that, is there any script/application I can use to shutdown my Ubuntu when my system is IDLE for 10 Minutes or so? I have already gone through this ...
3
votes
2answers
4k views

Ubuntu 12.04 sometimes doesn't halt completely

I am using an Dell Latitude D830 with Ubuntu 12.04. Now, when I turn off the pc, Ubuntu doesn't halt completely sometimes. I think that is due to the latest Nvidia drivers, because in the past with ...
3
votes
1answer
1k views

What commands show pending/scheduled tasks in Terminal?

What commands can I use in Terminal to see pending or scheduled tasks for today or tomorrow. For example how can I detect pending system shutdown?
3
votes
1answer
4k views

Keyboard shortcut to shutdown?

I came across Why do we need to be root in terminal for shutdown and restart? and the accepted answer has an explanation indicating that clicking on "Shutdown" in Ubuntu's dropdown menu triggers this ...
3
votes
1answer
294 views

Gracefully close appications on shutdown

How to automatically close an application on shutdown (graceful close, not kill)? I try to call wmctrl -c "App" in powerbtn.sh, but it does not work. The same wmctrl command works perfectly when ...
3
votes
3answers
2k views

USB HDD power off after shutdown

I use Ubuntu 12.04 on my external USB HDD and from the begining when I power off my ubuntu my USB HDD also power off 5 seconds later than my computer. Its good for me. But after some updates Ubuntu ...
3
votes
1answer
418 views

What does my computer do when I click 'Shut Down'?

What does my computer do when I click ▸ Shut Down? I mean, is it running a script? What is it running?
3
votes
5answers
6k views

Ubuntu 11.10 logs off when clicking shutdown

As the title says: when I click Shutdown from the menu it logs off. When I click shutdown from the log-in menu it does nothing. I'm using a fresh install of Ubuntu 11.10. I can force it to shutdown by ...
3
votes
1answer
2k views

How do I make the power button shut the laptop down without asking?

The energy options screen, oddly, doesn't have an option for what to do when the power button is pressed! Translating the three options: "Suspend when inactive for:" (it's set to not suspend) "When ...
3
votes
1answer
67 views

How to run an interactive script before xserver shutdown?

Every time I shutdown or restart my laptop (Ubuntu 14.04), I would like to run a script that checks, whether I pushed my newest code to my remote git repository. If I forgot it, then it opens a ...
3
votes
2answers
29 views

How to check how long the last uptime if it's not shutdown correctly?

I need to check battery life of some batteries while powering my machine (a BeagleBone). My plan is to plug it in, leave it, and check some time later. If it's dead, then I need to know how long it's ...
3
votes
1answer
244 views

Ubuntu logo flickering on shut down - Ubuntu 15.04 XPS 13

I have a laptop with a QHD+ screen (XPS 13 2015 9343) with Ubuntu 15.04 and kernel 4.1.3. When I shut down the Ubuntu logo go to the top of the screen, the left of the screen then back to center. I ...
3
votes
1answer
398 views

Run a script on shutdown and not on reboot [duplicate]

I'm executing a script on Ubuntu 14.04.1 LTS when the server is stopping But I would like to execute it only on shutdown behavior, not whendoing a reboot. I tried to get the value with $1but for ...
3
votes
2answers
3k views

After switching to Ubuntu 15.04 laptop won't shutdown

I have a problem with with my laptop, Toshiba Qosmio F60. Curently i am running dual boot with Win7, and Ubuntu 15.04. I used different distros and this is the first time i have this kind of problem. ...
3
votes
1answer
988 views

Laptop doesn't shut down - Lubuntu 15.04

I've bean using Ubuntu, Xubuntu and recently Lubuntu on my desktop and laptop without problems. I have just installed Lubuntu 15.04 on an old HP nx9005 laptop and it works fine, but it doesn't shut ...
3
votes
1answer
517 views

How can I run a shell script on session end? [duplicate]

In a previous question, I found out how to shut down all instances of running VMs started through vagrant. I'd like to call that script when logging out of my Desktop Manager which is currently ...
3
votes
1answer
1k views

Reboot instead of shutdown Ubuntu 12.04

As the title suggests, when I try to shutdown my computer from Ubuntu 12.04, it shuts down but then powers back on about three seconds later. I've changed my Grub settings and added: ...
3
votes
1answer
2k views

Shutdown slow in 13.04, hangs on shutting down processes

I believe this problem has existed since I upgraded to 13.04. I have an SSD, so differences in boot/shutdown times are very noticeable. It used to take a couple of seconds to shut down - now, it takes ...
3
votes
2answers
563 views

How can I tell how long for Watchdog to wait to stop all processes?

I have a server which is monitored by Watchdog, and experiences reboots occasionally due to faulty network hardware I am unable to replace at the moment. As I read, Watchdog sends a SIGTERM to all ...
3
votes
1answer
951 views

Why is my Ubuntu box shutting itself off?

I just built a relatively cheap Ubuntu box for use as a home server. I had a monster headache getting my Win 8 machine to talk to it via samba, but this is beside the point. I've now been attempting ...
3
votes
1answer
7k views

How do I get back my suspend option in Gnome Shell?

With the new version of Gnome Shell in Ubuntu 12.10 they turned most peoples issue around by just displaying the shutdown option which becomes suspend on pressing Alt. How do I get back my beloved ...
3
votes
2answers
2k views

Laptop power button not working

I have a (seemingly rather exotic) Dell Latitude XT2 notebook running Lubuntu 12.04, fresh install. Tried to get the power button to work as expected (opening the logout dialog lubuntu-logout), but no ...
3
votes
2answers
5k views

Disabling Control-Alt-Delete shutdown is not working

I'm running Ubuntu 10.04 in a Virtual Machine on a Windows 7 computer. If I press Ctrl-Alt-Delete when the Ubuntu VM is in focus, the Ubuntu system sees it and shuts down after 60 seconds. This does ...
3
votes
4answers
3k views

Cannot shutdown my Sony Vaio

I did a fresh install of Ubuntu 12.04 (dual boot with Windows 7) on my sony Vaio. After the fresh install everything was working fine. then I was informed that new driver were available for my ATI ...
3
votes
2answers
1k views

Ubuntu Precise 12.04 and 11.10 do not halt the computer completely, but 10.04 LTS does (Asus P5G41T-M)

I am using an Asus P5G41T-M motherboard with Core 2 Duo E5300. I have tried Ubuntu 12.04 beta 2, the latest daily build of 12.04 and 11.10 (the latest official), both of which act in the following ...