<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Subsoil</title>
    <description>Personal adventures under ground
</description>
    <link>http://fannes.com/subsoil/</link>
    <atom:link href="http://fannes.com/subsoil/feed.xml" rel="self" type="application/rss+xml"/>
    <pubDate>Wed, 08 Sep 2021 13:04:03 +0200</pubDate>
    <lastBuildDate>Wed, 08 Sep 2021 13:04:03 +0200</lastBuildDate>
    <generator>Jekyll v4.2.0</generator>
    
      <item>
        <title>Setup MacBook-Air M1</title>
        <description>&lt;p&gt;To use and setup a MacBook-Air M1 for &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;x86_64&lt;/code&gt; development when coming from a Linux-Gnome system, following items are useful:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Maximizing and reshaping windows from the keyboard can be done with &lt;a href=&quot;https://rectangleapp.com/&quot;&gt;Rectangle&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;Selecting/opening apps using the index in the pannel can be done with &lt;a href=&quot;https://apps.apple.com/us/app/snap/id418073146?mt=12&quot;&gt;Snap&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;Switching the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Command&lt;/code&gt; key for the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Ctrl&lt;/code&gt; key in firefox can be done with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;about:config&lt;/code&gt; and then setting &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ui.key.accelKey&lt;/code&gt; to 17 iso 224&lt;/li&gt;
  &lt;li&gt;Installation of common tools and utilities can be done with &lt;a href=&quot;https://brew.sh/&quot;&gt;Homebrew&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;Support for &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;x86_64&lt;/code&gt; CLI builds via the Terminal can be done by right-click on &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Applications -&amp;gt; Utilities -&amp;gt; Terminal&lt;/code&gt; and selecting &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Get info -&amp;gt; Open using Rosetta&lt;/code&gt;
    &lt;ul&gt;
      &lt;li&gt;This works very well, only &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;brew install&lt;/code&gt; complains, you should use &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;arch -arm64 brew install&lt;/code&gt; instead&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;Set key repeat and delay to a usable value in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Settings -&amp;gt; Keyboard&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;Fix key repeat issue in Sublime Text: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;defaults write com.sublimetext.4 ApplePressAndHoldEnabled -bool false&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;Do not used files that have the same lowercase name&lt;/li&gt;
&lt;/ul&gt;
</description>
        <pubDate>Wed, 08 Sep 2021 02:00:00 +0200</pubDate>
        <link>http://fannes.com/subsoil/2021/09/08/setup-macbook-air-m1.html</link>
        <guid isPermaLink="true">http://fannes.com/subsoil/2021/09/08/setup-macbook-air-m1.html</guid>
        
        
      </item>
    
      <item>
        <title>Installation of Manjaro InfinityBook Pro</title>
        <description>&lt;h2 id=&quot;keyboard-backlight&quot;&gt;Keyboard backlight&lt;/h2&gt;

&lt;p&gt;To get the keyboard backlight up and running, install &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;aur/tuxedo-keyboard&lt;/code&gt;.&lt;/p&gt;
</description>
        <pubDate>Mon, 14 Sep 2020 02:00:00 +0200</pubDate>
        <link>http://fannes.com/subsoil/2020/09/14/installation-of-manjaro-infinitybook-pro.html</link>
        <guid isPermaLink="true">http://fannes.com/subsoil/2020/09/14/installation-of-manjaro-infinitybook-pro.html</guid>
        
        
      </item>
    
      <item>
        <title>Sony WH-1000XM4 Headphones</title>
        <description>&lt;p&gt;Using my brand-new &lt;a href=&quot;https://www.sony.com/electronics/headband-headphones/wh-1000xm4&quot;&gt;Sony WH-1000XM4 Headphones&lt;/a&gt; was not trivial. Pressing the power-button for 7 seconds brings the device in pairing mode.&lt;/p&gt;

&lt;h2 id=&quot;connecting-to-nokia-8-sirocco&quot;&gt;Connecting to Nokia 8 Sirocco&lt;/h2&gt;

&lt;p&gt;When paired with the phone, I keep hearing “bluetooth connected” when playing music, and no music. Apparently, this is caused by &lt;a href=&quot;https://community.phones.nokia.com/discussion/7778/bluetooth-not-working/p2&quot;&gt;Nokia’s bluetooth manager&lt;/a&gt; that crashes when using &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;HD audio&lt;/code&gt;. Disabling the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;HD audio&lt;/code&gt; did the trick.&lt;/p&gt;

