 Hey everybody welcome back to the channel today We're gonna talk a little bit about how to add blur on Linux using pi-con now You might be asking why do I need to blur and the answer is you don't need blur and if you're on an older machine like a laptop from seven to ten years ago or even older you don't want blur You really don't want blur because it takes up Processing and graphics power in order to have this really cool useless feature and Basically, it is a useless feature just makes things look pretty and if anybody who knows me knows that I like to make things look pretty so Today, I'm just going to show you how to add blur to your window manager or desktop environment using pi-com so First in order to do this you actually have to install pi-com Which is a little complicated mostly because there are so many forks. So let me Show you this. This is the fork that we're going to be using. This is called pi-com try one dash get The main fork of pi-com is a fork itself of something called Compton, which is no longer being updated Like I said, there's tons and tons of Forks out there. So it's very easy to get confused as to which one you should use now I use try one even though it has not been updated in several months I wouldn't go so far as to say it is abandoned Because I don't think it actually is but it's not the most updated fork there is there's one that starts with a J That's more updated Like Joanna Berg or Jonah Berg or something That one will also work with blur, I believe it kind of It actually might be the one that's the best for most people. I will I will link it in the video description below As well as this one here But this is the one that I was been able been able to get to work with blur So this is the one I I work now if you want to install it it is in the AUR So you could do something like this. Just open up a terminal. Yay dash s Pi com Tyrone dash get Try what I call Tyrone try one dash get and it will just install like any other program and then what you need to do And I've already done these things so I'm not going to do them again But I'll show you what I need to do what you need to do you need to Make a directory in your config file That config so and then make call it pi com and then you need to cd into that directory cd.config pi com and Then by default this will be a completely empty directory, but you'll need to Change that by doing cp and then this command here. I will also put this in the video description below Like I said, I've already done this as you can tell because I actually have blur here going on in the background Just for you to see so once you've done this you'll this directory will now have a File in it called pi com.com and we can just them into that So if you've never done use them for you you use and them or them I I have an alias called the somebody asked me How do you get an editor that just has V that's just an alias for and them So I don't have to type it all off because I'm a lazy person So just do do this and this brings you to this this file here now Most of the stuff you don't need to be at all Interested in you can mess around with it, but just make sure you maybe make a back always keep that Default thing there just in case you have to go through and reset it to default settings in case you mess something up so what you the first thing you want to do is Search for blur Which is here? Okay, so by default these two things here Are Commented out so you need to uncomment blur method and you need to add this word here in double and in print in my parentheses in quotation marks dual underscore Kawase and then end the the dual quotes and end with us the Semi-colon and then you need to uncomment blur dash size and add a number here. I Believe the default is 12. I went down a little bit the higher the Blur the harder it is to see the background the lower the blur the more like it is just regular transparency now That's a good place to point out that this only works on windows that are transparent So if we go up here a little bit I've added these opacity rules here under the transparency and opacity settings And Basically, this just allows you to set which apps are a little bit transparent I've added termite notion and Nemo now This is termite obviously and you get these names here by using a program called x prop It should already be installed in your system. It just gives you this little pointer here I don't know if you really can see it or not. You probably can't see it But just click on the window you want the name of and then you want the class and you want the second This is the second name here. This is called G the G class and you just copy that into here in in in apostrophes and It will make any program you have set like this into a program that has a Little bit of transparency and then your blur will work on that program So it will also work on some of the programs that have default transparency So like Rofi will now have blur. You really can't see this because it's really kind of dark, but It does have if we go to like a empty workspace here and do that You can see how it has blur. Those are the two things you need to go through and change first the opacity rules and the Blur method then you need to go down here a little bit more And change the back end now by default the back end will be X render you need to comment that Comment that line out and uncomment back end GLX in order for this to work You really don't need to understand what this is but basically if you want to know it's the method that the compositor uses to Show windows or draw windows or something on it's it's a little it's very complicated and I don't understand it I don't I mean unless you're a good developer something I don't know many people who actually do understand it. Anyway, so once you're done with that You just want to you you want to write and quit this thing here Now you're all set up to have blur on your thing, but you probably won't have noticed anything changing Even if you already had pycom installing your system, that's because you need to actually go through and Start pycom. So if we see let's let's clear out of this and see back into the home directory If I kill Compton or pycom now like this, you'll notice my blur goes away So if I wanted to come back I just do pycom and then dash dash experimental back ends and enter and my burq my blur comes back And this is how you do it here now If you want this to be all the time You don't want to have to run it from a terminal You should put it in your auto start file wherever that is if you're on DWM You have auto start patch. You can do it that way. You probably know how to do it If you're on some other app if you're like an i3 you can put this here in your i3 config and that will work You can also bind it to a key binding in an sx-hkd like I have so if I do all control and P My it starts it up in the background and that's the way I've set up I also have it in my auto start program, but I will warn you that this is buggy Every once in a while your modern monitors will go to sleep or your screen will go to sleep and you'll come back And you'll see your screens flashing and and and stuff and don't freak out Just kill set up a key binding to kill pycom Like I have so if I can I can actually show you this so that can fit oops DWM If we look here like here right here. I have a script That will kill pycom here and the pycom is this year PD slash user I can't spell today, and we're gonna just them into Pycom Poggle and that the basic all this does is it checks if pycom is running and not just outputs null and then it kills pycom and then it restarts pycom theoretically It doesn't actually work for me that it restarts pycom for some reason I have a feeling because it's you I'm using a BBS PWM script that just is broken So I actually had to go through and create a second key binding to actually start pycom And see as you can see here. I have pycom dash dash experimental back ends so that it starts up with my blur and That's how you how you do blur on Linux using pycom and it's really Not as hard as it seems now. I've had some problems with it because like you said, it's Buggy it is buggy But it's pretty so I put up with the books. I am going to link to that other repository for pycom I think it's called Joinerberg it might be called something else, but I will link it below I think that you probably will want to use that one the method should be exactly the same and there should be no other Other than downloading a different package from the AUR. It should be exactly the same I don't I did set it up I just couldn't for whatever reason I couldn't get that to work on my computer And that's really something that you're gonna your that might happen to you you might try this and it may not work on your computer because a Combination of like you having a weird graphics card Maybe an out-of-date driver or maybe a to new driver or something somewhere on your system might just not work And in which case I would recommend trying a different fork Try the try one if that doesn't work try the Joinerberg one There are a couple other ones just do your research that the method is the same. It's just the fork the fork is different So that is it for this video if you liked it give it a thumbs up if you didn't give it a thumbs down If you'd like to support the channel, you can do so in a number of ways specifically the easiest way is to subscribe We just hit a hundred and fifty subscribers, which I'm really happy about Just I think that there's a hundred and fifty people out there that that's actually subscribed to this nonsense It just makes me so happy. So thank you for subscribing to all those of you that have and Actually watch the end of the videos surprisingly. There's not a lot of people watch all the way to the end of a YouTube video I don't I don't think I actually have ever Realized that I'm one of those people that don't watch to the end of the video so I probably should move on to these thank yous and stuff to the beginning of the video, but I Think youtubers should start giving away things for people who just pay attention to the end of the videos Um, if maybe if I start making money on this I will I'll do a giveaway and only do it for the people who watched all the way to the end of the video So thank you for watching. I'll see you next time