Sunday 14 August 2016

Cinnamon Shutdown Button Missing

First step when I install Ubuntu is to replace the Unity desktop with Cinnamon from Linux Mint. The problem is for a long time I was pressing the shutdown button and being presented with a dialog that only gave me the option to shutdown and not to cancel.

If I'm guessing what was going on correctly this is because Ubuntu uses "logind" and Cinnamon uses "consolekit", which means there are two solutions.

Consolekit Solution

This requires installing consolekit.
You can do this either through your favourite package manager or through terminal with the command:

sudo apt-get install consolekit

Logind Solution

Alternatively you can switch cinnamon to use logind.
The most visual way of doing this is to install dconf-editor and then launch it.
Navigate the left hand side column to:

org > cinnamon > desktop > session

And check the boxes for:
  • session-manager-uses-logind
  • settings-daemon-uses-logind

Alternatively you can do this through terminal with the commands:

gsettings set org.cinnamon.desktop.session settings-daemon-uses-logind true
gsettings set org.cinnamon.desktop.session session-manager-uses-logind true

No comments:

Post a Comment