{"id":12804,"date":"2021-12-16T08:07:00","date_gmt":"2021-12-16T08:07:00","guid":{"rendered":"https:\/\/linuxways.net\/?p=12804"},"modified":"2021-12-16T08:07:00","modified_gmt":"2021-12-16T08:07:00","slug":"how-to-install-and-use-redshift-in-ubuntu","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/ubuntu\/how-to-install-and-use-redshift-in-ubuntu\/","title":{"rendered":"How to Install and Use Redshift in Ubuntu"},"content":{"rendered":"<p>Redshift is a more effective and amazing tool in case you are using a laptop\/PC for a longer period of time. You can also take advantage of redshift for regular use cases. As redshift has an outstanding feature of maintaining the color temperature of your laptop\/PC screen as per your wish. It can adjust color temperature for daylight or the night time too. With this feature, it makes the users more comfortable to use their laptop\/pc.<\/p>\n<p>In this article, we are going to install and show the cool feature by using it on Ubuntu 20.04 LTS.<\/p>\n<h2>How to install Redshift in Ubuntu 20.04 LTS<\/h2>\n<p>You can install Redshift in Ubuntu directly from its repository with the command as shown below.<\/p>\n<p>First let&#8217;s update the repo with the following command.<\/p>\n<pre>$ sudo apt update -y<\/pre>\n<p>Secondly, let&#8217;s install the Redshift in Ubuntu 20.04 LTS with the following command.<\/p>\n<pre>$ sudo apt install redshift redshift-gtk -y<\/pre>\n<h2>How to configure and Use Redshift in Ubuntu 20.04 LTS<\/h2>\n<p>You can search for the default configuration file at ~\/.config\/redshift.conf, if not available you can create a file and write the configurations as per your need for the color temperature. The daytime temperature is 6500K by default and 4500K for night. You can adjust as per your need.<\/p>\n<p>You can create your configuration file with an editor like vim as shown below.<\/p>\n<pre>$ vim ~\/.config\/redshift.conf<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"690\" height=\"616\" class=\"wp-image-12805\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-112.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-112.png 690w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-112-300x268.png 300w\" sizes=\"auto, (max-width: 690px) 100vw, 690px\" \/><\/p>\n<p>Save the configuration now. Here, you can see configurations for temp-day, temp night, dawn-time, dusk-time, brightness-day, brightness-night, gamma, latitude, longitude, and screen. You can also change or adjust these configurations by running the syntax as shown below.<\/p>\n<p>Adjusting Gamma for day and night<\/p>\n<p>gamma = 0.8<\/p>\n<p>Adjusting Gamma for day only<\/p>\n<p>gamma-day = 0.8:0.7:0.8<\/p>\n<p>Adjusting Gamma for night only<\/p>\n<p>gamma-night = 0.6<\/p>\n<p>Adjusting the color temperature for day only<\/p>\n<p>temp-day = 5600<\/p>\n<p>Adjusting the color temperature for night only<\/p>\n<p>temp-night = 3500<\/p>\n<h2>How to Use Redshift with GUI in Ubuntu<\/h2>\n<p>You have learned to use redshift with the command line and set the configurations as per your need. But normally, you can also use redshift with GUI interface. You can simply search it on the application manager and it will be launched after you select redshift.<\/p>\n<p>As for now, as we have already saved the configurations for redshift, it will be launched with that configuration. You can see the redshift icon on notifications bars on your screen. You can see the picture below for further details.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"447\" height=\"239\" class=\"wp-image-12806\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-113.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-113.png 447w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/12\/word-image-113-300x160.png 300w\" sizes=\"auto, (max-width: 447px) 100vw, 447px\" \/><\/p>\n<p>You can simply enable\/disable, suspend or quit the redshift by clicking the options as shown on the picture above.<\/p>\n<h2>Conclusion<\/h2>\n<p>With Redshift, adjusting the color temperature as per your location and need is pretty easy. Try installing and using it for this amazing feature. Thank you!<\/p>","protected":false},"excerpt":{"rendered":"<p>Redshift is a more effective and amazing tool in case you are using a laptop\/PC for a longer period of time. You can also take advantage of redshift&hellip;<\/p>","protected":false},"author":1,"featured_media":13012,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[290,100],"class_list":["post-12804","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ubuntu","tag-redshift","tag-ubuntu-20-04"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/12804","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=12804"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/12804\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/13012"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=12804"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=12804"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=12804"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}