• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Source Digit

Source Digit

Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • How To
  • Ubuntu
  • Instagram
  • Blogging
  • Android
  • WordPress
  • +More
    • Cloud Computing
    • Gadgets
    • Social Media
    • Technology
  • Write for Us
Home / How To / Shutdown or Hibernate Ubuntu 14.10 Automatically When Laptop Lid is Closed

Shutdown or Hibernate Ubuntu 14.10 Automatically When Laptop Lid is Closed

By Sourabh / February 19, 2015 Category: How To, Ubuntu

Shutdown or Hibernate Ubuntu 14.10 automatically when laptop lid is closed. An useful Ubuntu 14.10 tip that will automatically shutdown the system when laptop lid is closed. You can enable this option using built-in Power utility.

The Ubuntu built-in Power utility allows to select what to do when the laptop lid is closed. By default, there are only “Suspend” and “Do nothing” options available. But, you can customize this and enable Shutdown or Hibernate options in Ubuntu 14.10 Utopic Unicorn. Which means, you can automatically shutdown the Ubuntu 14.10 system when laptop lid is closed.

1. Open Terminal, press Ctrl+Alt+T and the following command and hit enter. This command will edit the systemd-logind settings using Gedit text editor.


sudo gedit /etc/systemd/logind.conf

2.Shutdown Ubuntu 14.10 Utopic Unicorn

Once the systemd-logind settings file is opened, find out the line #HandleLidSwitch=suspend. Remove the # and change the value (given below) and save the file.

Shutdown Ubuntu 14.10 Utopic Unicorn
HandleLidSwitch=poweroff

This option will shutdown the system’s power off when laptop lid is closed.

3. Hibernate Ubuntu 14.10 Utopic Unicorn

HandleLidSwitch=hibernate

This option will enable hibernate option for the system when laptop lid is closed.

Once you have made the changes, save the file and exit. Now you must restart the system so the changes take place.

 

Tags: Customize Ubuntu 14.10 Utopic Unicorn, Hibernate Ubuntu 14.10 Automatically When Laptop Lid is Closed, Shutdown or Hibernate Ubuntu 14.10 Automatically, Shutdown Ubuntu 14.10 Automatically When Laptop Lid is Closed, Ubuntu 14.10 Utopic Unicorn, Ubuntu Power Utility

Primary Sidebar

Latest Posts

Using Linux Terminal How To Get Total Disk Size In GB

Count And Find Number Of Files In A Linux Directory Using Command

Check How Many Users Are Created In Linux Ubuntu

How To Check User Permissions In Linux Using Command

Check Which Folder Is Taking More Space In Ubuntu Linux

How to Install Claude Desktop App in Ubuntu Linux

Job Scheduling Using At Command In Linux With Examples

How To Check Permissions Of A Directory In Linux Command

Delete Directory And Contents Recursively Without Prompt On Linux

Check User Login History In Ubuntu Linux Command Line

© 2026 Source Digit • Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • About
  • Privacy Policy
  • Terms & Conditions
  • Contact Us
  • Sitemap