Warn when battery is low
I am very lazy to look at battery status and want to be warned when the battery is low. This means that even if I am away from the laptop, I can be warned that laptop is about to poweroff due to battery low. So, what kind of alerts I can have, many -
- zenity message box
- sms with twillio
- Telegram message and possibility is endless.
|
|
Put this script somewhere and schedule in cron for every minute and enjoy.
Continue readingSome good find alias.
Here are some interesting alias’s that you may want to add to your bashrc file or where-ever else you add your aliase’s. Very useful if you use find commonly.
There are four aliases defined here and have a comment explaining what it does. but these are so simple and useful that you probably dont even need the comments.
|
|
Hope this is useful for you.
Continue readingBooks menu with bash
If you have a folder full of ebooks in various formats and not necessarily one sigle format and you want to have a quick menu to browse though your collection without requiring to open a File Manager then you are going to love this script.
The scripts works by allowing you to browse to the requied folder of your choice
and once you select the file, then using xdg-open to open the file with your default
viewer.
Podman repositories on ubuntu like distros
Recently I installed podman on ubuntu based dervative. I like podman a lot but to my distress I found that after installation, I was not able to search or run any containers. Found out that the repositories were not configured. So, if you run into such issues, then here is what you need to do. You need to create a file /etc/containers/registries.conf. And the contents of the file for just one docker hub registries would be -
Continue reading