<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	>

<channel>
	<title>Troubleshooting &#8211; Switch to Linux</title>
	<atom:link href="https://i.rootbeer.co.nz/category/troubleshooting/feed/" rel="self" type="application/rss+xml" />
	<link>https://i.rootbeer.co.nz</link>
	<description>for business, education, or revolution</description>
	<lastBuildDate>Sun, 26 Sep 2021 05:09:13 +0000</lastBuildDate>
	<language>en-NZ</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.2</generator>
<site xmlns="com-wordpress:feed-additions:1">197485131</site>	<item>
		<title>The infamous Linux Black Screen with Cursor</title>
		<link>https://i.rootbeer.co.nz/the-infamous-linux-black-screen-with-cursor/</link>
		
		<dc:creator><![CDATA[Brian]]></dc:creator>
		<pubDate>Wed, 22 Sep 2021 08:41:37 +0000</pubDate>
				<category><![CDATA[Troubleshooting]]></category>
		<guid isPermaLink="false">https://i.rootbeer.co.nz/?p=185</guid>

					<description><![CDATA[Oh my my this can be a frustrating one. In short, something has gone wrong with the boot process. In my case, I had an <a href="https://i.rootbeer.co.nz/the-infamous-linux-black-screen-with-cursor/" class="btn btn-link continue-link">Continue Reading</a>]]></description>
										<content:encoded><![CDATA[
<p>Oh my my this can be a frustrating one. In short, something has gone wrong with the boot process.</p>



<p>In my case, I had an errant line in my grub config file. What&#8217;s that? It&#8217;s <a href="https://en.wikipedia.org/wiki/Bootloader" data-type="URL" data-id="https://en.wikipedia.org/wiki/Bootloader" target="_blank" rel="noreferrer noopener">the bootloader</a>. It&#8217;s the thing that controls how the machine passes control from the BIOS to the hard drive (not exactly, but that&#8217;s good enough to get you approving nods at cocktail parties; go with it.)</p>



<p>Sometimes when you monkey with things in Linux, you make mistakes, and oh shit. Now what. This is probably one of those times (if you&#8217;re seeing the infamous black screen with cursor). My story was simple. Instead of a &#8220;quiet splash&#8221;, where you don&#8217;t see the system messages as your computer boots and shuts down, which is the default behaviour with Ubuntu, I wanted to see the system messages. This is controlled by <a href="https://en.wikipedia.org/wiki/GNU_GRUB" data-type="URL" data-id="https://en.wikipedia.org/wiki/GNU_GRUB" target="_blank" rel="noreferrer noopener">GRUB</a> &#8212; the Grand Unified Bootloader.</p>



<p>There&#8217;s a simple file that controls how GRUB behaves. It is: /etc/default/grub</p>



<p>If you edit that file (as root (with sudo), of course), be very careful. In my case, I wanted to remove the &#8220;quiet splash&#8221; in the line</p>



<pre class="wp-block-preformatted">GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"</pre>



<p>When I did this, I left some text between the quotes. Oops. In order to see the system messages, the line should read</p>



<pre class="wp-block-preformatted">GRUB_CMDLINE_LINUX_DEFAULT=""</pre>



<p>In my case, the change results in this (after I fixed the error that precipitated this whole conversation):</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="866" height="581" src="https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-23-09-05-02.png" alt="" class="wp-image-196" srcset="https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-23-09-05-02.png 866w, https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-23-09-05-02-300x201.png 300w, https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-23-09-05-02-768x515.png 768w" sizes="(max-width: 866px) 100vw, 866px" /></figure>



<p>Now, when you edit this file, in order for the changes you&#8217;ve made to have an effect, you must run:</p>



<pre class="wp-block-preformatted">sudo update-grub</pre>



<p>Of course, I did this. But with the errant text between the quotes (not shown here, because I went back and fixed it), GRUB was like, what the fuck do you actually want??</p>



<p>The result: the black screen of death.</p>



<p>The solution: when booting, press whatever it takes to force the boot menu. For me, on a Lenovo Yoga 530, I pressed F12.</p>



<p>From the boot menu, you can drop into a command prompt (recovery mode) and edit the grub file and remove whatever is wrong.</p>



<p>Then, DON&#8217;T FORGET, run</p>



<pre class="wp-block-preformatted">sudo update-grub</pre>



<p>Then resume boot as normal. </p>



<p>In my case, this fixed the problem. If this doesn&#8217;t fix the problem, then I recommend altering your GRUB config so that you can see system messages, then boot again and see where the problem is. Then, search for solutions to that problem, whatever it is.</p>



<p>But, in many cases, errant grub config might well have been the problem.</p>



<p>** A quick note about the black screen with the cursor: sometimes the system is really just waiting for something to finish, and if you&#8217;re patient enough, it&#8217;ll finish and the next phase of booting or whatever will commence. In this case, the question is how patient you&#8217;re willing to be. (I&#8217;m not very patient, so I&#8217;d just cold boot the bastard and figure out what was taking so long and eliminate or streamline it. But that&#8217;s me, and I&#8217;m really fun in queues.)</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">185</post-id>	</item>
		<item>
		<title>Some keys on my keyboard stopped working. What should I do?</title>
		<link>https://i.rootbeer.co.nz/some-keys-on-my-keyboard-stopped-working-what-should-i-do/</link>
		
		<dc:creator><![CDATA[Brian]]></dc:creator>
		<pubDate>Sat, 11 Sep 2021 21:18:11 +0000</pubDate>
				<category><![CDATA[Troubleshooting]]></category>
		<guid isPermaLink="false">https://i.rootbeer.co.nz/?p=145</guid>

					<description><![CDATA[It turns out this happens a lot, and it&#8217;s (likely) not a Linux problem. The symptom: Suddenly, randomly, some of the keyboard will stop working. <a href="https://i.rootbeer.co.nz/some-keys-on-my-keyboard-stopped-working-what-should-i-do/" class="btn btn-link continue-link">Continue Reading</a>]]></description>
										<content:encoded><![CDATA[
<p>It turns out this happens a lot, and it&#8217;s (likely) not a Linux problem.</p>



<p>The symptom: Suddenly, randomly, some of the keyboard will stop working. Usually this happens in clusters. Perhaps some of the number keys stop working. Perhaps some of the qwerty row. Sometimes the shift key stops working. It could be anything.</p>



<p>The problem is either <strong><em>hardware</em></strong> or <strong><em>software</em></strong>. Here&#8217;s how to easily determine which.</p>



<ul><li>Reboot and get into the BIOS (use F2, F1, whatever special key for your machine).</li><li>Find a place where you can enter text. The admin password field is an option.</li><li>Try to enter text with the keys that weren&#8217;t working.</li><li>If the keys work, then it is a software problem.</li><li>If the keys still do not work, then it&#8217;s a hardware problem.</li><li>Exit without saving!</li></ul>



<h2>Hardware</h2>



<p>I&#8217;ll start with <strong>hardware</strong>, because that&#8217;s probably the problem. (Especially with Linux; blaming drivers is such a Windows thing to do, isn&#8217;t it&#8230;.)</p>



<p><strong><em>Easiest fix</em></strong>: clean the keyboard. Use a can of compressed air with a straw; you know the ones. Hold down one of the errant keys and spray air under the top as best you can. See if that does it. (Some warn that this might jiggle debris around and make things worse, so proceed with caution, as always.) If this doesn&#8217;t do it, invert the machine and gently tap the keys as you would when typing. In this case, gravity will try to pull any bits out. Finally, you can pop off an errant key and spray air directly around under the top.</p>



<p>Did that work? No? Well, things get more complicated.</p>



<p><strong><em>Slightly more difficult fix</em></strong>: reseat the ribbon cable. (Unless you&#8217;re lucky enough to be using an old ThinkPad where taking the keyboard out is an absolute cinch! But then, if you&#8217;re using an old ThinkPad, you&#8217;re probably not having keyboard problems (those were the best laptop keyboards ever made. Full stop.))</p>



<p>To reseat the keyboard ribbon cable, you have to get into the machine. This will vary from model to model, but it probably involves removing screws. Do that and find the ribbon cable and reseat it.</p>



<p>Lots of people report success with this technique. But notice something: to do this, you have to invert the laptop and, voila! Gravity and jiggling very well might dislodge debris as in the <strong><em>Easiest Fix</em></strong>. (I struggle with the ribbon cable solution. It&#8217;s either seated correctly or not. How could this possibly affect Shift-9, for example? It just doesn&#8217;t add up. If you can think of a way that it does add up, please leave a comment. (Haha. Fuck comments.))</p>



<p>While you&#8217;re at it, some recommend doing a power cycle. This means disconnecting the battery and pressing the power button for anywhere from 30 seconds to an hour. This will discharge any weird built-up static or whatever. Plausible solution, but I bet it doesn&#8217;t help!</p>



<p>If you&#8217;ve done these things and the symptoms persist, then you might have drawn the short straw and gotten a munted keyboard. It happens. These are fiddly things, and nobody&#8217;s perfect. You might just be staring down some new hardware.</p>



<p>(This happened to me; ultimately, it was a glitch in the actual hardware; there was nothing to be done outside of replacing.)</p>



<h2>Software</h2>



<p>Uh. If you&#8217;re using Linux, then, reinstall the driver? No? That isn&#8217;t really a thing. But what I can recommend is updating everything responsibly. The drivers are part of the kernel, so at this point, you&#8217;re monkeying with that kind of thing, and that&#8217;s not for everybody. (It&#8217;s also very likely not your problem. If one key works and one key doesn&#8217;t, then clearly the driver works &#8212; because that one freaking key works!)</p>



<p>If none of this works and you&#8217;re in a real pinch, then plug in a USB keyboard.</p>



<p>Seek professional help.</p>



<p></p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">145</post-id>	</item>
		<item>
		<title>How do I integrate my Google Calendar into Gnome?</title>
		<link>https://i.rootbeer.co.nz/how-do-i-integrate-my-google-calendar-in-gnome/</link>
		
		<dc:creator><![CDATA[Brian]]></dc:creator>
		<pubDate>Fri, 10 Sep 2021 09:49:35 +0000</pubDate>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<guid isPermaLink="false">https://i.rootbeer.co.nz/?p=100</guid>

					<description><![CDATA[Easy. (If you&#8217;re running something full-featured like Ubuntu 21.04, which I&#8217;m running.) First, bring up your &#8220;Settings&#8221;. You can do this through the drop down <a href="https://i.rootbeer.co.nz/how-do-i-integrate-my-google-calendar-in-gnome/" class="btn btn-link continue-link">Continue Reading</a>]]></description>
										<content:encoded><![CDATA[
<p>Easy. (If you&#8217;re running something full-featured like Ubuntu 21.04, which I&#8217;m running.)</p>



<p>First, bring up your &#8220;Settings&#8221;. You can do this through the drop down in the top right corner, if you&#8217;re using Gnome. Or, you can hit the &#8220;Super&#8221; key (usually the &#8220;Window&#8221; key), then typing &#8220;settings&#8221;.</p>



<p>Here&#8217;s mine.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="862" src="https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-10-21-41-46-1024x862.png" alt="" class="wp-image-148" srcset="https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-10-21-41-46-1024x862.png 1024w, https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-10-21-41-46-300x253.png 300w, https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-10-21-41-46-768x647.png 768w, https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-10-21-41-46.png 1032w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Oh my god now you know my gmail.com address. Whelp&#8230;.</p>



<p>See, it&#8217;s pretty simple these days. Just click &#8220;Online Accounts&#8221;, then click on Google, then enter your information and accept that Linux will be able to access your stuff, and you&#8217;re in business.</p>



<p>Now, your calendar should be integrated in the top bar of Gnome. Like this:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="576" src="https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-10-21-45-41-1024x576.png" alt="" class="wp-image-149" srcset="https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-10-21-45-41-1024x576.png 1024w, https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-10-21-45-41-300x169.png 300w, https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-10-21-45-41-768x432.png 768w, https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-10-21-45-41-1536x864.png 1536w, https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-10-21-45-41.png 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>As you can see, I prefer a pretty basic setup. See those dots under the days? Those are all events on my Google Calendar. Events will show up in the &#8220;Notifications&#8221; area, as appropriate. &#8220;No Events&#8221; today. Oh well.</p>



<p>For further tips on how to set up your Gnome environment as incredibly simply as mine, refer to my Tweaks post.</p>



<p>For now, enjoy how easy they&#8217;ve made it .</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">100</post-id>	</item>
		<item>
		<title>How do I enable touchscreen gestures in Linux?</title>
		<link>https://i.rootbeer.co.nz/how-do-i-enable-touchscreen-gestures-in-linux/</link>
		
		<dc:creator><![CDATA[Brian]]></dc:creator>
		<pubDate>Fri, 10 Sep 2021 04:53:32 +0000</pubDate>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<guid isPermaLink="false">https://i.rootbeer.co.nz/?p=78</guid>

					<description><![CDATA[Recently my wife complained to me that her Dell XPS 13, which is supposed to work seamlessly with Ubuntu, didn&#8217;t let her use touchscreen scrolling. <a href="https://i.rootbeer.co.nz/how-do-i-enable-touchscreen-gestures-in-linux/" class="btn btn-link continue-link">Continue Reading</a>]]></description>
										<content:encoded><![CDATA[
<p>Recently my wife complained to me that her Dell XPS 13, which is supposed to work seamlessly with Ubuntu, didn&#8217;t let her use touchscreen scrolling. I was in the process of looking for a new laptop, so I figured I&#8217;d work through the problem and solve it before I committed to a touchscreen laptop with Linux for myself.</p>



<p>The solution is simple enough with a few commands, but you&#8217;ll have to use the terminal for this one.</p>



<p>First, the symptom: Using Firefox, it was not possible to scroll using the touchscreen. Instead, all you could do was click links or select text. You could drag the scrollbar, but generally this is not the behaviour of a tablet, and tablet behaviour was what we expected.</p>



<p>The solution: You need X11 Gestures, touchegg, and to adjust a few settings in Firefox and elsewhere.</p>



<p>First, <a rel="noreferrer noopener" href="https://askubuntu.com/questions/680305/how-to-install-touchegg-on-ubuntu-14-10" data-type="URL" data-id="https://askubuntu.com/questions/680305/how-to-install-touchegg-on-ubuntu-14-10" target="_blank">ensure that you have touchegg installed</a> (this link is for an older version of Ubuntu, but the same principle applies).</p>



<p>Next, assuming you&#8217;re using Gnome (Ubuntu out of the box uses Gnome), you&#8217;ll want to <a rel="noreferrer noopener" href="https://extensions.gnome.org/extension/4033/x11-gestures/" data-type="URL" data-id="https://extensions.gnome.org/extension/4033/x11-gestures/" target="_blank">install X11 Gestures</a>. This is a Gnome Shell Extension, and if you&#8217;ve not set yourself up to use those, you&#8217;ll want to <a href="https://itsfoss.com/gnome-shell-extensions/" data-type="URL" data-id="https://itsfoss.com/gnome-shell-extensions/" target="_blank" rel="noreferrer noopener">set up Gnome Shell Extensions</a> now.</p>



<p>At this point, your problem will not be solved. There are two more subtle steps, and they have to do with security, so proceed with caution. (You&#8217;ll be OK. I believe in you.)</p>



<p>In Firefox, in about:config, set dom.w3c_touch_events.enabled=1. Here that is in monospace:</p>



<pre class="wp-block-preformatted">dom.w3c_touch_events.enabled=1</pre>



<p> Now, you need to edit a file that only root (the administrator) can edit. The instruction is this: edit /etc/security/pam_env.conf and add MOZ_USE_XINPUT2 DEFAULT=1</p>



<p>I use an editor called vim. You can use whatever editor you want. gedit is popular. nano is popular. Whatever you&#8217;ve settled on, use that. Replace in these commands as necessary.</p>



<pre class="wp-block-preformatted">sudo vim /etc/security/pam_env.conf</pre>



<p>Once in the file, ensure you have a line that looks like this (the last blue line):</p>



<figure class="wp-block-image size-full is-resized"><img loading="lazy" src="https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-10-16-47-07.png" alt="" class="wp-image-127" width="839" height="562" srcset="https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-10-16-47-07.png 866w, https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-10-16-47-07-300x201.png 300w, https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-10-16-47-07-768x515.png 768w" sizes="(max-width: 839px) 100vw, 839px" /></figure>



<p>Save the file and reload modules &#8212; or just bloody reboot &#8212; as necessary.</p>



<p>Was all of this necessary? To be honest, I don&#8217;t know exactly; I&#8217;m unsure whether the X11 Gestures were necessary, but they&#8217;re cool and you should have them. I know that pinching and scrolling didn&#8217;t work in Firefox until these last two steps, so they&#8217;re essential.</p>



<p>Following this, I bought my own Lenovo Yoga 530 and set all this up. Then, when I installed Google Chrome, it worked seamlessly. So, officially, this is a troubleshooting guide for Firefox in Gnome with a touchscreen.</p>



<p>Enjoy.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">78</post-id>	</item>
	</channel>
</rss>
