0

Before I installed pm-utils, closing the lid just turned the screen off. I installed pm-utils, and now the screen turns off and my system crashes, kind of a big issue. I then purged pm-utils and all its dependencies, but my system still crashes when I close the lid(lovely).

Tested with a live CD, the screen just turns off when the lid is closed, which makes sense. This is an Ubuntu 12.04 minimal install, what do I have to edit to get this back to normal?

Edit: if I close the lid, wait for two popping noises, open the lid, and then switch to a VT, it returns to the original non-crashing behavior. I am pretty sure this makes no sense.

Edit: wait nope, it seems to work, except....all disk I/O gets stuck.

Edit: purging Dbus fixed it, although I did lose half of my applications in the process.

trevor
  • 1
  • 1

1 Answers1

0

I found two configuration options in gnome that should change the default lid close action.

org.gnome.settings-daemon.plugins.power lid-close-ac-action and org.gnome.settings-daemon.plugins.power lid-close-battery-action.

To set your computer to not suspend on close, I believe that you could set both of these settings to black.

gsettings set org.gnome.settings-daemon.plugins.power lid-close-battery-action blank
gsettings set org.gnome.settings-daemon.plugins.power lid-close-ac-action blank

I am not entirely sure that these will work on your system, though they do on mine.

Source: https://help.gnome.org/users/gnome-help/3.5/power-closelid.html.en

daboross
  • 2,203