Difference between revisions of "Talk:Acpid"

From ArchWiki
Jump to: navigation, search
(Banner to warn users that logind already implements some of these tips?: new section)
m (Banner to warn users that logind already implements some of these tips?)
Line 39: Line 39:
 
== Banner to warn users that logind already implements some of these tips? ==
 
== Banner to warn users that logind already implements some of these tips? ==
  
:Hi! I think it can be useful if we put a banner on top of this page to warn users that logind already implements some acpid features. Eventually we can highlight which of :these features are already implemented, and a link to the systemd wiki page. [[User:Nierro|Nierro]] ([[User talk:Nierro|talk]]) 17:40, 3 August 2013 (UTC)
+
Hi! I think it can be useful if we put a banner on top of this page to warn users that logind already implements some acpid features. Eventually we can highlight which of these features are already implemented, and a link to the systemd wiki page. [[User:Nierro|Nierro]] ([[User talk:Nierro|talk]]) 17:40, 3 August 2013 (UTC)

Revision as of 17:40, 3 August 2013

Slimlock configuration

on a macbook air 4,2 i could not get the suggested configuration for slimlock on lid close to work:

DISPLAY=:0.0 su -c - username /usr/bin/slimlock

i had to use:

su -s $USERNAME /bin/sh -c "/usr/bin/slimlock"

(suggested complimentary configuration)

Screen Brightness

I had no luck with a screen brightness step of 1, in acpi handler. Adding these clauses to handler.sh works better.

   video/brightnessdown)
       bl_dev=/sys/class/backlight/acpi_video0
       actual_bl=`cat $bl_dev/actual_brightness`
       # Lower brightness has no effect until it is lowered enough to change actual_brightness.
       # Brightness less than 10 causes problems when increasing!
       while [ $actual_bl -gt 10 -a $actual_bl == `cat $bl_dev/actual_brightness` ]
       do
           echo $((`cat $bl_dev/brightness` - 1)) > $bl_dev/brightness
       done
       ;;
   video/brightnessup)
       bl_dev=/sys/class/backlight/acpi_video0
       actual_bl=`cat $bl_dev/actual_brightness`
       # Change in brightness has no effect until it is changed enough to change actual_brightness.
       while [ $actual_bl -lt 100 -a $actual_bl == `cat $bl_dev/actual_brightness` ]
       do
           echo $((`cat $bl_dev/brightness` + 1)) > $bl_dev/brightness
       done
       ;;

Dave Cohen (talk) 12:34, 4 July 2013 (UTC)

Hi! I think it can be useful if we put a banner on top of this page to warn users that logind already implements some acpid features. Eventually we can highlight which of these features are already implemented, and a link to the systemd wiki page. Nierro (talk) 17:40, 3 August 2013 (UTC)