We can't find the internet
Attempting to reconnect
Something went wrong!
Attempting to reconnect
JustAGuy Linux ยท 1.1K views ยท 106 likes
Analysis Summary
Worth Noting
Positive elements
- This video provides a practical, step-by-step guide on how to implement a systemd-based notification system for a custom bash script, which is highly educational for Linux users.
Influence Dimensions
How are these scored?About this analysis
Knowing about these techniques makes them visible, not powerless. The ones that work best on you are the ones that match beliefs you already hold.
This analysis is a tool for your own thinking โ what you do with it is up to you.
Related content covering similar topics.
Linux Terminal Tips & Tricks #13 - systemd-inhibit - Block reboot, shutdown, suspend events
sleepyeyesvince
Learn Linux TV's Linux Swag Shop #linux #swag #merch
Learn Linux TV
๐ฌ Download and Play YouTube Clips with bash/Go
RWXROB
How to Automate Linux Backups Using rsync and systemd
Learn Linux TV
Build a Custom Linux MOTD with Bash and systemd!
Learn Linux TV
Transcript
Hello and welcome to the channel. My name is Drew. This is Just a Guy Linux. And this is my second video in two days. And this comes on the heels of me doing a video on Butternotes. Let's look take a look real quick. It's done, 1226 views in a 15 hour period. Thanks for those that have taking taken a look at that uh video. It is greatly appreciated. And I will say that I think butter to-do is better than butternotes. That's just my personal opinion. I wanted to put out Butternotes first because like I said yesterday, I was kind of disillusioned by some of the notetaking applications that I looked at. Butter to-do. I don't know if I've taken a real look at other uh to-do type of applications. This one just seems to be good and works for me. So, let's take a deeper look. On first glance, you're going to know that there is similarities. I would say 50 or 60% of the code is similar uh between the notes and the to-do application. Um there is some changes and I'm I'm going to go over here to uh butter to-do on codeberg. Um, one thing that is recommended is this at. And it's so strange. I, you know, it's like, okay, how do you get it? It's pseudoapp install at. And what is that for? It's, that's what I use for the reminder function. Okay? And you'll get we'll get to that in a minute, but just so you know, um, that is something that is recommended. Now, as we go down the page uh into this usage area, I would familiarize myself if you are interested in using um or even just trying it. Uh the reason why is because you may want to set some keybinds to one or two or three or however many that you want. Now, I'm going to go over here because I only set two and I actually changed because this is from yesterday. Uh on the butternotes I changed I I actually had this um exec butternotes-quick to alt space and I actually on my own machine I use alt space for butter todo d-quick. So uh just from an ease of use perspective alt t butter todo alt space butterto-do quick. Now, we're going to we'll get into this in about two seconds, okay? But, uh, let's go back over here. And you're going to look at due dates and reminders, okay? So, what's the difference? One is in the future clearly, and one we want to say, oh, remind me in like five minutes to do this or 30 minutes or tomorrow at five o'clock. And it will just pop up as a reminder. Whereas, um, a to-do is going to kind of like stay there, um, and continue to remind you until you say this, uh, this task is now complete. There's a lot more to explain, but instead of taking any more time, let's just actually get to it and then I'll go back. Um, so I cloned the codeberg.orgjustagguy /justaguy Linuxbutttodo. I am now in the buttertodo directory and you'll see that this install.sh and again I'm just going to there like I said there's more to um there's more to talk about and enable due date notifications and it checks every 30 minutes. Uh this is a systemd uh timer so I'm just going to say yes. Okay. and it automatically moved everything to where it needs to go. And you'll note that it goes to a doconfig systemd user butter to-doot timer. Okay. So, if you want it to change, say like look for notifications uh and you want it to be different than 30 minutes, you would go to one of these two and change uh and change the timer so that it is more or less frequent. There you go. Okay. Before moving on, let's verify there are no notifications. I'm using Sway notification center. Nothing is showing up here. And if I go over here, I'm about to use the alt space. It is the quick. I think this is how most people would use the application, myself included. Uh I'm going to use alt space to do butter to-doquick. Okay, so let's go over here and say alt space. And we're going to say uh change the read me for butter to-do. Okay. And it's going to ask me, okay, do I want to be reminded? And so I am going to say, yeah, remind me in a minute. Now, I can put anything I want. But up here, you're going to see 3:48. Okay, let me go ahead and close that. 3:48. So, when 3:49 rolls around, uh you're going to see a new uh notification up here to be reminded uh of that task. Okay. And before I I don't know what time it was. It could have been 3:4801. Oh, there it goes. 3:49. And it just reminded me Butter to-do reminder. Change the read me for Butter uh to-do. And it does show up right here as well. So if you do miss it, um it will be there. Now, alt t to bring up butter to-do. Okay. And if I want to just go ahead and delete it, I can just use alt d right here if I want to add alt a. But let's go ahead and just select it. All right. And I can mark it as done. I wanted to make sure that I did that so that I could say I could actually check things off. So it just automatically just puts a striketh through uh when a task is complete and um if I want to I can just go ahead and clear uh if it is now done. So I just do that and now that task um that striketh through task is has been cleared from our tasks uh list. Now I want to return to what is actually happening behind the scenes a little bit. Uh, we just talked about a quick uh method to add a task, a reminder. Haven't done a to-do or sorry, a due date yet, but we'll get to that in a second, I think. But I want to just go ahead and add another task. And we'll just say um um upload video to YouTube. Okay. And it just added. Now, what happened? Okay. Okay, I'm going to escape and I'm going to workspace 5 because I want to show where the data is um for this to-do application. It's a simple markdown file and it's going to be located in the same directory as butter notes or the notes markdown file that we talked about yesterday is in this directory and this could be synced using a number of different kind of like sync thing uh nextcloud what have you. Um and it it's stored in a markdown file like the notes application. Okay. So you're going you can see it uh just as a simple uh markdown file. Now what happens if I go to um my butter to-do and I select that top uh task and I mark it as done. It's going to strike through here. But you'll also notice right there that uh the markdown file has been uh updated. Now, as I mentioned before, a reminder and a due date are very different in that a reminder is going to remind you one time, and it will not, you know, it'll still be in your tasks unless you either mark it as done um or delete it. But if you want to be reminded and then continually reminded, you're going to have to set a due date. So, let's add another task and just say um edit the video. Okay. And now you're going to want to um select it and you're going to set a due date. Okay. And it's going to function very much like uh today today um 4:15 p.m. Okay, which is five minutes from now. Okay. And you can see actually the to-do um um the to-dos.m MD got updated. All right. Now, let's let's go we'll go ahead and um escape. Now, it's not going to remind me um because the half hour is not going to be for another 19 minutes. So, let's set the reminder to be every minute. Now, this is I would not do this. I'm just letting you know. Okay. So, if I go to the calendar and um which is the butter to-do uh check timer, again, this is in the config systemd user. Um, and I'm just going to um set this as um star. I think it's just star. There we go. And then I'm going to save this. And let's go ahead and um open up a terminal. And I'm going to say uh systemctl um d- user damon reload. I wish I could type better. Okay. Oh, right there. Okay. So, task due due today uh 4:15. Edit the video. Okay. So, um, let's go ahead and just just for my own thought, let me just go ahead and, uh, restart. I I don't think I need it. Restart. Uh, butter to-do, uh, check timer. Okay. Yeah, I think I I don't think I think I took an extra step there, but it doesn't really matter. So, you get the idea. one of those. Uh, this is all that was really required. Okay. Now, um, let's go back over here and we're gonna, you know, I'm going to pause the video probably just so that you don't have to keep like looking at this. But if I, let's say I go over here and at 4:14 it's going to remind me again. At 4:15, I'm not sure. It'll either remind me or it'll say past due. But let's go ahead and just open up um and say edit the video. And it is due at 2:21 at 16:15. Um right there. Hit the wrong button. Okay. Let's go here. Task due. Edit the video. Clear. Okay. That way we can we can um we can figure this out. Uh I you know I don't you know here's the thing. Do I use the due date? Not a lot. I use the reminder a lot more. Um, but at the same time, I understand that it is a kind of cool function to have uh that will continually remind you uh when uh when something is getting to an actual due date. And now you're going to see there's another uh there's another um reminder. Actually, it's not a reminder. It's a notification of a due um event. Okay. Um 4:15 just rolled around and it says that now the task is overdue. Okay. So, if I go to alt t, it's going to show this kind of like, oh, look at that. You're uh overdue. And it's going to remind you, at least the way the timer is set up currently, it's going to remind you every minute, uh, that you have an overdue uh, task that needs your immediate attention. Now, again, I I use this infrequently, but I wanted to make sure that if you are someone that kind of operates on a deadline, um, I I have more soft deadlines like, hey, remind me in like an hour to do this. So, it gives you a an idea. Uh hopefully in about there it is. There's another uh so it's going to remind you that your task due is overdue every minute until that uh task is complete. Now look, I know that there are a hundred to-do applications out there. Uh I've tried none of them, okay? Um this is just happened to fit my workflow. There's no database. There's no Electron app. There's just a markdown file. I can read it on my phone. Um, it basically was a uh like a thought experiment, a mental exercise if you will. And between those two, butter to-do and butter notes, um, I use both. Uh, I use this one a little bit more, frankly. Um, I just think that I'm much more kind of like task oriented as opposed to and that's really weird for me because I have taken quite a few notes in my life. Um, but at the same time I think that uh at least right now I'm much more task oriented. So with that said, thank you for watching and see you next time.
Video description
Yes, it's called buttertodo. No, you will never use it, but that's OK with me. A rofi-based todo app written in bash. Hit a keybind, type something, find it and add to task list. Plain markdown files, no database, no proprietary format. ๐๏ธ Coverage: - Quick capture via keybind (--quick) - Plain markdown storage and sync with Nextcloud/Syncthing ๐ Repository: https://codeberg.org/justaguylinux/buttertodo #Bash #Linux #Rofi #Productivity ---๐ค About JustAGuyLinux: I'm not an expert, just a guy who uses Linux. Sharing real-world setups, and practical guides for everyday users. ๐ Important Links: Wiki: https://justaguy.wiki All Projects: https://codeberg.org/justaguylinux ๐ฌ Community & Social: ๐ง Proton Mail: https://proton.me/justaguylinux ๐ Mastodon: https://fosstodon.org/@justaguylinux ๐ฌ Matrix Lounge: https://app.element.io/#/room/#justaguylinux:matrix.org ๐งช The Lab (Forum): https://lab.justaguylinux.com