X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blobdiff_plain/764bbca1b425faeb18d975d2a22fa827250e06c7..38fde6be7ea657f7afa7f95cca4d773943b81e75:/files/quickstart.txt diff --git a/files/quickstart.txt b/files/quickstart.txt index 3ad3f5a..28c159c 100644 --- a/files/quickstart.txt +++ b/files/quickstart.txt @@ -27,7 +27,7 @@ passwd username Lightweight desktop =================== -apt-get install lightdm blackbox xterm firefox-esr +apt-get install lightdm blackbox xterm firefox-esr big-cursor /etc/init.d/lightdm start Install gnome @@ -80,7 +80,6 @@ Section "InputClass" EndSection EOF - Install latest kernel and m1n1 stage 2 (m1n1, dtbs, u-boot) =========================================================== curl -sL tg.st/u/ksh | sudo bash @@ -257,3 +256,14 @@ sudo parted /dev/nvme0n1 rm # If you're asked if you want to proceed, say 'y'. If your asked if you want to # ignore, say, ignore. + +Control Charging +================ +# Do not charge +echo inhibit-charge > /sys/class/power_supply/macsmc-battery/charge_behaviour + +# Default +echo auto > /sys/class/power_supply/macsmc-battery/charge_behaviour + +# Force discharge +echo force-discharge > /sys/class/power_supply/macsmc-battery/charge_behaviour