&lt;h2 id=&quot;connecting-to-manjaro&quot;&gt;Connecting to Manjaro&lt;/h2&gt;

&lt;p&gt;For some reason, the HP cannot pair with the bluetooth on my &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;MSI MPG X570 GAMING PRO CARBON WIFI&lt;/code&gt; mobo. Inserting a bluetooth dongle with chipset &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Broadcom Corp. BCM20702A0 Bluetooth 4.0&lt;/code&gt; resolved that. To properly configure bluetooth devices, best is to install &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;blueman-manager&lt;/code&gt; from the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;blueman&lt;/code&gt; package.&lt;/p&gt;

&lt;p&gt;With the HP in pairing mode, perform a search on the BT dongle and pair &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;WH-1000XM4&lt;/code&gt; (the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;LE_WH-1000XM4&lt;/code&gt; is a low-energy connection that cannot transport audio). After pairing, run the setup and indicate the device as &lt;em&gt;trusted&lt;/em&gt;. Then, right-click on &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;WH-1000XM4&lt;/code&gt; and press &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Connect&lt;/code&gt;. You should now hear &lt;em&gt;bluetooth connected&lt;/em&gt; on the HP and see the WH-1000XM4 in the sound settings.&lt;/p&gt;

&lt;p&gt;When selecting the WH-1000XM4 as output device, you can select between &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;HSP/HFP&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;A2DP Sink&lt;/code&gt;. For me, only the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;A2DP Sink&lt;/code&gt; works and gives stereo audio. When selecting the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;HSP/HFP&lt;/code&gt;, the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Test&lt;/code&gt; button presents a mono source without actual audio. Unfortunately, the mic currently does not work. I managed to get the mic working by replacing the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;manjaro-firmware&lt;/code&gt; package with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bcm20702a1-firmware&lt;/code&gt; yesterday on my laptop, but today, installation of the same package fails on my desktop due to a 404 on &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;http://dlcdnet.asus.com/pub/ASUS/wireless/USB-BT400/DR_USB_BT400_1201710_Windows.zip&lt;/code&gt;. Maybe that link comes back one day, maybe the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;HSP/HFP&lt;/code&gt; will be fixed in the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;manjaro-firmware&lt;/code&gt; or kernel.&lt;/p&gt;

&lt;p&gt;Other links on the web advice to install &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;pulseaudio-modules-bt&lt;/code&gt; to have &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;LDAC&lt;/code&gt; support. This did not work for me, and I rolled-back to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;pulseaudio-bluetooth&lt;/code&gt;.&lt;/p&gt;
</description>
        <pubDate>Fri, 11 Sep 2020 02:00:00 +0200</pubDate>
        <link>http://fannes.com/subsoil/2020/09/11/sony-wh-1000xm4-headphones.html</link>
        <guid isPermaLink="true">http://fannes.com/subsoil/2020/09/11/sony-wh-1000xm4-headphones.html</guid>
        
        
      </item>
    
      <item>
        <title>Belgium eID</title>
        <description>&lt;p&gt;Getting the Belgian eID cardreader up and running under linux can be painful. These steps worked for me:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Install &lt;a href=&quot;https://manjaro.org&quot;&gt;manjaro&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;Install and run &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo pcscd&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;Install eID card reader driver via &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;yaourt acsccid&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;Install &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;eid-mw&lt;/code&gt; via yaourt
    &lt;ul&gt;
      &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;yaourt eid-mw&lt;/code&gt;&lt;/li&gt;
      &lt;li&gt;Install any unknown public key via &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gpg --recv-keys &amp;lt;missing-key&amp;gt;&lt;/code&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;Test eID card reader via &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;eid-viewer&lt;/code&gt;
    &lt;ul&gt;
      &lt;li&gt;Insert eID card in reader&lt;/li&gt;
      &lt;li&gt;Insert card reader in USB port&lt;/li&gt;
      &lt;li&gt;Running &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;eid-viewer&lt;/code&gt; should display the photo stored on the eID&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;Start firefox&lt;/li&gt;
  &lt;li&gt;Install &lt;a href=&quot;https://addons.mozilla.org/nl/firefox/addon/belgium-eid/&quot;&gt;addon&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;Restart firefox&lt;/li&gt;
  &lt;li&gt;Goto &lt;a href=&quot;https://eid.belgium.be/nl&quot;&gt;https://eid.belgium.be/nl&lt;/a&gt; and test via “Aanmelden met CSAM”
    &lt;ul&gt;
      &lt;li&gt;Accept the certificate stuff&lt;/li&gt;
      &lt;li&gt;Enter pin code&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;
