<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Linux on Arek's Blog</title><link>https://blog.kalandyk.xyz/tags/linux/</link><description>Recent content in Linux on Arek's Blog</description><generator>Hugo -- 0.147.8</generator><language>en-us</language><lastBuildDate>Sat, 03 Feb 2024 10:14:54 +0100</lastBuildDate><atom:link href="https://blog.kalandyk.xyz/tags/linux/index.xml" rel="self" type="application/rss+xml"/><item><title>Key names for i3 configuration</title><link>https://blog.kalandyk.xyz/posts/linux-i3-keynames/</link><pubDate>Sat, 03 Feb 2024 10:14:54 +0100</pubDate><guid>https://blog.kalandyk.xyz/posts/linux-i3-keynames/</guid><description>&lt;p>Sometimes I need to add a new shortcut in my i3 configuration file, for example to open a workspace when I hit &lt;code>Meta&lt;/code>+&lt;code>;&lt;/code>. But adding a character (&lt;code>;&lt;/code>) in &lt;code>bindsym&lt;/code> may result in an error, like below:&lt;/p>
&lt;p>&lt;img alt="Error which appears after addin &lt;code>;&lt;/code> and reloading i3" loading="lazy" src="https://blog.kalandyk.xyz/images/linux-i3-keynames/semicolon-character-in-i3-config.png">&lt;/p>
&lt;p>So&amp;hellip; How can key &lt;code>;&lt;/code> be declared in the configuration?&lt;/p>
&lt;p>Well, in the i3 documentation we may find the following:&lt;/p>
&lt;blockquote>
&lt;p>i3 allows you to bind either on keycodes or on keysyms (you can also mix your bindings, though i3 will not protect you from overlapping ones).
~ &lt;a href="https://i3wm.org/docs/userguide.html#keybindings">i3 User’s Guide - 4.4. Keyboard bindings&lt;/a>&lt;/p></description></item><item><title>Xbox Wireless Adapter on NixOS</title><link>https://blog.kalandyk.xyz/posts/nixos-xbox-adapter/</link><pubDate>Sun, 19 Nov 2023 10:17:54 +0100</pubDate><guid>https://blog.kalandyk.xyz/posts/nixos-xbox-adapter/</guid><description>&lt;p>Here&amp;rsquo;s a quick how-to on using Xbox Wireless Adapter with NixOS&lt;/p>
&lt;h2 id="driver">Driver&lt;/h2>
&lt;p>To play games with Xbox controller, you have to install a driver first. On Linux we can use &lt;a href="https://github.com/medusalix/xone">xone&lt;/a> which is an open-source one for Xbox One and Xbox Series accessories.&lt;/p>
&lt;p>Installation on NixOS is pretty straightforward, just add enable the driver by adding the following option to your &lt;code>/etc/nixos/configuration.nix&lt;/code>:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-nix" data-lang="nix">&lt;span style="display:flex;">&lt;span>hardware&lt;span style="color:#f92672">.&lt;/span>xone&lt;span style="color:#f92672">.&lt;/span>enable &lt;span style="color:#f92672">=&lt;/span> &lt;span style="color:#66d9ef">true&lt;/span>;
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Then update your system state with:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>sudo nixos-rebuild switch
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>The driver should be installed, but it&amp;rsquo;s worth rebooting the system at this point&lt;/p></description></item><item><title>Installing Linux on Lenovo Thinkpad 11e Chromebook</title><link>https://blog.kalandyk.xyz/posts/linux-on-chromebook/</link><pubDate>Sun, 28 Feb 2021 09:31:40 +0100</pubDate><guid>https://blog.kalandyk.xyz/posts/linux-on-chromebook/</guid><description>&lt;p>Ufff, I haven&amp;rsquo;t been writing here for a while. But I&amp;rsquo;m back!&lt;/p>
&lt;p>Few weeks ago I bought a Lenovo Thinkpad 11e Chromebook (at auction).&lt;/p>
&lt;p>Why? I found out that you can install Linux on these devices, which are called Chromebooks. Also, I needed a more portable (and cheaper) device than my main &amp;ldquo;machine&amp;rdquo; (Lenovo Legion Y520), which could serve as a device for opening browser (Firefox) and terminal.&lt;/p>
&lt;p>When it got delivered to me, I did installed a SeaBIOS (more later) and EndeavourOS on it for testing. And actually I was happy that Linux can work on it.&lt;/p></description></item></channel></rss>