{"id":3830,"date":"2023-06-26T12:18:10","date_gmt":"2023-06-26T11:18:10","guid":{"rendered":"https:\/\/pmortensen.eu\/world2\/?p=3830"},"modified":"2024-11-04T16:56:32","modified_gmt":"2024-11-04T15:56:32","slug":"setting-up-alacritty-to-be-usable-e-g-on-arcolinux","status":"publish","type":"post","link":"https:\/\/pmortensen.eu\/world2\/2023\/06\/26\/setting-up-alacritty-to-be-usable-e-g-on-arcolinux\/","title":{"rendered":"Setting up the terminal\/console program Alacritty to be usable (e.g., on ArcoLinux)"},"content":{"rendered":"<p>The default setup of the terminal program in <a href=\"https:\/\/arcolinux.info\/\">ArcoLinux<\/a> is not OK. In particular, the <strong><em>opacity<\/em><\/strong> makes it practically unusable. Here is a description of how to configure it to get it into a usable state.<\/p>\n<h2>Introduction<\/h2>\n<p>Under the surface, the default terminal program chosen by ArcoLinux is <a href=\"https:\/\/en.wikipedia.org\/wiki\/Alacritty\">Alacritty<\/a>.<\/p>\n<p><!-- Setting up Alacritty to be usable (e.g., on ArcoLinux) --><\/p>\n<h2>The most obvious problem: Transparency<\/h2>\n<p>By default, the window and\/or the desktop underneath bleeds through. This is useless, unnecessary, and makes it unusable! Like for blinking RGB lighting on a mechanical keyboards or the HTML <em>blink<\/em> tag, it may work for demos, but not for any serious use.<\/p>\n<p>Change it to be opaque:<\/p>\n<ol>\n<li>Edit file <em>alacritty.yml<\/em>: <em><\/em>\n<pre class=\"brush: plain; gutter: false; title: ; notranslate\" title=\"\">\r\n        vi ~\/.config\/alacritty\/alacritty.yml\r\n\t<\/pre>\n<p>        (It assumes proficiency with <a href=\"https:\/\/en.wikipedia.org\/wiki\/Vi\">vi<\/a> or <a href=\"https:\/\/en.wikipedia.org\/wiki\/Vim_%28text_editor%29\">Vim<\/a>. If not, use some other editor, like <a href=\"https:\/\/pmortensen.eu\/world2\/2020\/03\/29\/using-geany\/\">Geany<\/a>).<\/li>\n<li>Change the setting &#8216;opacity&#8217; from 0.8 to 1.0. It is about line 70, near &#8220;Background opacity&#8221;<\/li>\n<li>Save and quit:\n<pre class=\"brush: plain; gutter: false; title: ; notranslate\" title=\"\">:wq<\/pre>\n<\/li>\n<\/ol>\n<p>Note: It takes effect immediately. There isn&#8217;t any need to restart anything.<\/p>\n<h2>Zoom<\/h2>\n<p>The initial font size\/zoom level may be too small to comfortable.<\/p>\n<p>Temporary: Use keyboard shortcut <em>Ctrl<\/em> + <em>&#8216;+&#8217;<\/em> (and <em>Ctrl<\/em> + <em>&#8216;-&#8216;<\/em> to zoom out). Note: This does not work for URxvt (see below)<\/p>\n<p><!-- Does not seem to have any effect... \nPermanent: As for transparency, change setting <em>size<\/em> in file <em>alacritty.yml<\/em> (near \"Point size\", likely near line 160):\n\n[code language=\"text\" gutter=\"false\"]\nsize: 18.0\n[\/code]\n--><\/p>\n<h2>Default folder<\/h2>\n<p>It starts in &lt;\/home\/embo\/Desktop> (for a user named &#8220;embo&#8221; and in the ArcoLinux default configuration), a fairly useless place to start.<\/p>\n<p>As for transparency, change setting <em>working_directory<\/em> in file <em>alacritty.yml<\/em> (for a user named &#8220;embo&#8221;):<\/p>\n<pre class=\"brush: plain; gutter: false; title: ; notranslate\" title=\"\">\r\nworking_directory: \/home\/embo\r\n<\/pre>\n<p>Note that &#8220;~&#8221; does not work. It must be an absolute path.<\/p>\n<p><!-- This was a temporary problem (caused by \n     a system update, before restarting?)! \n\n\n<h2>Other notes<\/h2>\n\n\n--><\/p>\n<h2>Other notes<\/h2>\n<p>There isn&#8217;t a global clipboard, so copied content must be pasted before the source application is closed, in this case Alacritty.<\/p>\n<h2>Confusion caused by two different terminal programs<\/h2>\n<p>Alacritty is available directly from the Alt + Esc menu: <em>&#8220;Open Terminal Here&#8221;<\/em><\/p>\n<p>Whereas there is a similar one in the &#8220;Applications&#8221; sub menu:<\/p>\n<p><em>Alt<\/em> + <em>Esc<\/em> &rarr; &#8220;Applications&#8221; &rarr; &#8220;Terminal Emulator&#8221;<\/p>\n<p>But it is crippled, e.g., zoom (using keyboard shortcuts <em>Ctrl<\/em> + <em>&#8216;+&#8217;<\/em> and <em>Ctrl<\/em> + <em>&#8216;-&#8216;<\/em>) does not work. Under the surface it is the terminal program <a href=\"https:\/\/man.archlinux.org\/man\/urxvt.1\">URxvt<\/a>.<\/p>\n<p><!-- Internal refs.: ID 12473, ID 12492, , and \"10. Alacritty\" --><\/p>\n<p><!-- T H E   E N D . . . --><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The default setup of the terminal program in ArcoLinux is not OK. In particular, the opacity makes it practically unusable. Here is a description of how to configure it to get it into a usable state. Introduction Under the surface, &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/pmortensen.eu\/world2\/2023\/06\/26\/setting-up-alacritty-to-be-usable-e-g-on-arcolinux\/\"> <span class=\"screen-reader-text\">Setting up the terminal\/console program Alacritty to be usable (e.g., on ArcoLinux)<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[17,23],"tags":[],"_links":{"self":[{"href":"https:\/\/pmortensen.eu\/world2\/wp-json\/wp\/v2\/posts\/3830"}],"collection":[{"href":"https:\/\/pmortensen.eu\/world2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pmortensen.eu\/world2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pmortensen.eu\/world2\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pmortensen.eu\/world2\/wp-json\/wp\/v2\/comments?post=3830"}],"version-history":[{"count":50,"href":"https:\/\/pmortensen.eu\/world2\/wp-json\/wp\/v2\/posts\/3830\/revisions"}],"predecessor-version":[{"id":5474,"href":"https:\/\/pmortensen.eu\/world2\/wp-json\/wp\/v2\/posts\/3830\/revisions\/5474"}],"wp:attachment":[{"href":"https:\/\/pmortensen.eu\/world2\/wp-json\/wp\/v2\/media?parent=3830"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pmortensen.eu\/world2\/wp-json\/wp\/v2\/categories?post=3830"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pmortensen.eu\/world2\/wp-json\/wp\/v2\/tags?post=3830"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}