Results 1 to 2 of 2

Thread: lid closed screen off/on solution

  1. #1
    Senior Member PrairieFire's Avatar
    Join Date
    Apr 2007

    Default lid closed screen off/on solution

    I want to first state that I have only tested this on my Dell D620 & D820 and do not know what else it will work on. I do remember several people complaining about this problem, mainly dell users.

    The problem: When using BT2 with my notebook lid closed the LCD will not turn off.

    The solution: Use of a script to check the state of the lid and either turn on or off the LCD appropriately.

    Step One:
    #From konsole type:
    nano /etc/acpi/events/lid
    action=etc/acpi/ %e
    Step Two:
    nano /etc/acpi/
    if grep -q open /proc/acpi/button/lid/LID/state
            XAUTHORITY="$( ps -C xinit f|tail -n 1|sed s/.*-auth\ //|sed s/serverauth.*/Xauthority/ )" /usr/bin/xset -display :0.0 dpms force on
            XAUTHORITY="$( ps -C xinit f|tail -n 1|sed s/.*-auth\ //|sed s/serverauth.*/Xauthority/ )" /usr/bin/xset -display :0.0 dpms force off
    Now you should have a file called lid located @ /etc/acpi/events/ and a file called located @ /etc/acpi/

    Thanks go to my Google'Fu™
    Μολὼν λαβέ - Great spirits encounter heavy opposition from mediocre minds.

  2. #2
    Senior Member
    Join Date
    Apr 2007


    Yep! I remember this problem of yours. From way back in June!! I tried to give you my Dell Latitudes c610 nano /etc/X11/xorg.conf command fix..but it didn't work on yours. I found the it is..
    I remember us banging our heads on this for quite some time! Very glad you figured it all out. Now people with Dell D620 & Dell D820 will be able to close their lid and not have to worry about losing their whole session and having to reboot.

    Excellent work PrairieFire!
    [CENTER][FONT=Book Antiqua][SIZE=5][B][COLOR=blue][FONT=Courier New][COLOR=red]--=[/COLOR][/FONT]Xploitz[FONT=Courier New][COLOR=red]=--[/COLOR][/FONT][/COLOR][/B][/SIZE][/FONT][FONT=Courier New][COLOR=Black][SIZE=6][B] ®[/B][/SIZE][/COLOR][/FONT][/CENTER]
    [CENTER][SIZE=4][B]Remote-Exploit.orgs Master Tutorialist.[/B][/SIZE][SIZE=6][B]™
    [URL=""][B]VIDEO: Volume #1 "E-Z No Client WEP Cracking Tutorial"[/B]
    [URL=""][B]VIDEO: Volume #2 "E-Z No Client Korek Chopchop Attack Tutorial"[/B]
    [URL=""][B]VIDEO: Volume #3 "E-Z WPA/WPA2 Cracking Tutorial"[/B][/URL]

    [URL=""][B]VIDEO: Volume #4 "E-Z Cracking WPA/WPA2 With Airolib-ng Databases"[/B][/URL]

Posting Permissions

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