Hello Mario, many thanks for your message! Mario Lang (2020/10/06 13:00 +0200): > Sébastien Hinderer <[email protected]> writes: > > > Raphaël POITEVIN (2020/10/06 10:21 +0200): > >> Maybe a cron running a script which check the battery level with > >> acpi. You can send a sound. > > > > Yeah that could be an option indeed. Thanks! > > if [ $(cat /sys/class/power_supply/BAT0/capacity) -lt 10 ] > then play sound > fi
That was a great idea, thanks! I installed it as a cron job and it kind of works, except when X is running becuase that starts PulseAudio, and then the cron job is unable to play sound for a reason I don't know, it seems it does not find PA so that's something that remians to be investigated for me. > For those which use Emacs as their text desktop environment, > there is > M-x battery RET which will display battery status in the echo area and > M-x display-battery-mode RET which will display battery status in the > mode-line. That's good to know! thanks a lot! > I sometimes also use "acpi -bat" on the command line to check the > temperature and how long I will be able to continue working on > battery. Yes, I use the acpi command, too. Thanks a lot for mentionning it. > P.S.: It appears the same things are coming up over and over again for > those of us who do not run a graphical desktop. Yes, I fully share the observation. > Screen curtain and > battery status come to mind. I would maybe add automount... > Maybe it is time to actually write a tool > which somehow collects these small tasks into something that somehow > just works. I would love to have something like > apt install text-mode-junkie > It would make it easy to turn down keyboard and display backlight, play > a sound when battery is low and maybe offer current weather based on the > current IP address. Basically what GNOME 2 used to offer as applets. I would also appreciate having all the features a graphical desktop offers in text mode, but it feels it could be hard to maintain. It's also my impression that we text-mode guys go a bit against the present momentum and that it would be less painful to adapt ourselves to the graphicla world than to try to resist to it. I am writing htis with some sadness, I really don't like the graphical world. Sébastien. _______________________________________________ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: [email protected] For general information, go to: http://brltty.app/mailman/listinfo/brltty
