Battery charged or low notifications Traduire la page en français Webmaster's note: I translated this page with translation websites If you see any errors, please let me know Suspend* ≤ 20% charge remaining Notification** "Plug the PC into an electrical outlet" ≤ 25% charge remaining Notification** "Unplug the PC from the electrical outlet" = 100% charge Notification "The battery is charging..." Notification "The battery is discharging..." • * = repeat every five minutes ** = repeat every minute • For Linux Mint 22, Xubuntu 22.04 and 24.04 Not tested on other distributions, versions • Sources: Icons, suspend and notifications Install Run in terminal: wget -NP /tmp https://tux.alwaysdata.net/batterie.english.tar.xz tar -hvxf /tmp/batterie.english.tar.xz -C ~/ chmod +x .battery/*.sh echo "@reboot root sleep 300 && /home/username/.battery/suspend.sh" | sudo tee -a /etc/cron.d/suspend mkdir .config/autostart mv .battery/*.desktop .config/autostart • Restart the PC • Run in terminal for Linux Mint Cinnamon: sed -i 's/svg/png/g' .battery/*.sh • Restart the PC • Run in terminal for cancel: rm .config/autostart/plug-the-pc-into-an-electrical-outlet-or-unplug-it.desktop rm .config/autostart/the-battery-is-charging-or-discharging.desktop sudo rm /etc/cron.d/suspend • Restart the PC Change icon Not functional on Linux Mint Cinnamon • Icons and their number • Run in terminal: wget -NP /tmp https://tux.alwaysdata.net/batterie.icônes.tar.xz tar -hvxf /tmp/batterie.icônes.tar.xz -C /tmp cp /tmp/batterie.icon number.svg .battery/icon.svg Delete sound Run in terminal: sed -i 's/paplay/#paplay/g' .battery/plug-the-pc-into-an-electrical-outlet-or-unplug-it.sh sed -i 's/paplay/#paplay/g' .battery/the-battery-is-charging-or-discharging.sh • Restart the PC • Run in terminal for cancel: sed -i 's/#paplay/paplay/g' .battery/plug-the-pc-into-an-electrical-outlet-or-unplug-it.sh sed -i 's/#paplay/paplay/g' .battery/the-battery-is-charging-or-discharging.sh • Restart the PC Improve mpv Media Player Elegant theme based on Materia Battery charged or low notifications Get a free foreign IP Icon pack for Materia-Tux Replace OS boot logo A local FTP server and website Your webmaster is also a writer Latest updates Contact |