{"id":1513,"date":"2022-01-07T19:56:07","date_gmt":"2022-01-07T19:56:07","guid":{"rendered":"https:\/\/www.ishygddt.xyz\/~blog\/?p=1513"},"modified":"2022-06-10T21:49:57","modified_gmt":"2022-06-11T02:49:57","slug":"linux-picom-mate","status":"publish","type":"post","link":"http:\/\/www.ishygddt.xyz\/~blog\/2022\/01\/linux-picom-mate","title":{"rendered":"Switching to Picom (Compton) on the MATE desktop"},"content":{"rendered":"<p>You may have read some convoluted (and outdated\u2014Compton was abandoned in 2017) tutorials on the matter like <a href=\"https:\/\/www.maketecheasier.com\/speed-up-linux-desktop-with-compton\/\">MakeTechEasier's<\/a>, or perused the excellent <a href=\"https:\/\/wiki.archlinux.org\/title\/Compton\">Arch Wiki's page on it<\/a> to some despair, but if you are just a layperson who installed the MATE desktop for e.g. Ubuntu 20.04 (Fossa) and wants a slightly faster (i.e. GPU-accelerated) environment, there is a workaround that doesn't take too long to set up:<\/p>\n<ol>\n<li>Open System Tools, Terminal, and run the following commands:\n<ul>\n<li><code class=\"language-sh\" data-line=\"\">sudo add-apt-repository ppa:yurivkhan\/picom #iff on Ubuntu<\/code><\/li>\n<li><code class=\"language-sh\" data-line=\"\">sudo apt install picom #or appropriate command<\/code><\/li>\n<li><code class=\"language-sh\" data-line=\"\">grep -q picom `which mate-tweak` || (printf &#039;%s\\n&#039; &#039;#!\/bin\/bash&#039; &#039;# Workaround:&#039; &#039;# https:\/\/github.com\/ubuntu-mate\/mate-tweak\/issues\/84&#039; &#039;for arg do&#039; &#039; shift&#039;  &#039; [ &quot;$arg&quot; = &quot;opengl-swc&quot; ] &amp;&amp; continue&#039;  &#039; [ &quot;$arg&quot; = &quot;--paint-on-overlay&quot; ] &amp;&amp; continue&#039;  &#039; [ &quot;$arg&quot; = &quot;--clear-shadow&quot; ] &amp;&amp; continue&#039; &#039;  set -- &quot;$@&quot; &quot;$arg&quot;&#039; &#039;done&#039; &#039;exec -a compton picom &quot;$@&quot;&#039; | sudo tee \/usr\/local\/bin\/compton &amp;&amp; sudo chmod -v +x \/usr\/local\/bin\/compton)<\/code><\/li>\n<\/ul>\n<\/li>\n<li>Open Preferences, <strong>MATE Tweak<\/strong>, Windows; go down to Window Manager and select \u201cMarco (Picom)\u201d or, if you don't see that, \u201cMarco (Compton)\u201d<\/li>\n<\/ol>\n<p>That's it! Your MATE desktop should run slightly better from here on out.<\/p>\n<p>When mate-tweak <a href=\"https:\/\/github.com\/ubuntu-mate\/mate-tweak\/compare\/22.04.0...22.04.1\">version 22.04.1<\/a> makes it into your repos, even this won't be necessary. But, for now, Ubuntu LTS is running 2 major versions behind on the software anyway, so this blogpost will probably remain relevant for <em>a while<\/em>\u2026<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You may have read some convoluted (and outdated\u2014Compton was abandoned in 2017) tutorials on the matter like MakeTechEasier's, or perused the excellent Arch Wiki article's page on it to some despair, but if you are just a layperson who installed the MATE desktop for e.g. Ubuntu 20.04 (Fossa) and wants a slightly faster (i.e. GPU-accelerated) environment, there is a workaround that doesn't take too long to set up: \u2026<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[96,97],"tags":[78,51,77],"class_list":["post-1513","post","type-post","status-publish","format-standard","hentry","category-howto","category-original-content","tag-hardware-acceleration","tag-linux","tag-mate-desktop"],"_links":{"self":[{"href":"http:\/\/www.ishygddt.xyz\/~blog\/wp-json\/wp\/v2\/posts\/1513","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.ishygddt.xyz\/~blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.ishygddt.xyz\/~blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.ishygddt.xyz\/~blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.ishygddt.xyz\/~blog\/wp-json\/wp\/v2\/comments?post=1513"}],"version-history":[{"count":25,"href":"http:\/\/www.ishygddt.xyz\/~blog\/wp-json\/wp\/v2\/posts\/1513\/revisions"}],"predecessor-version":[{"id":1517,"href":"http:\/\/www.ishygddt.xyz\/~blog\/wp-json\/wp\/v2\/posts\/1513\/revisions\/1517"}],"wp:attachment":[{"href":"http:\/\/www.ishygddt.xyz\/~blog\/wp-json\/wp\/v2\/media?parent=1513"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.ishygddt.xyz\/~blog\/wp-json\/wp\/v2\/categories?post=1513"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.ishygddt.xyz\/~blog\/wp-json\/wp\/v2\/tags?post=1513"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}