sudo gedit /etc/modprobe.d/brcmfmac.conf
enter:
options brcmfmac qos=0
options brcmfmac nohwcrypt=1
# This file has been auto-generated by i3-config-wizard(1). | |
# It will not be overwritten, so edit it as you like. | |
# | |
# Should you change your keyboard layout some time, delete | |
# this file and re-run i3-config-wizard(1). | |
# | |
# i3 config file (v4) | |
# | |
# Please see http://i3wm.org/docs/userguide.html for a complete reference! |
# ubuntu 17.04 / macbook pro retina 2015 13 | |
# | |
# place in /etc/systemd/system | |
# systemctl daemon-reload | |
# systemctl enable nowake.service | |
# systemctl start nowake.service | |
# | |
# verify with `cat /proc/acpi/wakeup` | |
# XHC1 should be disabled | |
# disable more as needed |
# source: https://bbs.archlinux.org/viewtopic.php?pid=1170536#p1170536 by 65kid | |
# | |
[Unit] | |
Description=i3lock | |
Before=sleep.target | |
[Service] | |
User=nik | |
Type=forking | |
Environment=DISPLAY=:0 |