You are not logged in.

#1 2008-06-24 03:18:46

venky80
Member
Registered: 2007-05-13
Posts: 1,002

how to implement lid button pm-suspend for new acpid handler.sh

I have read the wiki and forums what would be the best way to implement lid switch to suspend.
it seems /etc/acpi
has two folders events and actions, so in wiki praktured wrote a new way to implement stuff, please can someone throw some light on the new method?


Acer Aspire V5-573P Antergos KDE

Offline

#2 2008-06-24 03:25:10

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,329

Re: how to implement lid button pm-suspend for new acpid handler.sh

Only /etc/acpi/events/ and /etc/acpi/handler.sh belongs to acpid package. What's wrong with just editing handler.sh?

Offline

#3 2008-06-24 14:43:42

venky80
Member
Registered: 2007-05-13
Posts: 1,002

Re: how to implement lid button pm-suspend for new acpid handler.sh

See the wiki, I am not sure there was some comment saying pacman will overwrite it in future ..and it is not a good way of implementing etc.
Why do I have actions folder is it because of laptop-tools ?


Acer Aspire V5-573P Antergos KDE

Offline

#4 2008-06-25 02:43:28

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,329

Re: how to implement lid button pm-suspend for new acpid handler.sh

I don't know, I have that actions folder as well, but it doesn't belong to any package (but I might have laptop-tools installed at some point).
If you take a look at the PKGBUILD for acpid, you'll see
backup=('etc/acpi/handler.sh' 'etc/acpi/events/anything')
which to me means that pacman will not overwrite these, just create .pacnew files.

Offline

Board footer

Powered by FluxBB