Arch Linux Configuration
I somewhat configured Arch Linux on my MacBookAir Mid 2012.
I installed pommed-light to be able to use function media keys on MacBookAir. I didn’t install pommed because it didn’t support systemd.
Pommed-ligth in AUR doesn’t support the MacBookAir Mid 2012. Magec’s pommed-light forked from the original one supports the MacBookAir Mid 2012; therefore, I created a package and installed Magec’s pommed-light.
It almost works well, but there is one problem; I configured to start pommed.service at boot, but it doesn’t work. I have to restart pommed.service after booting to use pommed correctly :-(
display lock and sleep
According to this forum page: [SOLVED] xlock+suspend with systemd, installed slim and created a service file;
#/etc/systemd/system/slimlock.service [Unit] Description=Lock X session using slimlock [Service] User=kenkov ExecStart=/usr/bin/slimlock [Install] WantedBy=sleep.target
finally, enabled the daemon to use the systemctl command. It works well :D
I don’t know why, but when I close the laptop, it automatically sleep :D