</description>
        <pubDate>Sun, 16 Sep 2018 02:00:00 +0200</pubDate>
        <link>http://fannes.com/subsoil/2018/09/16/belgium-eid.html</link>
        <guid isPermaLink="true">http://fannes.com/subsoil/2018/09/16/belgium-eid.html</guid>
        
        
      </item>
    
      <item>
        <title>Ergodox shifted keys and XKB</title>
        <description>&lt;p&gt;After a recent &lt;a href=&quot;https://manjaro.org/&quot;&gt;manjaro&lt;/a&gt; update, something in X/XKB must have changed, influencing the keypress event order perceived by X11. Console terminal is not affected.&lt;/p&gt;

&lt;p&gt;My &lt;a href=&quot;https://ergodox-ez.com/&quot;&gt;ergodox&lt;/a&gt; keyboard is &lt;a href=&quot;https://www.massdrop.com/configurator/ergodox&quot;&gt;configured&lt;/a&gt; to use the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;_SHIFTED_Underscore&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;_SHIFTED_Colon&lt;/code&gt; for easy software development with &lt;a href=&quot;http://www.vim.org/&quot;&gt;vim&lt;/a&gt;. These keys basically first send a &lt;em&gt;left shift&lt;/em&gt;, followed by the &lt;em&gt;semicolon-colon&lt;/em&gt; key: you get the &lt;em&gt;colon&lt;/em&gt; without the need to press &lt;em&gt;shift&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;Using &lt;a href=&quot;https://www.x.org/archive/X11R7.7/doc/man/man1/xev.1.xhtml&quot;&gt;xev&lt;/a&gt; from the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;xorg-xev&lt;/code&gt; package, it became clear that a software upgrade &lt;em&gt;reversed&lt;/em&gt; the order &lt;em&gt;xev&lt;/em&gt; processed the &lt;em&gt;shift&lt;/em&gt; and &lt;em&gt;colon&lt;/em&gt; keypress: before, &lt;em&gt;shift&lt;/em&gt; came before &lt;em&gt;colon&lt;/em&gt;, after, &lt;em&gt;colon&lt;/em&gt; came before &lt;em&gt;shift&lt;/em&gt;, losing its &lt;em&gt;shifted&lt;/em&gt; behaviour. I have no clue why this happened, or what is causing this, but I do want my easy-to-reach &lt;em&gt;colon&lt;/em&gt; and &lt;em&gt;underscore&lt;/em&gt; back!&lt;/p&gt;

&lt;p&gt;After reading &lt;a href=&quot;https://medium.com/@damko/a-simple-humble-but-comprehensive-guide-to-xkb-for-linux-6f1ad5e13450&quot;&gt;this nice introduction&lt;/a&gt; on xkb, I found the following work-around:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Using the ergodox configurator, replace the shifted keys as:
    &lt;ul&gt;
      &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;_SHIFTED_Underscore&lt;/code&gt; =&amp;gt; &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;KEY_Pause&lt;/code&gt;&lt;/li&gt;
      &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;_SHIFTED_Colon&lt;/code&gt; =&amp;gt; &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;KEY_NonUS_Backslash_Pipe&lt;/code&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;Edit the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/usr/share/X11/xkb/symbols/us&lt;/code&gt; file as root, adding following line to the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;xkb_symbols &quot;basic&quot;&lt;/code&gt; section:&lt;/li&gt;
&lt;/ul&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;key &amp;lt;LSGT&amp;gt; {	[ colon,         semicolon	]	};
key &amp;lt;PAUS&amp;gt; {	[ underscore,         minus	]	};
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;ul&gt;
  &lt;li&gt;Reload the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;us&lt;/code&gt; layout via the command &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;setxkbmap -layout us&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Now, xkb is responsible for translating the two keys I don’t actually use into the desired symbols, and the original behaviour of the &lt;em&gt;semicolon-colon&lt;/em&gt; and &lt;em&gt;dash-underscore&lt;/em&gt; is unaffected; I have them on other locations in the non-shifted version: I could not simply change the translation of &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;&amp;lt;AC10&amp;gt;&lt;/code&gt; (&lt;em&gt;semicolon-colon&lt;/em&gt;) and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;&amp;lt;AE11&amp;gt;&lt;/code&gt; (&lt;em&gt;dash-underscore&lt;/em&gt;).&lt;/p&gt;
