I'm curious if there's a way to implement features similar to Android's modes and routines on Linux, especially Linux Mint Debian Edition. On Android, I love being able to control notifications, sounds, and app access based on certain conditions. I want to manage my digital habits on my computer as well. Specifically, I'm looking for a way to block access to certain apps, like Spotify or Steam, during specific hours (like from 1 PM to 3 PM). If there's no existing software for this, I'd love to hear ideas on how I could write a Python or shell script to achieve it. Perhaps something that runs at startup and monitors active applications? I'm open to learning more about this. Thanks in advance!
1 Answer
You could use crontab to schedule killing those apps. Just set it up to terminate Spotify or Steam during those hours. Just a heads up though, if you're the one managing your own restrictions, it might not be as effective since you can disable them at will. But hey, whatever works for you!
I got it working with crontab and a shell script! It’s not just about restrictions for me; it’s more to make me think twice before diving into those time-sucking apps. What I came up with isn’t pretty, but it works for me!