<?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>Brian &#8211; Switch to Linux</title>
	<atom:link href="https://i.rootbeer.co.nz/author/theblues/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>How do I connect my Android device to my Gnome desktop in Linux?</title>
		<link>https://i.rootbeer.co.nz/how-do-i-connect-my-android-device-to-my-gnome-desktop-in-linux/</link>
		
		<dc:creator><![CDATA[Brian]]></dc:creator>
		<pubDate>Sun, 26 Sep 2021 04:46:03 +0000</pubDate>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Software]]></category>
		<guid isPermaLink="false">https://i.rootbeer.co.nz/?p=249</guid>

					<description><![CDATA[You need two things. In Gnome, you need GSConnect. On the device, you need KDE Connect. GSConnect GSConnect is a Gnome Extension. If you have <a href="https://i.rootbeer.co.nz/how-do-i-connect-my-android-device-to-my-gnome-desktop-in-linux/" class="btn btn-link continue-link">Continue Reading</a>]]></description>
										<content:encoded><![CDATA[
<p>You need two things.</p>



<p>In Gnome, you need <a href="https://extensions.gnome.org/extension/1319/gsconnect/" data-type="URL" data-id="https://extensions.gnome.org/extension/1319/gsconnect/" target="_blank" rel="noreferrer noopener">GSConnect</a>.</p>



<p>On the device, you need <a href="https://kdeconnect.kde.org/" data-type="URL" data-id="https://kdeconnect.kde.org/" target="_blank" rel="noreferrer noopener">KDE Connect</a>.</p>



<h2>GSConnect</h2>



<p>GSConnect is a Gnome Extension. <a rel="noreferrer noopener" href="https://itsfoss.com/gnome-shell-extensions/" data-type="URL" data-id="https://itsfoss.com/gnome-shell-extensions/" target="_blank">If you have not already started using Gnome Extensions, read this</a>. Long story shory: you can easily enable Gnome Extensions from a web browser, and that&#8217;s super handy. In this case, you&#8217;ll want to enable <a rel="noreferrer noopener" href="https://extensions.gnome.org/extension/1319/gsconnect/" data-type="URL" data-id="https://extensions.gnome.org/extension/1319/gsconnect/" target="_blank">GSConnect</a>. It&#8217;ll look like this:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="560" src="https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-26-17-25-23-1024x560.png" alt="" class="wp-image-251" srcset="https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-26-17-25-23-1024x560.png 1024w, https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-26-17-25-23-300x164.png 300w, https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-26-17-25-23-768x420.png 768w, https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-26-17-25-23-1536x840.png 1536w, https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-26-17-25-23.png 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Wow look at all my browser tabs. Cool, right? (Can you still trust me, now that you <em>know</em>?)</p>



<p>Nothing will look immediately different. You will, however, notice when you pull down the top right:</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="353" height="479" src="https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-26-17-27-20.png" alt="" class="wp-image-252" srcset="https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-26-17-27-20.png 353w, https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-26-17-27-20-221x300.png 221w" sizes="(max-width: 353px) 100vw, 353px" /></figure>



<p>&#8220;Mobile Devices&#8221; now appears. (And look at all that stuff you know about my laptop now! Wow!) At this point (prior to installing KDE Connect on your phone / device), turning it on will do nothing of consequence, but you should turn it on, so that you can connect when we get KDE Connect running for you. So let&#8217;s move on to installing on your phone.</p>



<h2>KDE Connect</h2>



<p>Play Store / search KDE Connect / install.</p>



<p>Open KDE Connect.</p>



<p>It will discover the name of the machine running GSConnect. Click connect.</p>



<p>Over in the Gnome Environment, you should get a notification that something is trying to connect. You should accept this.</p>



<p>(When I first tried, I had a problem with the notification. It would disappear almost instantly, before I could accept. I <a rel="noreferrer noopener" href="https://github.com/GSConnect/gnome-shell-extension-gsconnect/issues/982" data-type="URL" data-id="https://github.com/GSConnect/gnome-shell-extension-gsconnect/issues/982" target="_blank">found this page about the problem</a>. But then I can&#8217;t remember what I did to fix it. Sorry.) ((I might have reinstalled or something simple like that. Shrug. I wasn&#8217;t expecting to write this article, but then my wife wanted to connect her Android phone to her Dell XPS 13, and I realised this is a good topic to write about. But alas, I hadn&#8217;t taken notes on my experience&#8230;. Live and learn, am-i-right?))</p>



<h2>Once Connected</h2>



<p>Check this out:</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="356" height="665" src="https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-26-17-27-58.png" alt="" class="wp-image-253" srcset="https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-26-17-27-58.png 356w, https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-26-17-27-58-161x300.png 161w" sizes="(max-width: 356px) 100vw, 356px" /></figure>



<p>(Guess what kind of cheap phone I have?) And look at all the stuff you can now do. This is pretty powerful business. You&#8217;ll need to grant permission for Gnome to do stuff to and on the phone, and vice versa. All quite self-explanatory.</p>



<p>You can set things up so that, when connected, phone notifications will show up in your Gnome notifications area. You can also use the phone screen to move the mouse on your computer, which is fun so show off at parties (but I can&#8217;t find any other reason for this function, and, yes, I attend strange parties).</p>



<p>I&#8217;ll note: if you connect to &#8220;Messaging&#8221;, you&#8217;ll be connecting to the default SMS service on your phone. For example, I&#8217;ve been using Signal, and nothing I sent after I switched showed up on Messaging. AND (!) all my deleted messages showed up as well. (This is worth a second article some day&#8230;.)</p>



<p>That&#8217;s it.</p>



<p>Now go.</p>



<p>Enjoy.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">249</post-id>	</item>
		<item>
		<title>How is the Linux filesystem organised?</title>
		<link>https://i.rootbeer.co.nz/how-is-the-linux-filesystem-organised/</link>
		
		<dc:creator><![CDATA[Brian]]></dc:creator>
		<pubDate>Thu, 23 Sep 2021 11:30:07 +0000</pubDate>
				<category><![CDATA[The Basics]]></category>
		<guid isPermaLink="false">https://i.rootbeer.co.nz/?p=230</guid>

					<description><![CDATA[It&#8217;s a tree, and like all trees, it starts with the root. If you want all the specifics, I suggest familiarising yourself with the Filesystem <a href="https://i.rootbeer.co.nz/how-is-the-linux-filesystem-organised/" class="btn btn-link continue-link">Continue Reading</a>]]></description>
										<content:encoded><![CDATA[
<p>It&#8217;s a tree, and like all trees, it starts with the root.</p>



<p>If you want all the specifics, I suggest familiarising yourself with the <a rel="noreferrer noopener" href="https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard" data-type="URL" data-id="https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard" target="_blank">Filesystem Hierarchy Standard (FHS)</a>. There&#8217;s a lot of detail there; the most important thing for you to understand is that, when coming from a Windows to a Linux environment, you don&#8217;t have &#8220;drive names&#8221;. There&#8217;s no &#8220;C:&#8221; or whatever. Everything starts at &#8220;/&#8221;. (That&#8217;s the root of the filesystem.)</p>



<p>To see what&#8217;s available from the root, drop into a command line (terminal) and type the commands:</p>



<pre class="wp-block-preformatted">cd /
ls</pre>



<p> The results will look something like this (this is my default Ubuntu 21.04 install):</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-22-54-57.png" alt="" class="wp-image-231" srcset="https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-23-22-54-57.png 866w, https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-23-22-54-57-300x201.png 300w, https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-23-22-54-57-768x515.png 768w" sizes="(max-width: 866px) 100vw, 866px" /></figure>



<p>Everything in dark blue is a directory. Everything in white is a text file. Everything in green (nothing in the shot above) is exceutable. The directories you&#8217;ll find yourself fiddling with the most include /etc, /home, /media, and /var.</p>



<h2>/etc</h2>



<p>/etc (pronounced et-see) has all the configuration files. Again default configuration of Ubuntu 21.04, here&#8217;s what I&#8217;ve got:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="560" src="https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-23-22-58-16-1024x560.png" alt="" class="wp-image-232" srcset="https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-23-22-58-16-1024x560.png 1024w, https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-23-22-58-16-300x164.png 300w, https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-23-22-58-16-768x420.png 768w, https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-23-22-58-16-1536x840.png 1536w, https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-23-22-58-16.png 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Obviously there&#8217;s a lot in there. Again, anything in white is a text file; anything in dark blue is a directory. Notice the commands I&#8217;ve used: ls and cd.</p>



<p>&#8220;ls&#8221; gives you a directory &#8220;listing&#8221;.</p>



<p>&#8220;cd&#8221; changes to a directory.</p>



<p>&#8220;more&#8221;, &#8220;less&#8221;, and &#8220;cat&#8221; will show you the contents of text files; it&#8217;s useful to read up on how these commands work. My tendency is to use &#8220;less&#8221;, as it presents an easily-navigable, paged display of a file&#8217;s contents.</p>



<p>Note: when in doubt, RTFM. (You don&#8217;t want anyone to tell you &#8220;RTFM&#8221; when you ask a dumb question (there are dumb questions)). Read. The. Fucking. Manual. This means to read the manual page for whatever command is in question. For example, if you want to know how &#8220;less&#8221; works, don&#8217;t ask someone &#8220;hey, how does &#8216;less&#8217; work?&#8221; They will be within their rights to tell you to RTFM.) To read the (fucking) manual, type this at a command prompt:</p>



<pre class="wp-block-preformatted">man less</pre>



<p>As an example, you&#8217;ll see something like this:</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-23-04-07.png" alt="" class="wp-image-233" srcset="https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-23-23-04-07.png 866w, https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-23-23-04-07-300x201.png 300w, https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-23-23-04-07-768x515.png 768w" sizes="(max-width: 866px) 100vw, 866px" /></figure>



<p>Follow the on-screen instructions to learn how to navigate a paged viewer like this. (That is, RTFM; I&#8217;m not going to re-invent the manual here because <a href="http://acronymsandslang.com/definition/7443886/FTN-meaning.html" data-type="URL" data-id="http://acronymsandslang.com/definition/7443886/FTN-meaning.html" target="_blank" rel="noreferrer noopener">FTN</a>.)</p>



<p>It is well worth your time to get to know how these common, basic commands work; they&#8217;re extremely powerful and will help you navigate and administer your computer like a fucking boss.</p>



<p>Anyway. Have a cruise around /etc and see what&#8217;s in there. Don&#8217;t worry: unless you&#8217;re the administrator, you can&#8217;t break anything.</p>



<h2>/home</h2>



<p>Linux, like all UNIX-oriented operating systems, is a multi-user system. If you installed fresh and created one user, there will be only one sub-directory in /home. It will be named after you. Mine is /home/brian/.</p>



<p>There are lots of other users on the system. You can view them in the file /etc/passwd:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="560" src="https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-23-23-10-00-1024x560.png" alt="" class="wp-image-234" srcset="https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-23-23-10-00-1024x560.png 1024w, https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-23-23-10-00-300x164.png 300w, https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-23-23-10-00-768x420.png 768w, https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-23-23-10-00-1536x840.png 1536w, https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-23-23-10-00.png 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>You&#8217;ll never interact with most of them. It&#8217;s mostly just you and root, assuming you are your own administrator.</p>



<p>You might be thinking: what&#8217;s the freaking point to all this complication? Well, if, in principle, the administrator and users are separated, it&#8217;s much more difficult for malware to affect the system. Notice some of the user names in that file: www-data, mail, lp, and so on. They all have different jobs, and those jobs are logically separated from both users and the administrator. In a well-maintained system, even if www-data is compromised, that user cannot affect things like the printer, or you! If you&#8217;re compromised, you can&#8217;t affect the printer, or the web server, or whatever.</p>



<p>Notice, there are no subdirectories in /home for any of these utility users. That&#8217;s what we expect; they never log in; they never <em>use</em> the system, as you do. Sub-directories in /home are legitimate users set up by the administrator.</p>



<h2>/media</h2>



<p>If you plug in a USB drive, or pop a camera card in a slot, or whatever, that &#8220;device&#8221; will be &#8220;mounted&#8221; in a subdirectory of /media.</p>



<p>/media is reserved for removeable devices.</p>



<p>This is important: a device is anything attached to the computer. This includes the keyboard, the wifi controller, the screen, a printer, the hard drive, anything. All of those things are represented somewhere in the filesystem &#8212; as a &#8220;file&#8221;. This simplifies everything. If a printer can be treated like a file, then I can control access to the printer the same way I control access to a file. Easy peasy.</p>



<p>Briefly: the very concept of a file, in the UNIX world, includes the very concept of permission (more on this in a separate article). This is very important: the very idea of security is built in to the very concept of what it&#8217;s like to exist in a UNIX-style environment. (For ages, the idea of security was separate from the idea of a file, in a Microsoft environment. This made everything quite vulnerable, and this structural concern is among the reasons why there were so many ways to infect a Microsoft environment with malware. But I digress &#8212; and I guess Microsoft has changed its ways by now, I hear. I dunno. I don&#8217;t pay attention to those billionaire fuckers.)</p>



<p>So anyway, when you plug in a new device, the system recognises the presence of the new device and &#8220;mounts&#8221; it. This means that it gets its own spot in the filesystem. (Ages ago, this was all a manual process; nowadays, it&#8217;s all very simple, so lucky you!) When the system mounts something new, it will be mounted to a subdirectory of /media corresponding to the user&#8217;s name. In my case, anything I mount will live in /media/brian/.</p>



<h2>/var</h2>



<p>This is a directory where &#8220;variable&#8221; things go &#8212; things that we expect will change as the operating system operates. A specially useful example are the files in /var/log/. These are the log files, where the system tracks the things that happen &#8212; depending on how you&#8217;ve configured it to keep track of such things. When errors occur, they&#8217;ll be in here somewhere. When services restart, you&#8217;ll find logs of that as well. Have a bounce around in here and view some of the files. It&#8217;s good fun.</p>



<h2>Summary</h2>



<p>You&#8217;ve entered a different world. There&#8217;s a lot to learn at first, but everything is very deliberately designed &#8212; especially for security &#8212; and has been operating successfully for fifty years. It&#8217;s worth spending a little time getting to know how the filesystem works, and how it contributes to both the security and stability of a UNIX-oriented system like Linux. This is best done through the command line, and the manual.</p>



<p>When in doubt, indeed, RTFM.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">230</post-id>	</item>
		<item>
		<title>Does Linux have an alternative to Microsoft Word?</title>
		<link>https://i.rootbeer.co.nz/does-linux-have-an-alternative-to-microsoft-word/</link>
		
		<dc:creator><![CDATA[Brian]]></dc:creator>
		<pubDate>Thu, 23 Sep 2021 02:18:00 +0000</pubDate>
				<category><![CDATA[Software]]></category>
		<guid isPermaLink="false">https://i.rootbeer.co.nz/?p=92</guid>

					<description><![CDATA[Yes. Several. LibreOffice The leader of the pack these days is LibreOffice, which is installed by default with Ubuntu Linux, among other distributions. LibreOffice Writer <a href="https://i.rootbeer.co.nz/does-linux-have-an-alternative-to-microsoft-word/" class="btn btn-link continue-link">Continue Reading</a>]]></description>
										<content:encoded><![CDATA[
<p>Yes. Several.</p>



<h2>LibreOffice</h2>



<p>The leader of the pack these days is <a rel="noreferrer noopener" href="https://www.libreoffice.org/" data-type="URL" data-id="https://www.libreoffice.org/" target="_blank">LibreOffice</a>, which is installed by default with Ubuntu Linux, among other distributions. <a rel="noreferrer noopener" href="https://www.libreoffice.org/discover/writer/" data-type="URL" data-id="https://www.libreoffice.org/discover/writer/" target="_blank">LibreOffice Writer</a> is the word processing component of the office suite. It can process every kind of Microsoft format you can imagine, plus more. The default file format for documents created in LibreOffice Writer is <a rel="noreferrer noopener" href="https://docs.fileformat.com/word-processing/odt/" data-type="URL" data-id="https://docs.fileformat.com/word-processing/odt/" target="_blank">ODT</a>, which stands for OpenDocument Text. This format is compatible with modern versions of Microsoft Word.</p>



<p>The software has a familiar look and feel. A blank document with all default settings looks like this:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="560" src="https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-23-13-42-20-1024x560.png" alt="" class="wp-image-211" srcset="https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-23-13-42-20-1024x560.png 1024w, https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-23-13-42-20-300x164.png 300w, https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-23-13-42-20-768x420.png 768w, https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-23-13-42-20-1536x840.png 1536w, https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-23-13-42-20.png 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>There isn&#8217;t a &#8220;<a rel="noreferrer noopener" href="https://docs.microsoft.com/en-us/windows/win32/uxguide/cmd-ribbons" data-type="URL" data-id="https://docs.microsoft.com/en-us/windows/win32/uxguide/cmd-ribbons" target="_blank">ribbon</a>&#8221; style menu, as Microsoft Word has (sadly) embraced. According to Microsoft:</p>



<blockquote class="wp-block-quote"><p>While you might simply refactor a traditional menu bar and toolbar design of an existing program to a ribbon format, doing so misses most of the value of using a ribbon. Ribbons have the most value when used to present immediate, results-oriented commands, often in the form of galleries and live previews. Results-oriented commands make commands easier to understand and users much more efficient and productive. Instead of refactoring your existing commands, it&#8217;s better to redesign completely how commands are performed in your program.</p></blockquote>



<p>If you can find a better example of bullshit business speak, leave it in the comments. &#8220;Results-oriented commands&#8221;. Hah! Efficiency! Productivity! Man this has got it all. Why hasn&#8217;t LibreOffice embraced this revolution? Well they have.</p>



<p>If you want to experience the incalculable productivity boost of the ribbon style user interface, just do this, from &#8220;View / User interface&#8230;&#8221;:</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="763" height="414" src="https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-23-13-48-20.png" alt="" class="wp-image-212" srcset="https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-23-13-48-20.png 763w, https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-23-13-48-20-300x163.png 300w" sizes="(max-width: 763px) 100vw, 763px" /></figure>



<p>I think &#8220;Tabbed&#8221; is the Microsoft <s>rubbish</s> ribbon style. But look, if it&#8217;s efficiency you want, I recommend setting up <a rel="noreferrer noopener" href="https://documentation.libreoffice.org/assets/Uploads/Documentation/en/GS5.1/HTML/GS5114-CustomizingLibreOffice.html#__RefHeading__10279_2122281821" data-type="URL" data-id="https://documentation.libreoffice.org/assets/Uploads/Documentation/en/GS5.1/HTML/GS5114-CustomizingLibreOffice.html#__RefHeading__10279_2122281821" target="_blank">keyboard shortcuts</a> to do all the stuff you regularly do. Toolbar style doesn&#8217;t matter a whit; once you have to remove your fingers from the keyboard to perform an action, you&#8217;re wasting time. Surely someone has studied this, but it&#8217;s incompatible with the popularly asserted (by Microsoft) value of performing any and all actions in a Graphical User Interface, so. This is Linux people: the keyboard is your friend. Embrace your friend.</p>



<p>(I have digressed. Oops.)</p>



<p>Anyway, there are alternatives to LibreOffice Writer.</p>



<h2>OpenOffice</h2>



<p><a rel="noreferrer noopener" href="https://www.openoffice.org/" data-type="URL" data-id="https://www.openoffice.org/" target="_blank">OpenOffice</a> is, essentially, an original version of LibreOffice. Long story short: there was a split between developers of OpenOffice after the rights were acquired by this and that billionaire multi-national leech (details irrelevant), and what we have now are two office suites developing side-by-side that are nearly identical. They are both robust and wonderful. But, given that Ubuntu chooses to bundle LibreOffice with their distribution, I choose inertia and go with that.</p>



<h2>WPS</h2>



<p><a rel="noreferrer noopener" href="https://www.wps.com/" data-type="URL" data-id="https://www.wps.com/" target="_blank">This is an interesting one</a>. It&#8217;s proprietary, costs money, but by reputation is almost perfectly compatible with Microsoft Word. However, I&#8217;ve never run up against anything given to me in a Word format that LibreOffice couldn&#8217;t handle. Maybe I&#8217;m not the kind of user who runs into incompatability problems. I dunno.</p>



<p>I can tell you this: I installed WPS once &#8212; the free trial version &#8212; and it was bloody hard to uninstall. I wasn&#8217;t pleased with that. Maybe it looked more like Word, but I also don&#8217;t know about that; I don&#8217;t use Word.</p>



<p>If you&#8217;re looking for a free, open alternative to Word (obviously a good thing), this isn&#8217;t it. Proceed with the same caution your would exercise toward any non-open software.</p>



<h2>Calligra</h2>



<p>Here&#8217;s one that I know exists, but I&#8217;ve never used it. See, there&#8217;s this split in Linux environments between Gnome and KDE. I&#8217;ve always been more of a Gnome user. So, the stuff developed for the KDE environment hasn&#8217;t been on my radar.</p>



<p>Looks cool though. <a href="https://calligra.org/" data-type="URL" data-id="https://calligra.org/" target="_blank" rel="noreferrer noopener">Give it a try</a> and leave a comment about how you like it. (Hah. Comments.)</p>



<h2>AbiWord</h2>



<p>I&#8217;ll be honest here (am I ever dishonest here?) &#8212; I used to love <a rel="noreferrer noopener" href="https://www.abisource.com/" data-type="URL" data-id="https://www.abisource.com/" target="_blank">AbiWord</a>. But that was twenty years ago. Recently, for old times sake, I gave it a try again and. Sigh. What to say. Why wouldn&#8217;t I just use LibreOffice Writer? I don&#8217;t know.</p>



<p>In fact, I just tried to open one of my documents with it, and the damned thing crashed.</p>



<p>It has a small memory footprint, so if memory is a concern, this might be your answer.</p>



<h2>TL;DR</h2>



<p>LibreOffice Writer is good. Why are you still paying the richest people on the planet for the privilege to use an entirely replaceable and inferior product?</p>



<h2>(Collaboration and Presentation)</h2>



<p>OK, so some of you need to do collaborative work with &#8220;Teams&#8221; or whatever other bloated thing. The good news is that for the overwhelming majority of users, the web-based versions of whatever you need (Office 365?) work just fine.</p>



<p>If you&#8217;re worried about documents not looking the same if you open them on this computer with this version of this thing vs. that computer with that other version of that other thing, then you shouldn&#8217;t be using word processing software. Word processing software is not about consistent, professional-looking presentation. It&#8217;s about storing and editing words (content). For consistent, professional-looking presentation, you&#8217;re looking for desktop publishing software (things like <a rel="noreferrer noopener" href="https://www.adobe.com/nz/creativecloud/tools/desktop-publishing-software.html" data-type="URL" data-id="https://www.adobe.com/nz/creativecloud/tools/desktop-publishing-software.html" target="_blank">Adobe InDesign, etc.</a>, or <a href="https://www.scribus.net/" data-type="URL" data-id="https://www.scribus.net/" target="_blank" rel="noreferrer noopener">Scribus &#8212; the open source alternative</a>) and you want a professional designer to make your content look amazing.</p>



<h2>Summary</h2>



<p>Liberate yourself.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">92</post-id>	</item>
		<item>
		<title>How do I change what my computer is called on the network in Linux?</title>
		<link>https://i.rootbeer.co.nz/how-do-i-change-what-my-computer-is-called-on-the-network-in-linux/</link>
		
		<dc:creator><![CDATA[Brian]]></dc:creator>
		<pubDate>Wed, 22 Sep 2021 21:25:36 +0000</pubDate>
				<category><![CDATA[The Basics]]></category>
		<guid isPermaLink="false">https://i.rootbeer.co.nz/?p=200</guid>

					<description><![CDATA[This is called the &#8220;hostname&#8221;. The change is very simple, as the hostname is stored in a text file. That file is /etc/hostname (pronounced et-see <a href="https://i.rootbeer.co.nz/how-do-i-change-what-my-computer-is-called-on-the-network-in-linux/" class="btn btn-link continue-link">Continue Reading</a>]]></description>
										<content:encoded><![CDATA[
<p>This is called the &#8220;hostname&#8221;. The change is very simple, as the hostname is stored in a text file. That file is /etc/hostname (pronounced et-see host-name). Here&#8217;s mine, which I&#8217;ve changed from &#8220;Yoga&#8221; to &#8220;Yo-Yo-Yoga&#8221; (I use an editor called vim, which is ancestor of vi, which is not particularly user-friendly, but it&#8217;s damned powerful. Use whatever editor you like by changing the &#8220;vim&#8221; part to whatever, like &#8220;gedit&#8221; or &#8220;nano&#8221;):</p>



<pre class="wp-block-preformatted">sudo vim /etc/hostname</pre>



<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-10-36.png" alt="" class="wp-image-201" srcset="https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-23-09-10-36.png 866w, https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-23-09-10-36-300x201.png 300w, https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-23-09-10-36-768x515.png 768w" sizes="(max-width: 866px) 100vw, 866px" /></figure>



<p><em>(Note: hostnames must start with a letter and can contain only letters, numbers, and hyphens.)</em></p>



<p>Next, change any occurrence of the original hostname to the new one in /etc/hosts. Like this:</p>



<pre class="wp-block-preformatted">sudo vim /etc/hosts</pre>



<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-18-57.png" alt="" class="wp-image-202" srcset="https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-23-09-18-57.png 866w, https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-23-09-18-57-300x201.png 300w, https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-23-09-18-57-768x515.png 768w" sizes="(max-width: 866px) 100vw, 866px" /></figure>



<p>Now, to make the change take effect, either reboot (guh!) or &#8212; in my Ubuntu 21.04 case &#8212; use hostnamectl. (Other distributions and older versions of Ubuntu use different mechanisms; look up &#8220;what service do I use to reset hostname in [your Linux distribution]&#8221;.) Here&#8217;s what I did:</p>



<pre class="wp-block-preformatted">sudo hostnamectl set-hostname Yo-Yo-Yoga</pre>



<p>Where &#8220;Yo-Yo-Yoga&#8221;, as we all know by now, is my new, preferred hostname. Yours will likely be different, like &#8220;Hacker-Station-Delta&#8221; or &#8220;Party-Machine&#8221;.</p>



<p>Note that if you use hostnamectl without changing those files, then the next time you reboot, your computer will be named whatever is still in those files.</p>



<p>You can test the new hostname with the command &#8220;hostname&#8221;, like this:</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-18-28.png" alt="" class="wp-image-203" srcset="https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-23-09-18-28.png 866w, https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-23-09-18-28-300x201.png 300w, https://i.rootbeer.co.nz/wp-content/uploads/2021/09/Screenshot-from-2021-09-23-09-18-28-768x515.png 768w" sizes="(max-width: 866px) 100vw, 866px" /></figure>



<p>I hope that was a lot of fun for all of you. I sure got a laugh out of it. In fact, I&#8217;m going to keep my hostname like this for a while. See you on the network!</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">200</post-id>	</item>
		<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>Can I run Linux on my laptop?</title>
		<link>https://i.rootbeer.co.nz/can-i-run-linux-on-my-laptop/</link>
		
		<dc:creator><![CDATA[Brian]]></dc:creator>
		<pubDate>Sun, 12 Sep 2021 02:09:00 +0000</pubDate>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[The Basics]]></category>
		<guid isPermaLink="false">https://i.rootbeer.co.nz/?p=102</guid>

					<description><![CDATA[(Almost entirely) Yes. For technical reasons, there are a few laptops out there that actually can&#8217;t run Linux; it&#8217;s to do with how their hard <a href="https://i.rootbeer.co.nz/can-i-run-linux-on-my-laptop/" class="btn btn-link continue-link">Continue Reading</a>]]></description>
										<content:encoded><![CDATA[
<p>(Almost entirely) Yes.</p>



<p>For technical reasons, <a rel="noreferrer noopener" href="https://venturebeat.com/2016/09/21/lenovo-confirms-that-linux-wont-work-on-yoga-900-and-900s-laptops/" data-type="URL" data-id="https://venturebeat.com/2016/09/21/lenovo-confirms-that-linux-wont-work-on-yoga-900-and-900s-laptops/" target="_blank">there are a few laptops out there</a> that actually can&#8217;t run Linux; it&#8217;s to do with how their hard drives are configured; it&#8217;s to do with RAID, and your eyes are already glazing over. Fair enough.</p>



<p>Your best bet is to use a popular search engine and enter a term along the lines of &#8220;[some random laptop] linux&#8221;. There <em>will</em> be information about someone out there in the world who has tried Linux on this machine. It&#8217;s a big world; you will not be the first to wonder.</p>



<p>The big players these days (Ubuntu, Mint, Arch, and so on) have all the drivers you can imagine bundled up in their distributions. Generally, you&#8217;ll never have to install a driver; that&#8217;s a problem of the past &#8212; and it was a hell of a problem when it was a problem, back in the day.</p>



<p>A good idea is to try running Linux from a USB stick (or some other medium) and see that everything works. For example, <a rel="noreferrer noopener" href="https://ubuntu.com/tutorials/try-ubuntu-before-you-install#1-getting-started" data-type="URL" data-id="https://ubuntu.com/tutorials/try-ubuntu-before-you-install#1-getting-started" target="_blank">Ubuntu offers instructions for creating a bootable medium</a> and going for a test drive. I won&#8217;t reinvent the wheel they invented, but the basics are: download a thing, write that thing to a medium that is bootable, boot from that medium, <em>have fun</em>!</p>



<p>If you&#8217;re trying to see whether Linux will run on an old laptop, then you might want to try a minimal &#8220;Live Linux&#8221;. <a rel="noreferrer noopener" href="https://www.techradar.com/nz/best/best-usb-bootable-distros" data-type="URL" data-id="https://www.techradar.com/nz/best/best-usb-bootable-distros" target="_blank">There are several options</a>, with the most popular teeny tiny Linux being <a rel="noreferrer noopener" href="https://puppylinux.com/" data-type="URL" data-id="https://puppylinux.com/" target="_blank">Puppy</a>. (It can be good fun to just hack around with tiny distributions if you want to learn some of the basics and some of the non-mainstream software options.)</p>



<p>Assuming that everything is working from the live distribution, use whatever graphical installer they offer and go for it!</p>



<p>If you want to, you can install Linux along side some other operating system, like Windows. To do so, you&#8217;ll need to create partitions &#8212; <em>scary</em>! But the installer will help you along, and again, assuming you&#8217;re following along with someone who has done this before on your laptop of choice, you&#8217;ll have a model to follow. In a case like this, you&#8217;ll be creating a &#8220;dual boot&#8221; system, and <a rel="noreferrer noopener" href="https://itsfoss.com/install-ubuntu-1404-dual-boot-mode-windows-8-81-uefi/" data-type="URL" data-id="https://itsfoss.com/install-ubuntu-1404-dual-boot-mode-windows-8-81-uefi/" target="_blank">the world is full of instructions</a> of how to set this up. (I can&#8217;t really help because I&#8217;ve never done this because Windows: yuck.)</p>



<p>Long story short: yes you can run Linux on your laptop, with very few exceptions. And these days, installation is as easy as booting from a removeable drive and following basic instructions.</p>



<p>Have a go. Good luck. Enjoy your freedom.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">102</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>Do I need to use the command line?</title>
		<link>https://i.rootbeer.co.nz/do-i-need-to-use-the-command-line/</link>
		
		<dc:creator><![CDATA[Brian]]></dc:creator>
		<pubDate>Fri, 10 Sep 2021 20:44:48 +0000</pubDate>
				<category><![CDATA[The Basics]]></category>
		<guid isPermaLink="false">https://i.rootbeer.co.nz/?p=84</guid>

					<description><![CDATA[Yes. (Actually, you can do most things without the command line these days, but you really should use the command line whenever possible.) Linux is <a href="https://i.rootbeer.co.nz/do-i-need-to-use-the-command-line/" class="btn btn-link continue-link">Continue Reading</a>]]></description>
										<content:encoded><![CDATA[
<p>Yes.</p>



<p>(Actually, you can do most things without the command line these days, but you really should use the command line whenever possible.)</p>



<p>Linux is a UNIX-oriented operating system (there&#8217;s a lot more to it, but that&#8217;s all you need to be able to say at parties), and UNIX is a keyboard-oriented operating system. (There was no concept of a window when it was developed.) So, it&#8217;s best that you have a crack at the command line and take a little time to learn a few things. In fact, you can get things done a lot quicker with the command line than you can through a window.</p>



<h2>Advantages of using the command line</h2>



<p><strong>Power</strong>. In Linux, anything you can do in a window, you can do from the command line. But not everything you can do from the command line can be done in a window. This means that the command line is more powerful. (Of course, you can accidentally delete your entire system if you&#8217;re not careful. But you could spill coffee all over the machine and fry the main board, but you still keep a cup of coffee next to you am-i-right?)</p>



<p><strong>Speed</strong>. Navigating the filesystem, moving things, backing things up, renaming things, all that business &#8212; much easier from the command line. Commands such as mv and cp are super awesome and you don&#8217;t have to drag and drop icons all over the place. (mv for &#8216;move&#8217; and cp for &#8216;copy&#8217;.) Once you have a sense of the filesystem, which is set up like a tree, plus a few basic commands, everything falls into place. Trust me.</p>



<p><strong>Knowledge</strong>. If you try to run something graphically and it fails, what happened? Well, you can browse the system logs, look around for messages, and so forth. Or, if you try to run the same thing from the command line, any errors will be reported there. So much simpler for troubleshooting.</p>



<h2>Disadvantages of using the command line</h2>



<p>Nope.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">84</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>
