Results 1 to 4 of 4

Thread: how to disable sleep when laptop lid is close

  1. #1
    Join Date
    Apr 2013
    Beans
    9

    how to disable sleep when laptop lid is close

    Can someone help pls... I installed ubuntu server on my old laptop (Dell 430). I wan't it to keep on running
    after closing the lid. As normal laptops do when their lids are close it turns off all the processes and goes to sleep. I just wan't to be able to access
    my server 24/7 even if the lid is closed and the back light off.
    I found some instructions over the net but doesn't work for me like for this ex:
    editing a file "lidbtn"...which in my system is empty, nothing to edit.
    (edit /etc/acpi/events/lidbtn)
    suppose to edit this...


    # /etc/acpi/events/lidbtn
    # Called when the user closes or opens the lid
    event=button[ /]lid # comment this out with a # at the beginning
    action=/etc/acpi/lid.sh # same here

  2. #2
    Join Date
    Aug 2005
    Location
    Northern Michigan USA
    Beans
    1,778
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: how to disable sleep when laptop lid is close

    system settings-power choose do nothing for both drop down boxes

  3. #3
    Join Date
    Jul 2005
    Location
    England
    Beans
    Hidden!

    Re: how to disable sleep when laptop lid is close

    You need to remove, or better, just make the file /etc/acpi/lid.sh non executable with
    Code:
    sudo chmod -x /etc/acpi/lid.sh
    DISTRO: Xubuntu 12.04-64bit --- Code-tags --- Boot-Repair --- Grub2 wiki & Grub2 Basics --- RootSudo

  4. #4
    Join Date
    Apr 2013
    Beans
    9

    [SOLVED] how to disable sleep when laptop lid is close

    Thanks "ajgreeny" for the advice... instead of the path you suggested I did this:

    sudo chmod -x /etc/acpi/events/lidbtn

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •