 Hello there, welcome back to Daniel Stackworld on YouTube, Medium, and DanielRussell.tech. So for today's video I want to take a look at how to set a good blue light filtering setting for you if you're using Linux Ubuntu and using a tool called Redshift. So Redshift is really, really important. I'm currently recording this at about 5am local time, don't ask me why I'm up at this time and the first thing I thought when I turned on my computer was how incredibly bright it was, so I decided to play around with my settings a little bit. Now basically Redshift is a predominantly a command line interface, which is why I have forgotten the commands and why I made this documentation on GitHub and it's also got a little notification area, it's not quite a full-fledged GUI, it just has a notification area icon and that kind of just runs it on startup and lets you see what the current setting is, but I don't really even call it a full GUI because you can't even do something as basic as set the color temperature with it. So very much in order to use Redshift you need to know how to play around with the command line interface CLI, so that's what I'm going to show you today. Now basically the ideal way to run Redshift, put it as a startup script on your computer or install Redshift and if you have, I don't have the notification icon on this screen I'm recording on here in the center, but there's a little enable button there and you can use that to start it up automatically on startup. You can additionally, that will just create and that if you go in through, I'm just going to bring this over here actually. I'm using LXDE and you can see that after you install Redshift is the GTK icon, it has a little button here for installing that. So once that's turned on, Redshift will run, alternatively you could create a manual auto start entry in which you could specify the settings, but the proper way to use it or the kind of ideal way is to apply your settings into this configuration file called redshift.conf. Mine is really, really minimal here, I just have my daytime temperature set in Kelvin, my nighttime temperature and my location and these are kind of the essential things, so that's my latitude and my longitude approximately. Now that's fine and that works, but occasionally I want to adjust how bright the day setting is and how dark the night setting is, so how to do that. So firstly, what I would recommend is just quickly, now I've already done this, just make sure Redshift isn't running and that'll forcibly shut down the program. Okay, so after doing that the next thing you can do is also to clear out Redshift. So basically the way to reset Redshift is Redshift minus X and that'll take off the filtering, any filtering that's been applied, whether through a previous command or through the GUI running in the background, that's a very important command, Redshift minus X. I hope and I expect that the different filtering is going to be obvious on the screen according, if it's not then just trust me that now my screen is very, very bright. Then in order to apply a temperature it's Redshift minus O and I presume Redshift has a manual, I'm just going to call this up, it indeed does have a man, so if you ever need to reference the commands you can do this over here. So you can see minus O temp one-shot manual mode for setting color temperature. Use this with the minus P option to clear the existing gamma ramps before applying the new color temperature. Okay, now in order to set a color temperature you want to go for Redshift minus O and then the temperature, so I'm going to go for let's say 4500 and you'll see that my screen brightness has, the filtering has brought the screen temperature down to 4500 Kelvin. Now what you can do to reset is you can use Redshift minus X or you can use minus P to clear out, minus O to set the new temperature, let's bring it up to 5000 let's say and there we have it at 5000. So whether you use, so I'm just going to do this again, Redshift minus X that's going to clear us out, Redshift minus O, let's bring it down to 3000 and whether you then, if you want to bring it up, if you want to use Redshift minus X or Redshift minus P, minus O, capital P, capital O then the new temperature, it doesn't really matter which one you want to do and that's basically the way I, you know, I just take a look at the screen see if that's workable for me and I find this, this filtering is too much like if you go down all the way to let's say minus P, minus O, 1000 we're going to get extremely, extremely red, I'm just going to clear that out now and then I basically determine what's best for me and then I set this in the configuration file so that I have the day and night temperatures so that's good but it is also handy to, you know, know how to use the command line tool in order to manually adjust the temperature or you can just manually adjust this as you wish every time you run the system, you know there's nothing stopping you just manually running Redshift every time you use your computer just so that you can always choose the color temperature that really suits you best. Hope this has been useful, feel free to get in touch Daniel Rosehill.co.al there's a contact form up on that page, have a great day