</description>
        <pubDate>Fri, 22 Dec 2017 01:00:00 +0100</pubDate>
        <link>http://fannes.com/subsoil/2017/12/22/ergodox-shifted-keys-and-xkb.html</link>
        <guid isPermaLink="true">http://fannes.com/subsoil/2017/12/22/ergodox-shifted-keys-and-xkb.html</guid>
        
        
      </item>
    
      <item>
        <title>HP Color LaserJet MFP m176n</title>
        <description>&lt;p&gt;Linux support for this printer/scanner is terrible. For Manjaro, the following steps eventually resulted into a functional printer, with scanner support:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Install hplip via &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo pacman -S hplip&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;Install printer via &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo hp-setup&lt;/code&gt; as a network printer, manually specifying the IP address
    &lt;ul&gt;
      &lt;li&gt;Make sure the following &lt;em&gt;ppd&lt;/em&gt; file is used: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;drv:///hp/hpcups.drv/hp-color_laserjet_pro_mfp_m176n.ppd&lt;/code&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;Install the required plugins via &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo hp-plugin&lt;/code&gt;
    &lt;ul&gt;
      &lt;li&gt;Indicate to download the plugin from HP&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;del&gt;Removed installed printer (hpijs) and install the same one, but now hpcups&lt;/del&gt;&lt;/li&gt;
  &lt;li&gt;Restart printer seems to needed from time to time&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Note: you might need to repeat the above steps when upgrading your distro.&lt;/p&gt;
</description>
        <pubDate>Sat, 01 Oct 2016 02:00:00 +0200</pubDate>
        <link>http://fannes.com/subsoil/2016/10/01/hp-color-laserjet-mfp-m176n.html</link>
        <guid isPermaLink="true">http://fannes.com/subsoil/2016/10/01/hp-color-laserjet-mfp-m176n.html</guid>
        
        
      </item>
    
      <item>
        <title>Ubuntu-MATE on TARGA DT44100</title>
        <description>&lt;p&gt;Installation of ubuntu-MATE went fine, but the graphics resolution was to small. This can be fixed by:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Create the file /usr/share/X11/xorg.conf.d/use-vesa.conf with content:
  Section “Device”
      Identifier “Configured Video Device”
      Driver “vesa”
  EndSection&lt;/li&gt;
  &lt;li&gt;Reboot&lt;/li&gt;
