{"id":34340,"date":"2021-08-09T16:19:15","date_gmt":"2021-08-09T16:19:15","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=34340"},"modified":"2021-08-09T16:19:15","modified_gmt":"2021-08-09T16:19:15","slug":"polychromatic-0-7-control-razer-rgb-lighting-linux","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2021\/08\/polychromatic-0-7-control-razer-rgb-lighting-linux\/","title":{"rendered":"Polychromatic 0.7 Released, New UI \/ CLI to Control Razer RGB Lighting in Linux"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/08\/openrazer-icon250.png\" alt=\"\" width=\"250\" height=\"250\" class=\"alignleft size-full wp-image-34341\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/08\/openrazer-icon250.png 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/08\/openrazer-icon250-150x150.png 150w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/p>\n<p><b>Got Razer peripherals? Polychromatic released version 0.7.0 with redesigned UI and command line interface to control the RGB lighting in Linux.<\/b><\/p>\n<p>For those never heard of Polychromatic, it&#8217;s a free open-source vendor agnostic front-end for managing lighting, RGB effects and some special functionality for keyboards, mouse, keypads and other gaming peripherals.<\/p>\n<p>It so far only supports <a href=\"https:\/\/github.com\/openrazer\/openrazer\/\" rel=\"noopener\" target=\"_blank\">OpenRazer<\/a> as backend for Razer devices. Though it aims to add OpenRGB and phue for Philips Hue and more brands support.<\/p>\n<p>The software now <i><b>uses PyQt5 instead of WebKitGTK<\/b><\/i> for its graphical user interface. And it redesigned the UI with following features:<\/p>\n<ul>\n<li>New tab &#038; sidebar interface.<\/li>\n<li>New preferences dialog.<\/li>\n<li>New colour picker dialog and saved colour management.<\/li>\n<li>New &#8220;Apply to All&#8221; section<\/li>\n<li>New &#8220;Inspect Matrix&#8221; for testing LEDs and co-ordinates<\/li>\n<li>New DPI controls, allowing independent X\/Y axis.<\/li>\n<li>Add ability to set custom DPI stages.<\/li>\n<li>Ability to use &#8220;native&#8221; system theme.<\/li>\n<\/ul>\n<div id=\"attachment_34342\" style=\"width: 610px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/08\/polychromatic-newui.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-34342\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/08\/polychromatic-newui-600x375.jpg\" alt=\"\" width=\"600\" height=\"375\" class=\"size-large wp-image-34342\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/08\/polychromatic-newui-600x375.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/08\/polychromatic-newui-300x188.jpg 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/08\/polychromatic-newui-768x480.jpg 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/08\/polychromatic-newui-1536x960.jpg 1536w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/08\/polychromatic-newui-2048x1280.jpg 2048w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><p id=\"caption-attachment-34342\" class=\"wp-caption-text\">polychromatic new UI<\/p><\/div>\n<p>The indicator menu in the release is also overhauled with legacy GTK Status Icon support, and new options.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/08\/polychromatic-indicator.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/08\/polychromatic-indicator-300x264.jpg\" alt=\"\" width=\"300\" height=\"264\" class=\"aligncenter size-medium wp-image-34348\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/08\/polychromatic-indicator-300x264.jpg 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/08\/polychromatic-indicator.jpg 477w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>The release also introduced a <b>new command line interface<\/b> for terminal warrior. You can get started by running command in terminal: <\/p>\n<pre>polychromatic-cli --help<\/pre>\n<p>For any device capable of individually addressable LEDs, you can now <i><b>create your own static and animated effects via the Effect Editor,<\/b><\/i> by clicking &#038; draging with your pointer to draw on a graphic representing your devices, or use a grid.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/08\/effect-editor.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/08\/effect-editor-600x366.jpg\" alt=\"\" width=\"600\" height=\"366\" class=\"aligncenter size-large wp-image-34343\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/08\/effect-editor-600x366.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/08\/effect-editor-300x183.jpg 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/08\/effect-editor-768x468.jpg 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/08\/effect-editor-1536x937.jpg 1536w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/08\/effect-editor-2048x1249.jpg 2048w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>So far the device graphics are available for the following devices: Razer BlackWidow Chroma, Razer BlackWidow Elite, Razer DeathStalker Chroma, Razer Huntsman Elite, Razer Mamba Elite, Razer Mamba Tournament Edition, Razer Blade Stealth (2016), Razer Blade (2018), Razer Blade Pro (2019), Razer Firefly, Razer Base Station Chroma. While the grid is always available.<\/p>\n<p>Other changes include:<\/p>\n<ul>\n<li>App can run without OpenRazer, but will be limited.<\/li>\n<li>Add support for multizoned hardware.<\/li>\n<li>Support custom effects for all compatible hardware.<\/li>\n<li>New troubleshooter and new configuration editor.<\/li>\n<li>New and updated icons.<\/li>\n<\/ul>\n<h3>How to Install Polychromatic in Ubuntu:<\/h3>\n<p>The Polychromatic team maintains official <a href=\"https:\/\/launchpad.net\/~polychromatic\/+archive\/ubuntu\/stable\/\" rel=\"noopener\" target=\"_blank\">Ubuntu PPA<\/a> that so far supports for Ubuntu 18.04, Ubuntu 20.04, Ubuntu 21.04, Ubuntu 21.10, and Linux Mint 20.<\/p>\n<p>Open terminal from start menu, paste the command below and hit run to add the PPA:<\/p>\n<pre>sudo add-apt-repository ppa:polychromatic\/stable<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/08\/polychromatic-ppa-focal.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/08\/polychromatic-ppa-focal.png\" alt=\"\" width=\"600\" height=\"231\" class=\"aligncenter size-full wp-image-34344\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/08\/polychromatic-ppa-focal.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/08\/polychromatic-ppa-focal-300x116.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>Also add the <a href=\"https:\/\/launchpad.net\/~openrazer\/+archive\/ubuntu\/stable\" rel=\"noopener\" target=\"_blank\">OpenRazer PPA<\/a> for the backend package:<\/p>\n<pre>sudo add-apt-repository ppa:openrazer\/stable<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/08\/openrazer-ppa-focal.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/08\/openrazer-ppa-focal.png\" alt=\"\" width=\"600\" height=\"221\" class=\"aligncenter size-full wp-image-34345\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/08\/openrazer-ppa-focal.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/08\/openrazer-ppa-focal-300x111.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>Finally update package cache, install it as well as OpenRazer daemon:<\/p>\n<pre>sudo apt update\r\n\r\nsudo apt install polychromatic openrazer-daemon<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/08\/apt-polychromatic.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/08\/apt-polychromatic.png\" alt=\"\" width=\"600\" height=\"378\" class=\"aligncenter size-full wp-image-34346\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/08\/apt-polychromatic.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/08\/apt-polychromatic-300x189.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<h3>Uninstall Polychromatic &#038; OpenRazer:<\/h3>\n<p>To remove them simply run apt command with <i>remove<\/i> flag:<\/p>\n<pre>sudo apt remove --autoremove polychromatic openrazer-daemon<\/pre>\n<p>And you can remove the 2 Ubuntu PPAs by launching &#8220;Software &#038; Updates&#8221; and navigating to &#8220;Other Software&#8221; tab. Then remove the relevant lines from the list:<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/08\/remove-polychromatic-ppa.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/08\/remove-polychromatic-ppa.png\" alt=\"\" width=\"600\" height=\"289\" class=\"aligncenter size-full wp-image-34347\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/08\/remove-polychromatic-ppa.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/08\/remove-polychromatic-ppa-300x145.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>Got Razer peripherals? Polychromatic released version 0.7.0 with redesigned UI and command line interface to control the RGB lighting in Linux. For those never heard of Polychromatic, it&#8217;s a free open-source vendor agnostic front-end for managing lighting, RGB effects and some special functionality for keyboards, mouse, keypads and other gaming peripherals. It so far only [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":34342,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[1708],"class_list":["post-34340","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","tag-razer-chroma"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/34340","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=34340"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/34340\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/34342"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=34340"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=34340"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=34340"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}