<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Ubuntu on</title><link>http://salopst.yearl.us/tags/ubuntu/</link><description>Recent content in Ubuntu on</description><generator>Hugo</generator><language>en</language><copyright>&lt;a href="https://creativecommons.org/licenses/by-nc/4.0/" target="_blank" rel="noopener"&gt;CC BY-NC 4.0&lt;/a&gt;</copyright><lastBuildDate>Sun, 17 Apr 2022 16:13:51 +0100</lastBuildDate><atom:link href="http://salopst.yearl.us/tags/ubuntu/index.xml" rel="self" type="application/rss+xml"/><item><title>Installing LeftWM Tiling Window Manager</title><link>http://salopst.yearl.us/installing-leftwm-tiling-window-manager/</link><pubDate>Thu, 17 Feb 2022 20:33:14 +0000</pubDate><guid>http://salopst.yearl.us/installing-leftwm-tiling-window-manager/</guid><description>&lt;h1 id="installing-leftwm-tiling-window-manager"&gt;Installing LEFTWM Tiling Window Manager&lt;/h1&gt;&#10;&#10; &lt;img src="http://salopst.yearl.us/uploads/2022-02-17-leftwm-polybar-basic.png" alt="LeftWM Basic Polybar default set up" class="left" style="border-radius: 50px;" /&gt;&#10;&#10;&#10;&lt;p&gt;What is LeftWM?&lt;/p&gt;&#10;&lt;blockquote&gt;&#10;&lt;p&gt;Left is a tiling window manager written in rust for stability and performance. The core of left is designed to do one thing and one thing well. Be a window manager.&#10;~~ &lt;a href="http://leftwm.org/"&gt;http://leftwm.org/&lt;/a&gt;&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;p&gt;Did you read that? RUST!. It is written in &lt;strong&gt;RUST&lt;/strong&gt;! Rust is the new &amp;ldquo;I use Arch, BTW&amp;rdquo;. Anyway.&lt;/p&gt;&#10;&lt;p&gt;Base system is PopOS 20.10, and rust was previously installed (rustup 1.24.3 (ce5817a94 2021-05-31)). Follow these instructions: &lt;a href="https://www.rust-lang.org/tools/install"&gt;https://www.rust-lang.org/tools/install&lt;/a&gt;&lt;/p&gt;</description></item><item><title>VS Code / VSCodium Extensions</title><link>http://salopst.yearl.us/vs-code-vscodium-extensions/</link><pubDate>Thu, 30 Sep 2021 15:20:32 +0100</pubDate><guid>http://salopst.yearl.us/vs-code-vscodium-extensions/</guid><description>&lt;p&gt;Some extensions for VS Code are not available when you search for them from within VSCodium. I have no idea why this is the case. Licensing issues?&lt;/p&gt;&#10;&lt;p&gt;quokka.js &lt;a href="https://marketplace.visualstudio.com/items?itemName=WallabyJs.quokka-vscode"&gt;https://marketplace.visualstudio.com/items?itemName=WallabyJs.quokka-vscode&lt;/a&gt; is one of those. Fortunately you can download the &lt;code&gt;*.visx&lt;/code&gt; file listed under &amp;ldquo;Rescouces&amp;rdquo;, and install that from VsCodium.&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Listed (with a flatpak install) for me at:&#10;&lt;code&gt;~/.var/app/com.vscodium.codium/data/codium/extensions&lt;/code&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h3 id="my-installed-extensions"&gt;my installed extensions:&lt;/h3&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;ls ~/.var/app/com.vscodium.codium/data/codium/extensions | awk &lt;span style="color:#e6db74"&gt;&amp;#39;{print $8}&amp;#39;&lt;/span&gt;;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;abusaidm.html-snippets-0.2.1&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;arcticicestudio.nord-visual-studio-code-0.15.0&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;artisanbytecrafter.poptheme-1.0.3&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;bierner.markdown-mermaid-1.12.1&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;budparr.language-hugo-vscode-1.2.0&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;coenraads.bracket-pair-colorizer-2-0.1.4&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;davidanson.vscode-markdownlint-0.44.0&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;dbaeumer.vscode-eslint-2.1.20&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;donjayamanne.githistory-0.6.18&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;dracula-theme.theme-dracula-2.24.0&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;esbenp.prettier-vscode-8.1.0&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;firefox-devtools.vscode-firefox-debug-2.9.1&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;goodbaikin.org-preview-1.1.0&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;josee9988.minifyall-2.9.3&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;mhutchie.git-graph-1.30.0&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;ms-azuretools.vscode-docker-1.16.1&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;ms-python.python-2021.9.1246542782&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;ms-toolsai.jupyter-2021.8.12&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;ms-vscode.theme-tomorrowkit-0.1.4&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;msjsdiag.debugger-for-chrome-4.12.6&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;mushan.vscode-paste-image-1.0.4&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;patbenatar.advanced-new-file-1.2.2&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;redhat.vscode-xml-0.18.0&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;ritwickdey.liveserver-5.6.1&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;robole.marky-edit-0.5.1&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;wallabyjs.quokka-vscode-1.0.402&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;wesbos.theme-cobalt2-2.1.6&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Or &lt;code&gt;vscodium --list-extensions | xargs -L 1 echo vscodium --install-extension&lt;/code&gt; will do the same thing.&lt;/p&gt;</description></item><item><title>Vscodium modifying Emmet snippets</title><link>http://salopst.yearl.us/vs-code-vscodium-modifying-emmet-snippets/</link><pubDate>Thu, 30 Sep 2021 13:20:32 +0100</pubDate><guid>http://salopst.yearl.us/vs-code-vscodium-modifying-emmet-snippets/</guid><description>&lt;p&gt;&lt;a href="https://emmet.io/"&gt;Emmet&lt;/a&gt; is an HTML/CSS code completion extension to VS Code (or the more libre version, Vscodium) editor/ half-an-IDE. Snippets of code are stored locally in a &lt;code&gt;snippets.json&lt;/code&gt; file, and these snippets are called into being after being triggered by a certain sequence of key-strokes.&lt;/p&gt;&#10;&lt;p&gt;By default, in a blank HTML document, upon using the trigger &lt;code&gt;!+TAB&lt;/code&gt;, Emmet will insert the following boilerplate/skeleton HTML:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-html" data-lang="html"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#75715e"&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&amp;lt;&lt;span style="color:#f92672"&gt;html&lt;/span&gt; &lt;span style="color:#a6e22e"&gt;lang&lt;/span&gt;&lt;span style="color:#f92672"&gt;=&lt;/span&gt;&lt;span style="color:#e6db74"&gt;&amp;#34;en&amp;#34;&lt;/span&gt;&amp;gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&amp;lt;&lt;span style="color:#f92672"&gt;head&lt;/span&gt;&amp;gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &amp;lt;&lt;span style="color:#f92672"&gt;meta&lt;/span&gt; &lt;span style="color:#a6e22e"&gt;charset&lt;/span&gt;&lt;span style="color:#f92672"&gt;=&lt;/span&gt;&lt;span style="color:#e6db74"&gt;&amp;#34;UTF-8&amp;#34;&lt;/span&gt;&amp;gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &amp;lt;&lt;span style="color:#f92672"&gt;meta&lt;/span&gt; &lt;span style="color:#a6e22e"&gt;http-equiv&lt;/span&gt;&lt;span style="color:#f92672"&gt;=&lt;/span&gt;&lt;span style="color:#e6db74"&gt;&amp;#34;X-UA-Compatible&amp;#34;&lt;/span&gt; &lt;span style="color:#a6e22e"&gt;content&lt;/span&gt;&lt;span style="color:#f92672"&gt;=&lt;/span&gt;&lt;span style="color:#e6db74"&gt;&amp;#34;IE=edge&amp;#34;&lt;/span&gt;&amp;gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &amp;lt;&lt;span style="color:#f92672"&gt;meta&lt;/span&gt; &lt;span style="color:#a6e22e"&gt;name&lt;/span&gt;&lt;span style="color:#f92672"&gt;=&lt;/span&gt;&lt;span style="color:#e6db74"&gt;&amp;#34;viewport&amp;#34;&lt;/span&gt; &lt;span style="color:#a6e22e"&gt;content&lt;/span&gt;&lt;span style="color:#f92672"&gt;=&lt;/span&gt;&lt;span style="color:#e6db74"&gt;&amp;#34;width=device-width, initial-scale=1.0&amp;#34;&lt;/span&gt;&amp;gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &amp;lt;&lt;span style="color:#f92672"&gt;title&lt;/span&gt;&amp;gt;Document&amp;lt;/&lt;span style="color:#f92672"&gt;title&lt;/span&gt;&amp;gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&amp;lt;/&lt;span style="color:#f92672"&gt;head&lt;/span&gt;&amp;gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&amp;lt;&lt;span style="color:#f92672"&gt;body&lt;/span&gt;&amp;gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&amp;lt;/&lt;span style="color:#f92672"&gt;body&lt;/span&gt;&amp;gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&amp;lt;/&lt;span style="color:#f92672"&gt;html&lt;/span&gt;&amp;gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Which is cool and all, but might lack a couple of things you commonly use on all you pages. So let&amp;rsquo;s modify this default template, the snippet code of which looks like:&lt;/p&gt;</description></item><item><title>Vscodium Shortcuts, Debugging, and the Terminal</title><link>http://salopst.yearl.us/vs-code-vscodium-shortcuts-debugging-and-the-terminal/</link><pubDate>Thu, 30 Sep 2021 09:13:11 +0100</pubDate><guid>http://salopst.yearl.us/vs-code-vscodium-shortcuts-debugging-and-the-terminal/</guid><description>&lt;p&gt;After going ahead and updating Emacs, I thought I&amp;rsquo;d try the thing that all the kids are talking about&amp;ndash; VS Code. Or, if you are anything like me and remember the hoary days of the Browser Wars, &lt;a href="https://vscodium.com/"&gt;&lt;strong&gt;VSCodium&lt;/strong&gt;&lt;/a&gt;, the telemtry-disabled version of the editor.&lt;/p&gt;&#10;&lt;h2 id="debugging"&gt;Debugging&lt;/h2&gt;&#10;&lt;p&gt;Since the primary objective is to learn some JSessy things, the first I need to be doing is figuring out debugging.&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=tC91t9OvVHA"&gt;The New Way To Debug JavaScript in VS Code - No Extension Required &amp;ndash; YT, July 2021&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Changes to Pop!_OS (Ubuntu 21.04) after install</title><link>http://salopst.yearl.us/changes-to-ubuntu-21-04-after-install/</link><pubDate>Tue, 13 Jul 2021 09:30:20 +0100</pubDate><guid>http://salopst.yearl.us/changes-to-ubuntu-21-04-after-install/</guid><description>&lt;p&gt;This is essentially a list, and is not really meant to be run as a script. Perhaps this will change.&lt;/p&gt;&#10;&#10;&#10;&#10;&#10; &#10;&#10; &#10; &#10; &#10; &#10; &lt;script src="https://gist.github.com/salopst/89bf87ceecd666901d09841dbd0aef22.js" crossorigin="anonymous"&gt;&#10; &lt;/script&gt;</description></item><item><title>Adding a terminal to nautilus, GNOME's default file manager</title><link>http://salopst.yearl.us/add-terminal-to-gnome-nautilus-file-manager/</link><pubDate>Mon, 11 Oct 2021 06:45:19 +0100</pubDate><guid>http://salopst.yearl.us/add-terminal-to-gnome-nautilus-file-manager/</guid><description>&lt;p&gt;Unlike KDE&amp;rsquo;s default GUI file manager, Dolphin, GNOME&amp;rsquo;s nautilus does not have a built in terminal. Some wonderful person has written a handy-dandy solution to this, and it works wonderfully. It and installation and configuration details can be found at &lt;a href="https://github.com/flozz/nautilus-terminal"&gt;https://github.com/flozz/nautilus-terminal&lt;/a&gt;&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo apt install python3-nautilus python3-psutil python3-pip libglib2.0-bin dconf-editor&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo pip3 install nautilus-terminal&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo nautilus-terminal --install-system&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;nautilus -q&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;code&gt;F4&lt;/code&gt; toggles.&lt;/p&gt;&#10;&lt;p&gt;Lovely stuff. One minor quibbe, though: whilst navigation via the GUI will change the &amp;ldquo;&lt;code&gt;PWD&lt;/code&gt;&amp;rdquo; at the prompt, it does not work the other way around. Still, this will prove to be super useful. &lt;strong&gt;EDIT&lt;/strong&gt; This is an open issue: &lt;a href="https://github.com/flozz/nautilus-terminal/issues/21"&gt;https://github.com/flozz/nautilus-terminal/issues/21&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Installing Hugo with SASS support on Linux</title><link>http://salopst.yearl.us/install-hugo-extended-from-source-on-ubuntu/</link><pubDate>Thu, 07 Oct 2021 21:31:37 +0100</pubDate><guid>http://salopst.yearl.us/install-hugo-extended-from-source-on-ubuntu/</guid><description>&lt;p&gt;Out of the box, Hugo does not come with support for compiling SASS/SCSS to CSS. This has led to a number of errors highlighted by Chrome&amp;rsquo;s Inspector after my having had modified the SCSS files that came with the thems I am using. So we need to compile these extensions in.&lt;/p&gt;&#10;&lt;p&gt;The following command did the trick on Pop!_OS (Ubuntu 21.04), and gives me the latest version of Hugo (0.89) to boot.&lt;/p&gt;</description></item><item><title>Compressing a Windows 10 VirtualBox Image</title><link>http://salopst.yearl.us/compressing-windows-10-virtualbox-image/</link><pubDate>Thu, 30 Sep 2021 09:21:43 +0000</pubDate><guid>http://salopst.yearl.us/compressing-windows-10-virtualbox-image/</guid><description>&lt;p&gt;Apparently I purchased the blow 1TB SSD back on May 14 because the price was good, and my venerable T460 was otherwise running out of space, and I figured I was going to have to duplicate my old iTunes library for connection with my iPhone. I also had a hankering to play some cricket games on Steam.&lt;/p&gt;&#10;&lt;iframe style="width:120px;height:240px;" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" src="//ws-eu.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&amp;OneJS=1&amp;Operation=GetAdHtml&amp;MarketPlace=GB&amp;source=ss&amp;ref=as_ss_li_til&amp;ad_type=product_link&amp;tracking_id=yearlus-21&amp;language=en_GB&amp;marketplace=amazon&amp;region=GB&amp;placement=B07YD579WM&amp;asins=B07YD579WM&amp;linkId=d122c37b66a68fd72dd55fabb33d23a2&amp;show_border=true&amp;link_opens_in_new_window=true"&gt;&lt;/iframe&gt;&#10;&lt;p&gt;I therefore set up a Windows 10 VDI for us in VirtualBox with iTunes, Steam and a few other essentials: git, Powershell, VSCode. The games I had in mind would not work on so old a machine, and I found alternate arrangements for music management, BUT the initial 100GB allocated to the VM seems to have grown to over 140GB&amp;hellip; a bit pans consideredin there&amp;rsquo;s no data in the damned thing.&lt;/p&gt;</description></item></channel></rss>