&lt;/ul&gt;
</description>
        <pubDate>Sun, 29 May 2016 17:43:00 +0200</pubDate>
        <link>http://fannes.com/subsoil/2016/05/29/ubuntu-mate-on-targa-dt44100.html</link>
        <guid isPermaLink="true">http://fannes.com/subsoil/2016/05/29/ubuntu-mate-on-targa-dt44100.html</guid>
        
        
      </item>
    
      <item>
        <title>Sublime text 3</title>
        <description>&lt;p&gt;To get &lt;a href=&quot;http://www.sublimetext.com&quot;&gt;sublime text&lt;/a&gt; up-and-running and usable for a &lt;a href=&quot;http://www.vim.org&quot;&gt;vim&lt;/a&gt; addict, following steps can help:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Install and buy sublime text 3. Yes, just buy it, poor developers have to eat as well.&lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Install &lt;a href=&quot;https://packagecontrol.io/installation#st3&quot;&gt;package control&lt;/a&gt;:&lt;/p&gt;

    &lt;ul&gt;
      &lt;li&gt;Open the console via &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Ctrl+&lt;/code&gt;`&lt;/li&gt;
      &lt;li&gt;Paste the installation script:&lt;/li&gt;
    &lt;/ul&gt;

    &lt;p&gt;import urllib.request,os,hashlib; h = ‘2915d1851351e5ee549c20394736b442’ + ‘8bc59f460fa1548d1514676163dafc88’; pf = ‘Package Control.sublime-package’; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( ‘http://packagecontrol.io/’ + pf.replace(‘ ‘, ‘%20’)).read(); dh = hashlib.sha256(by).hexdigest(); print(‘Error validating download (got %s instead of %s), please try manual install’ % (dh, h)) if dh != h else open(os.path.join( ipp, pf), ‘wb’ ).write(by)&lt;/p&gt;

    &lt;ul&gt;
      &lt;li&gt;Restart sublime text 3.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Install &lt;a href=&quot;https://github.com/guillermooo/Vintageous&quot;&gt;Vintageous&lt;/a&gt; via package control:&lt;/p&gt;

    &lt;ul&gt;
      &lt;li&gt;Open the &lt;em&gt;palette&lt;/em&gt; via &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Ctrl+Shift+p&lt;/code&gt;.&lt;/li&gt;
      &lt;li&gt;Select &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Package Control: Install Package&lt;/code&gt;.&lt;/li&gt;
      &lt;li&gt;Select &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Vintageous&lt;/code&gt;.&lt;/li&gt;
      &lt;li&gt;Restart sublime text 3, you should have vi keybindings now.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Add &lt;em&gt;save on focus lost&lt;/em&gt;:&lt;/p&gt;

    &lt;ul&gt;
      &lt;li&gt;Copy the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;save_on_focus_lost&lt;/code&gt; settings line from &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Preferences-&amp;gt;Settings Default&lt;/code&gt;.&lt;/li&gt;
      &lt;li&gt;Paste it in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Preferences-&amp;gt;Settings User&lt;/code&gt;, set it to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;true&lt;/code&gt; and save it, making sure there is no JSON mistake with respect to the comma.&lt;/li&gt;
      &lt;li&gt;Restart sublime text 3: changing to another app should save your work, except for &lt;em&gt;new&lt;/em&gt; files; you still have to save these the first time.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Change color scheme: the &lt;em&gt;SpaceCadet&lt;/em&gt; is nice, but I find it hard to see the cursor (&lt;em&gt;caret&lt;/em&gt;). To change its color for sublime text 3, do the following:&lt;/p&gt;

    &lt;ul&gt;
      &lt;li&gt;Install &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;PackageResourceViewer&lt;/code&gt; via the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Package Control&lt;/code&gt;.&lt;/li&gt;
      &lt;li&gt;Select &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;PackageResourceViewer: Open Resource&lt;/code&gt; via the palette.&lt;/li&gt;
      &lt;li&gt;Select &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Color Scheme - Default-&amp;gt;SpaceCadet.tmTheme&lt;/code&gt;.&lt;/li&gt;
      &lt;li&gt;Adjust the color for &lt;em&gt;selection&lt;/em&gt; from &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;#40002F&lt;/code&gt; to e.g., &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;#2eaa40&lt;/code&gt;.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;
</description>
        <pubDate>Mon, 15 Feb 2016 19:00:00 +0100</pubDate>
        <link>http://fannes.com/subsoil/2016/02/15/sublime-text-3.html</link>
        <guid isPermaLink="true">http://fannes.com/subsoil/2016/02/15/sublime-text-3.html</guid>
        
        
      </item>
    
      <item>
        <title>Linux on my Dell XPS 13 2015</title>
        <description>&lt;p&gt;I recently bought a Dell XPS 13 2015 developer edition laptop (BIOS A03). Since it came with linux preinstalled, I expected flawless linux support, but that was not really the case: the initial wifi configuration did not work, its ubuntu 14.04 OS kept mentioning internal errors, waking up from hibernation froze the keyboard and touchscreen. The font size was very small due to its HiDPI touchscreen with a resolution of 3200 x 1800 not being compensated.&lt;/p&gt;

&lt;p&gt;I was hoping that upgrading to ubuntu 2015.04 would fix all this, but the upgrade procedure failed. Installing ubuntu 2015.04 from scratch was even worse: the live USB worked very well, even wifi worked out of the box, installation was fine, but my laptop would not boot and kept displaying something along the lines: No bootable devices found. I though it had to do with UEFI and secure boot, a technology I’m not familiar with, but after some experimentation, I think it is a problem with unubntu.&lt;/p&gt;

&lt;p&gt;Ubuntu had its chance, time for something else: &lt;a href=&quot;http://manjaro.org&quot;&gt;manjaro&lt;/a&gt;, an arch-based distro I’ve been using successfully for years. The live USB stick did boot, but the touchpad was very jumpy, wifi did not work out of the box, and XFCE is not very suitable for HiDPI. The wifi issue was easily solved following the suggestions from the arch community, and an upgrade fixed the touchpad issues.&lt;/p&gt;

&lt;p&gt;Hibernation and suspension still gave problems. Replacing the SNA graphics driver for the older UXA changed its behaviour a bit, but problems remained. Upgrading to linux kernel version 4 did fix these issues, and can easily be done from inside the Manjaro Settings Manager.&lt;/p&gt;

&lt;p&gt;After an unsuccessfull test with i3, I exchanged XFCE for Gnome3 which works very well in combination with the HiDPI touchscreen, only the screen keyboard keeps popping up from time to time, but I don’t mind that, it should be easy to fix. Hibernation was back though but in a different shape: Gnome3 Power settings gives no options to handle closing the lid. After installing the &lt;em&gt;gnome-power-manager&lt;/em&gt;, I could manually indicate in /etc/systemd/logind.conf that my machine should &lt;em&gt;hibernate&lt;/em&gt; when closing its lid, and &lt;em&gt;shutdown&lt;/em&gt; when pressing the power button.&lt;/p&gt;

&lt;p&gt;If you cannot configure the touchpad (a DLL0665) to &lt;em&gt;tap-to-click&lt;/em&gt;, it is probably detected as a mouse in stead of a touchpad. Install &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;xf86-input-libinput&lt;/code&gt;, issue &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo libinput-list-devices&lt;/code&gt; and find the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;DLL0665&lt;/code&gt; section. Add a xorg config file that identifies this device and enabled tapping by adding a config file &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/etc/X11/xorg.conf.d/50-libinput.conf&lt;/code&gt;, making sure the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;MatchProduct&lt;/code&gt; matches the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Device:&lt;/code&gt; string as listed by libinput:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;Section &quot;InputClass&quot;
	Identifier &quot;touchpad&quot;
	MatchProduct &quot;DLL0665:01 06CB:76AD UNKNOWN&quot;
	Driver &quot;libinput&quot;
	Option	&quot;Tapping&quot;	&quot;on&quot;
	Option	&quot;AccelSpeed&quot;	&quot;1&quot;
EndSection
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Finally, the printer setup failed although I could configure my HP Photosmart 2610 before. It turns out to be a problem with the foomatic-* and manjaro-printer package. After uninstallation, I could successfully intall my printer.&lt;/p&gt;

&lt;p&gt;I have a fully functional laptop now with readable fonts and great HiDPI support! Scrolling via the touchscreen works in most applications, as is two finger zoom in the default web browser (some browser called &lt;em&gt;web&lt;/em&gt;, based on webkit). The only problem I still have has to do with the microphone, it shows up, but I cannot get sound out of it. I use a Logitech C920 webcam instead which works fine out of the box.&lt;/p&gt;

&lt;p&gt;I hope these directions can help other people configure their Dell XPS 13 for linux. It took me some time and experimentation, but now I’m very happy with it. Quite a shame for Dell though to put such a badly configured machine on the market…&lt;/p&gt;

&lt;p&gt;This article is not very high in details, mostly because I don’t want to go through the process again just to take detailed notes. If you want more details or are stuck, don’t hesitate to contact me.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;update:&lt;/em&gt; To disable the caribou onscreen keyboard, comment-out the &lt;em&gt;Exec&lt;/em&gt; lines in &lt;em&gt;/usr/share/dbus-1/services/org.gnome.Caribou.*&lt;/em&gt;.&lt;/p&gt;
</description>
        <pubDate>Thu, 14 May 2015 19:24:20 +0200</pubDate>
        <link>http://fannes.com/subsoil/2015/05/14/linux-on-my-dell-xps-13-2015.html</link>
        <guid isPermaLink="true">http://fannes.com/subsoil/2015/05/14/linux-on-my-dell-xps-13-2015.html</guid>
        
        
      </item>
    
      <item>
        <title>Start of subsoil</title>
        <description>&lt;p&gt;This is my first blog post ever. My purpose with subsoil is to:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Serve as a personal wiki/info for me. And hey, maybe someone might be interested&lt;/li&gt;
  &lt;li&gt;Document and publish progress on various projects&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Technically, I chose for a static site using &lt;a href=&quot;http://jekyllrb.com&quot;&gt;jekyll&lt;/a&gt;. Currently, there is no support for comments, but that should come soon.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Update&lt;/em&gt;: I experimented a bit with &lt;a href=&quot;http://disqus.com&quot;&gt;disqus&lt;/a&gt; and &lt;a href=&quot;http://livefyre.com&quot;&gt;livefyre&lt;/a&gt; to have commenting support. For now, I will go with livefyre.&lt;/p&gt;

&lt;p&gt;Let’s hope this is not my last post…&lt;/p&gt;
</description>
        <pubDate>Wed, 13 May 2015 23:43:43 +0200</pubDate>
        <link>http://fannes.com/subsoil/news/2015/05/13/start-of-subsoil.html</link>
        <guid isPermaLink="true">http://fannes.com/subsoil/news/2015/05/13/start-of-subsoil.html</guid>
        
        
        <category>news</category>
        
      </item>
    
  </channel>
</rss>
