{"id":3802,"date":"2021-01-02T14:43:45","date_gmt":"2021-01-02T20:43:45","guid":{"rendered":"http:\/\/www.incredigeek.com\/home\/?p=3802"},"modified":"2021-01-02T14:43:45","modified_gmt":"2021-01-02T20:43:45","slug":"oled-screen-brightness-on-fedora-33","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/oled-screen-brightness-on-fedora-33\/","title":{"rendered":"OLED Screen Brightness on Fedora 33"},"content":{"rendered":"\n<p>By default Linux and OLED displays don&#8217;t really want to play well together.  icc-brightness is a handy utility that resolves the problem, but all the instructions I found online were for Ubuntu\/Debian based distributions.  <\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/udifuchs\/icc-brightness\">https:\/\/github.com\/udifuchs\/icc-brightness<\/a><\/p>\n\n\n\n<p>Fortunately, after a few failed attempts to compile the program I was able to figure out which dependency was required.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[admin@local icc-brightness]$ sudo make\ncc -W -Wall  icc-brightness-gen.c -l lcms2  -o icc-brightness-gen \nicc-brightness-gen.c:9:10: fatal error: lcms2.h: No such file or directory\n    9 | #include <strong>&lt;lcms2.h><\/strong>\n      |          ^~~~~~~~~\ncompilation terminated.\nmake: *** [Makefile:10: icc-brightness-gen] Error 1\nadmin@local icc-brightness]$<\/pre>\n\n\n\n<p>We are missing the lcms2-devel package.  Not sure if the utils package is required, but installed it anyway.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo dnf install lcms2-utils lcms2-devel<\/pre>\n\n\n\n<p>With that installed we can now make and install icc-brightness<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo make install<\/pre>\n\n\n\n<p>Reboot the laptop and it should automatically start icc-brightness in the background and the brightness controls should work<\/p>\n\n\n\n<p>You can find more information for installing on Debian based systems at the following link.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-appaper wp-block-embed-appaper\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"kNtvmOWc1s\"><a href=\"https:\/\/appaper.com\/oled-laptop-screen-brightness-control-linux\/\">OLED Laptop Screen Brightness on Linux<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;OLED Laptop Screen Brightness on Linux&#8221; &#8212; Appaper\" src=\"https:\/\/appaper.com\/oled-laptop-screen-brightness-control-linux\/embed\/#?secret=Njdy2oJD1k#?secret=kNtvmOWc1s\" data-secret=\"kNtvmOWc1s\" width=\"584\" height=\"329\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>By default Linux and OLED displays don&#8217;t really want to play well together. icc-brightness is a handy utility that resolves the problem, but all the instructions I found online were for Ubuntu\/Debian based distributions. https:\/\/github.com\/udifuchs\/icc-brightness Fortunately, after a few failed &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/oled-screen-brightness-on-fedora-33\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24,3],"tags":[813,491,19,1151,1106],"class_list":["post-3802","post","type-post","status-publish","format-standard","hentry","category-fedora-2","category-linux","tag-brightness","tag-dnf","tag-fedora","tag-icc-brightness","tag-oled"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/3802","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=3802"}],"version-history":[{"count":1,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/3802\/revisions"}],"predecessor-version":[{"id":3803,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/3802\/revisions\/3803"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=3802"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=3802"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=3802"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}