11 votes
Accepted

What is the command behind the default shutdown menu in Freya?

You can launch the shutdown menu with the following command dbus-send --session --print-reply --dest=com.canonical.Unity /org/gnome/SessionManager/EndSessionDialog org.gnome.SessionManager....
user avatar
  • 2,869
6 votes
Accepted

What is the command for the shutdown dialogue in Loki?

Not quite what you wanted, but here was what I was able to find: Shutdown directly: dbus-send --system --print-reply --dest=org.freedesktop.login1 /org/freedesktop/login1 "org.freedesktop.login1....
user avatar
  • 4,224
4 votes

Cannot Shutdown or Reboot elementary OS

Finally the best way to solve this problem is installing Nvidia Graphics driver and choose Intel Graphics device in Nvidia X Server Panel. After reboot, now I can shutdown and reboot my laptop ...
user avatar
3 votes
Accepted

Loki takes long time to shut down

The problem is caused by the Thermal Daemon Service not shutting down properly. The default timeout is 90s. This can be resolved by changing the timeout length. Run this command sudo io....
user avatar
2 votes

Dell Inspiron 15 5559 Problem at shutdown and logout (Intel Skylake)

I found the solution. The problem is a driver issue with the Intel Skylake graphics chipset. You can solve it by upgrading to kernel 4.3 and upwards. For instructions to update to kernel 4.4 see here: ...
user avatar
  • 944
2 votes

Elementary OS does not shutdown correctly

I have the same laptop the problem is with Nvidia driver. you need to install "additional drivers" sudo apt update sudo apt install ubuntu-drivers-common Or you can open AppCenter and install "...
user avatar
2 votes
Accepted

Slow shutdown and cannot troubleshoot

Try this sudo nano /etc/systemd/system.conf and edit as the image then run uncommented (remove the "#") the fields above to DefaultTimeoutStopSec=9s Then run this command to reload systemctl ...
user avatar
  • 83
2 votes

Every shutdown takes very long. Issue: "A stop job is running for session c2 of user xxx"

I had the same problem and could not find a solution, you can set the timer to a smaller value in: /etc/systemd/system.conf. (If it is empty, here is a copy: https://p.ip.fi/bZfs) Uncomment line ...
user avatar
1 vote

Taking time on Shutdown and when boot after that then the just logo flashes

What helps to me in a similar situation was to reinstall plymouth. I recommend doing it on recovery mode - on the grub bootloader screen select advanced options for elementary os and on the next ...
user avatar
  • 1,284
1 vote

Taking time on Shutdown and when boot after that then the just logo flashes

According to Dewa Sembiring on askubuntu, Go to tty mode using Ctrl+Alt+F2, if you can't, insert a live cd then get into chroot, try to reinstall your plymouth but before ...
user avatar
  • 1,187
1 vote

Unexpected Shutdown

Try installing tlp it's a must have for laptop power management, the default settings are great but it is also very customisable. $ sudo add-apt-repository ppa:linrunner/tlp $ sudo apt-get update $ ...
user avatar
1 vote
Accepted

Elementary OS Loki hangs during shutdown

The bug was resolved with the latest kernel update, version 4.15.0-42-generic. No further action was required
user avatar
  • 111
1 vote

Elementary OS Loki hangs during shutdown

I could tell you to downgrade systemd right away, but you will be able to do it only to the first release not the last update. You'll miss a lot of fixes with it, check the changelog below for more ...
user avatar
  • 1,942
1 vote

Run a script on shutdown

Unfortunately I don't know of a real graphical way to achieve that. But because elementary is based on Ubuntu and thus uses systemd, you should be able to do it with a systemd service. Basically ...
user avatar
1 vote

elementary OS 'Loki' Shutdown doesn't work :(

I'm not sure what is happening there when you press the Shutdown button on the top right corner, but you can always shutdown by opening the terminal and type shutdown -h now
user avatar
1 vote

Problem to shutdown from wingpanel

You can use the command pkill wingpanel in a terminal window or with Alt+F2 to restart stuck wingpanel.
user avatar
  • 4,492
1 vote

System shuts down abruptly after waking up

I have experienced this type of problem on a number of different systems, but after a lot of work I tracked it down to the lid being opened (after suspend) not being recognised. The fix was simple in ...
user avatar
  • 121
1 vote
Accepted

Unable to reboot and/or shutdown?

This problem is because /etc/init.d/ has been corrupt, you should try sudo nano /etc/init.d/rc Check CONCURRENCY appears like this or add: CONCURRENCY="none" Alternatively you can use sudo ...
user avatar
  • 166
1 vote

My system won't shutdown.... I have to press the power button to shutdown

Edit the file sudo scratch-text-editor /etc/default/grub And modify the line : GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" It to obtain this line : GRUB_CMDLINE_LINUX_DEFAULT="acpi=noirq acpi=force ...
user avatar
1 vote

How can I configure the power button to shutdown the computer

Do this: Open terminal. Type: sudo apt-get install dconf-tools Hit Enter After installing dconf-tools, on screen (desktop), click on Applications (top left of the screen), then find and click on ...
user avatar
  • 111
1 vote

How can I configure the power button to shutdown the computer

You have to edit logind.conf in /etc/systemd, and change the line as shown below (remember to unhash it): HandlePowerKey=poweroff Now I'm on Manjaro, so I can't confirm if it works, but it should.
user avatar
1 vote

No more power button

Try: sudo apt-get install indicator-session Then reboot and it should be there again
user avatar
  • 790
1 vote

Elementary freya won't shut down/restart without having to use the power button

A quick search has revealed that your laptop has an AMD Radeon R5 M240 graphics card? If that is true, the problem probably is driver related, I had the same problem with an AMD Radeon R5 M335, none ...
user avatar
  • 944
1 vote

Computer restarts instead of shutting down

Try typing: sudo sync && sudo poweroff WARNING: This program will instantly shut off the computer so you may want to save some data if you are currently working. If that doesn't work too ...
user avatar
1 vote
Accepted

Dell Inspiron 15 5559 Problem at shutdown and logout (Intel Skylake)

OK, so the problem can be solved much easier than installing a new kernel - namely by activating the proprietary drivers for AMD Radeon graphics card (called fglrx). You can choose between fglrx and ...
user avatar
  • 944
1 vote

How to take screenshots at shutdown?

You wont be able to take an actual screenshot, although if the error occurs early enough in the shutdown process (before the logger service is stopped and the hdd's have been unmounted) it should be ...
user avatar
  • 2,067
1 vote

Shutdown and restart stuck on "Starting LightDM Display Manager"

The original poster's temporary fix was to restart lightdm via the command line, which would be: sudo service lightdm restart OR sudo systemctl restart lightdm You can also try reconfiguring lightdm....
user avatar
  • 4,224
1 vote
Accepted

Have a shutdown timer like OS X?

Use gshutdown. Install from software center. Now open gshutdown and adjust settings as per your need. To adjust delay, select After a delay You can enable notification for gshutdown in Edit --> ...
user avatar
  • 7,877
1 vote

Have a shutdown timer like OS X?

I mean, you could just add a sleep 60 && before your shutdown -P 1, turn that into a shell script, I guess. You would have no visible timer but it should give you 60 seconds before shutting ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible