 So there I was sitting here about 30 minutes ago and I was trying to get some work done here at the computer And I realized it was too quiet in this room. I'm one of these people I don't I can't work in a noise environment, but at the same time, I don't want it to be as silent as the grave I like to have a little ambient background noise some rain or some crickets chirping people walking in a busy city Things like that. So I was thinking well, I could probably search the internet and find some kind of ambient noise app That maybe would sit in my sys tray and I could choose between various ambient noises to play here at my workstation But I was like why bother wasting all that time to go find a program to do this This is such a simple solution a simple problem to solve So what I did is I created a thing the first thing I needed I needed some sound files So what I did is I did a quick search on duck duck go for free to use Ambient sound files and what I came up with was an article actually this article from premium beat calm And this article is four years old now But at the bottom of the article there is a list of 15 ambient sound files There's the titles and the download link which links to a Amazon download link on AWS so I grabbed these 15 sound files here and then I decided what I needed to do was create a Menu script that allowed me to search between these 15 sound files or if I wanted to maybe play a random sound file So let me switch over to my desktop and I'm gonna launch emacs here And this was what I came up with again. I I was sitting here not have an hour ago and Now this looks like it's a lengthy script But it's really not Overall it may be 20 lines of actual bash scripting and a lot of the comments were just copy and paste jobs But it's a lot of the same formats for many of my other D menu scripts But essentially what I do is I create this D menu I have this options array here where I can choose a sound file to play So a single file or I can play a random sound file So just pick one at random and then of course I can stop the player So let me launch this D menu script You see I have ambient sounds this prompt and choose sound file play random sound stop sound player or just quit out of this Menu here and if I choose choose sound file This is a list of those 15 MP3 files that I found from that article And if I wanted to choose one, maybe I want to choose thunderstorm And there is thunderstorm playing now if I wanted to kill that I needed to get back into this menu and choose Stop sound player. So that is how that works by the way I've also set these to where when I played the ambient sound files because these sound files are typically like a minute and a Half two minutes in length what I've set them to is to to loop So the ambient noise will continue until I actually stop the sound player And what I'm using for this is I'm actually using MPV to play those sound files So there is the MPV dash dash loop you have to give it the dash dash loop flag to Repeat a file and I'm not gonna go over the details of this script If you've seen one little bash script you've seen them all But the main point of this was I had a problem I needed to solve and and seriously it just took a few minutes to come up with this It wasn't very complicated and I'm pretty happy with the results I could probably clean this up and make it even more Extensive in some way, but you know what this little script it does exactly what I need and I see so many people out here Especially new to Linux users and people trying to get into scripting and they're not sure why they even need to learn scripting Yeah, like what's the point? I'll never actually need to write a script for anything as a desktop Linux user Well, you'd be surprised you'd be surprised how many times you're sitting here doing work and you come up with something You have this problem that needs to be solved and a lot of times the way to solve it is through a simple script now For those of you that want to see this very quick and dirty script that I wrote I will push it to my git lab and I'll link to the the script itself And I'll also link to those sound files as well in the show description now before I go I need to think a few special people I need to think the producers of the show absy Dallas gave Lou Mitchell Allen economy arch 55 30 choke David the other David Dylan Gregory Lewis Paul Polytech Scott Stevens Ben West and Willie they are the producers of this episode Without these guys I couldn't do what I do I also couldn't do what I do without each and every one of these ladies and gentlemen as well These are all my supporters over on patreon because my channel is sponsored by you guys the community I don't have any corporate sponsors if you'd like to help me out look for distro tube over on patreon. All right guys peace