<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Tech for Breakfast</title><link>https://techforbreakfast.com/en/</link><description>Recent content on Tech for Breakfast</description><generator>Hugo</generator><language>en-GB</language><lastBuildDate>Sun, 29 Nov 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://techforbreakfast.com/en/index.xml" rel="self" type="application/rss+xml"/><item><title>Privacy policy</title><link>https://techforbreakfast.com/en/privacy-policy/</link><pubDate>Sun, 29 Nov 2026 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/privacy-policy/</guid><description>&lt;p&gt;This is a static website: it has no user accounts, comments, forms, advertising or traffic analytics.&lt;/p&gt;&#10;&lt;h2 id="cookies"&gt;Cookies&lt;/h2&gt;&#10;&lt;p&gt;The site uses a single cookie, &lt;code&gt;lang&lt;/code&gt;, only when you choose a language with the PT/EN switcher. It remembers that choice for one year so that the site does not show you the other language again, and it contains no personal data. No advertising or analytics cookies are used.&lt;/p&gt;</description></item><item><title>Ubuntu – changing the VM identifier after cloning</title><link>https://techforbreakfast.com/en/ubuntu-change-vm-identifier-after-cloning/</link><pubDate>Mon, 15 Sep 2025 15:00:34 +0100</pubDate><guid>https://techforbreakfast.com/en/ubuntu-change-vm-identifier-after-cloning/</guid><description>&lt;p&gt;When you clone a virtual machine, it is good practice to change that virtual machine&amp;rsquo;s identifier.&lt;/p&gt;&#10;&lt;p&gt;To check the current machine-id, we can run the following command:&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;text&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;cat /etc/machine-id&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;cat /var/lib/dbus/machine-id&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;We can now change it with the following commands&lt;/p&gt;</description></item><item><title>Ubuntu – changing the hostname</title><link>https://techforbreakfast.com/en/ubuntu-change-hostname/</link><pubDate>Mon, 15 Sep 2025 14:51:01 +0100</pubDate><guid>https://techforbreakfast.com/en/ubuntu-change-hostname/</guid><description>&lt;p&gt;To change the hostname of an Ubuntu installation, you can run the following commands:&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;text&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo hostnamectl hostname &amp;lt;newname&amp;gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo bash -c &amp;#34;sed -i &amp;#39;s/&amp;lt;currentname&amp;gt;/&amp;lt;newname&amp;gt;/g&amp;#39; /etc/hosts&amp;#34;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;Then reboot, to make sure there are no problems with services that were started before the change.&lt;/p&gt;</description></item><item><title>VMware Workstation 17.6 – no vmmon module</title><link>https://techforbreakfast.com/en/vmware-workstation-17-6-no-vmmon-module/</link><pubDate>Sun, 06 Oct 2024 22:00:58 +0100</pubDate><guid>https://techforbreakfast.com/en/vmware-workstation-17-6-no-vmmon-module/</guid><description>&lt;p&gt;If, when starting a virtual machine, you get an error saying the VMMON module is not loaded, specifically the message:&lt;/p&gt;&#10;&lt;p&gt;&amp;ldquo;Could not open /dev/vmmon. Please make sure that the kernel module vmmon is loaded&amp;rdquo;&lt;/p&gt;&#10;&lt;p&gt;it probably means you don&amp;rsquo;t have the vmmon and vmnet modules compiled for your kernel version&lt;/p&gt;</description></item><item><title>SSH – creating a private/public key pair</title><link>https://techforbreakfast.com/en/ssh-create-private-public-key-pair/</link><pubDate>Tue, 16 Jul 2024 23:37:46 +0100</pubDate><guid>https://techforbreakfast.com/en/ssh-create-private-public-key-pair/</guid><description>&lt;p&gt;One of the essential tools for administering remote servers is the SSH client. It lets us establish a secure connection to a remote computer.&lt;/p&gt;&#10;&lt;p&gt;Besides password authentication (not recommended), we can authenticate with a private/public key pair. With these, once properly configured, we can authenticate without a password.&lt;/p&gt;</description></item><item><title>Syncing email locally</title><link>https://techforbreakfast.com/en/sync-email-locally/</link><pubDate>Mon, 10 Jun 2024 18:21:41 +0100</pubDate><guid>https://techforbreakfast.com/en/sync-email-locally/</guid><description>&lt;p&gt;To sync our email from the service provider to our computer, we can use an email client such as Thunderbird or any of the many others available.&lt;/p&gt;&#10;&lt;p&gt;But if we want, for example, to read our email with mutt (even offline), or to make an archive / backup of our email, we can use offlineimap.&lt;/p&gt;</description></item><item><title>Remote unlocking of a LUKS-encrypted disk</title><link>https://techforbreakfast.com/en/remote-unlock-luks-encrypted-disk/</link><pubDate>Wed, 22 May 2024 20:22:41 +0100</pubDate><guid>https://techforbreakfast.com/en/remote-unlock-luks-encrypted-disk/</guid><description>&lt;h2 id="installation"&gt;Installation&lt;/h2&gt;&#10;&lt;p&gt;We start by updating the distribution&amp;rsquo;s package repository&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;text&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo apt-get update&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;And then we can install dropbear-initramfs&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;text&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo apt-get install dropbear-initramfs&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;While Dropbear is being installed, the following message may appear:&lt;/p&gt;&#10;&lt;p&gt;&amp;ldquo;dropbear: WARNING: Invalid authorized_keys file, SSH login to initramfs won&amp;rsquo;t work!&amp;rdquo;&lt;/p&gt;</description></item><item><title>OpenSSH – Checking the server fingerprint</title><link>https://techforbreakfast.com/en/openssh-check-server-fingerprint/</link><pubDate>Sun, 21 Apr 2024 10:34:56 +0100</pubDate><guid>https://techforbreakfast.com/en/openssh-check-server-fingerprint/</guid><description>&lt;p&gt;If we want to check the &lt;em&gt;fingerprint&lt;/em&gt; of the SSH server we intend to connect to remotely with this protocol, we can do it with the following steps.&lt;/p&gt;&#10;&lt;p&gt;If we have physical access to the server and to its terminal, we can check which keys it has in its configuration folder:&lt;/p&gt;</description></item><item><title>Wake-on-LAN on Linux (Pop!_OS)</title><link>https://techforbreakfast.com/en/wake-on-lan-linux-pop_os/</link><pubDate>Mon, 22 Jan 2024 22:24:00 +0000</pubDate><guid>https://techforbreakfast.com/en/wake-on-lan-linux-pop_os/</guid><description>&lt;h2 id="setting-up-the-service"&gt;Setting up the service:&lt;/h2&gt;&#10;&lt;p&gt;Install the software:&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;text&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo apt-get install ethtool&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;To set up a systemd service, we create the file wol.service:&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;text&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;vim /etc/systemd/system/wol.service&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;And add the following content:&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;text&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;[Unit]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Description=Enable Wake On LAN&#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;[Service]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Type=oneshot&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;ExecStart = /usr/sbin/ethtool --change enp4s0 wol g&#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;[Install]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;WantedBy=basic.target&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;The following command makes systemd recognise the newly created service:&lt;/p&gt;</description></item><item><title>Installing Windows 11 without a Microsoft account</title><link>https://techforbreakfast.com/en/install-windows-11-without-microsoft-account/</link><pubDate>Mon, 04 Dec 2023 17:05:21 +0000</pubDate><guid>https://techforbreakfast.com/en/install-windows-11-without-microsoft-account/</guid><description>&lt;p&gt;When installing Windows 11, the initial setup includes connecting to the internet and signing in with a Microsoft account. If you don&amp;rsquo;t want to create an account or link an existing one, you can enable the option to finish the setup without an internet connection, and therefore without setting up and linking a Microsoft account to the new installation.&lt;/p&gt;</description></item><item><title>Notes (todo) in LaTeX</title><link>https://techforbreakfast.com/en/todo-notes-in-latex/</link><pubDate>Sun, 19 Nov 2023 22:47:21 +0000</pubDate><guid>https://techforbreakfast.com/en/todo-notes-in-latex/</guid><description>&lt;p&gt;When writing a long document that takes a long time to finish, it is important to have some way of keeping notes, so that you don&amp;rsquo;t lose track of it or of the revision notes you need.&lt;/p&gt;&#10;&lt;p&gt;To meet this need, after some searching, I came across the &amp;ldquo;todonotes&amp;rdquo; package. It is maintained by Henrik Skov Midtiby and the repository can be found at &lt;a href="https://github.com/henrikmidtiby/todonotes"&gt;https://github.com/henrikmidtiby/todonotes&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Synology – Active Backup for Google Workspace</title><link>https://techforbreakfast.com/en/synology-active-backup-for-google-workspace/</link><pubDate>Sat, 04 Nov 2023 00:55:55 +0000</pubDate><guid>https://techforbreakfast.com/en/synology-active-backup-for-google-workspace/</guid><description>&lt;p&gt;&amp;ldquo;Active Backup for Google Workspace&amp;rdquo; is a Synology application that can be used on some models of its NAS range.&lt;/p&gt;&#10;&lt;p&gt;This software backs up Google Workspace domains and several of their applications, such as Gmail, Drive, Shared Drives, Contacts, etc.&lt;/p&gt;</description></item><item><title>Thunderbird – adding several identities / signatures</title><link>https://techforbreakfast.com/en/thunderbird-add-multiple-identities-signatures/</link><pubDate>Thu, 14 Sep 2023 12:19:45 +0100</pubDate><guid>https://techforbreakfast.com/en/thunderbird-add-multiple-identities-signatures/</guid><description>&lt;p&gt;If we want to use several signatures with the same email account, in Thunderbird we can create several identities.&lt;/p&gt;&#10;&lt;p&gt;To do this, in the account settings in Thunderbird (you can see how to get there &lt;a href="https://techforbreakfast.com/en/thunderbird-create-text-signature/"&gt;here&lt;/a&gt;), we can add identities with the &amp;ldquo;Manage Identities&amp;rdquo; option.&lt;/p&gt;</description></item><item><title>Thunderbird – creating a signature with formatting and images</title><link>https://techforbreakfast.com/en/thunderbird-create-signature-with-formatting-and-images/</link><pubDate>Thu, 14 Sep 2023 12:01:02 +0100</pubDate><guid>https://techforbreakfast.com/en/thunderbird-create-signature-with-formatting-and-images/</guid><description>&lt;p&gt;To add signatures, see the article &lt;a href="https://techforbreakfast.com/en/thunderbird-create-text-signature/"&gt;Thunderbird – Creating a text signature&lt;/a&gt; to find out how to reach the settings.&lt;/p&gt;&#10;&lt;p&gt;However, if you want to create a signature with other kinds of formatting, you can point to an external file with its layout.&lt;/p&gt;</description></item><item><title>Thunderbird – Creating a text signature</title><link>https://techforbreakfast.com/en/thunderbird-create-text-signature/</link><pubDate>Thu, 14 Sep 2023 11:40:25 +0100</pubDate><guid>https://techforbreakfast.com/en/thunderbird-create-text-signature/</guid><description>&lt;p&gt;Thunderbird lets you set a text signature, which is added to the message editor as soon as you start writing a new message.&lt;/p&gt;&#10;&lt;p&gt;Signature settings are changed for each account the user has set up on their computer. To reach the settings, select the &amp;ldquo;Account Settings&amp;rdquo; option in the Thunderbird menu.&lt;/p&gt;</description></item><item><title>Formatting chapters in LaTeX</title><link>https://techforbreakfast.com/en/format-chapter-in-latex/</link><pubDate>Thu, 30 Mar 2023 10:19:30 +0100</pubDate><guid>https://techforbreakfast.com/en/format-chapter-in-latex/</guid><description>&lt;p&gt;If you need to change the chapter formatting in a LaTeX document, you can use the titlesec package (&lt;a href="https://ctan.org/pkg/titlesec?lang=en"&gt;https://ctan.org/pkg/titlesec?lang=en&lt;/a&gt;)&lt;/p&gt;&#10;&lt;p&gt;For example, to change the chapter so that it shows the chapter number followed by its name, follow these steps:&lt;/p&gt;&#10;&lt;p&gt;Declare that we want to use the titlesec package&lt;/p&gt;</description></item><item><title>Uninstalling the WooCommerce plugin</title><link>https://techforbreakfast.com/en/uninstall-woocommerce-plugin/</link><pubDate>Tue, 14 Mar 2023 10:46:40 +0000</pubDate><guid>https://techforbreakfast.com/en/uninstall-woocommerce-plugin/</guid><description>&lt;p&gt;Removing WooCommerce from your site is as simple as going to the admin area of your WordPress site, selecting the WooCommerce plugin in the plugin list and uninstalling it.&lt;/p&gt;&#10;&lt;p&gt;However, if you look at the database, you will see that the WooCommerce-related tables are still there.&lt;/p&gt;</description></item><item><title>MacBook Pro 2014 wireless on Pop!_OS 22.04</title><link>https://techforbreakfast.com/en/macbook-pro-2014-wireless-pop_os-22-04/</link><pubDate>Sun, 06 Nov 2022 11:19:08 +0000</pubDate><guid>https://techforbreakfast.com/en/macbook-pro-2014-wireless-pop_os-22-04/</guid><description>&lt;p&gt;I own a 2014 Apple MacBook Pro, which I bought second-hand a few years ago.&lt;/p&gt;&#10;&lt;p&gt;It has run OSX all these years, but the latest versions are no longer supported on this machine. Since it is still a very capable machine, I decided it was time to install Linux, which is in fact the operating system I prefer to use, even though I knew I would no longer be able to use its webcam.&lt;/p&gt;</description></item><item><title>Setting up Webmin with Let's Encrypt</title><link>https://techforbreakfast.com/en/setup-webmin-with-letsencrypt/</link><pubDate>Fri, 09 Sep 2022 16:08:00 +0100</pubDate><guid>https://techforbreakfast.com/en/setup-webmin-with-letsencrypt/</guid><description>&lt;p&gt;We have installed Webmin, but now it is important to install a certificate that is not self-signed, so we don&amp;rsquo;t keep seeing error messages in browsers.&lt;/p&gt;&#10;&lt;p&gt;In Webmin we can change this setting directly in Webmin itself&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://techforbreakfast.com/configuracao-de-webmin-com-letsencrypt/image.png" class="img-link"&gt;&lt;img src="https://techforbreakfast.com/configuracao-de-webmin-com-letsencrypt/image_hu_2161996271e74ab8.webp" width="900" height="146" alt="" loading="lazy" decoding="async"&gt;&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;Going to the Webmin option in the main menu and then &amp;ldquo;Webmin Configuration&amp;rdquo;, we find the &amp;ldquo;SSL Encryption&amp;rdquo; option&lt;/p&gt;</description></item><item><title>Installing Webmin on Ubuntu Server</title><link>https://techforbreakfast.com/en/install-webmin-ubuntu-server/</link><pubDate>Fri, 09 Sep 2022 16:01:32 +0100</pubDate><guid>https://techforbreakfast.com/en/install-webmin-ubuntu-server/</guid><description>&lt;p&gt;&lt;strong&gt;Downloading Webmin&lt;/strong&gt;&lt;/p&gt;&#10;&lt;p&gt;To install Webmin on Ubuntu Server, we first have to download it from &lt;a href="https://webmin.com/"&gt;https://webmin.com/&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;There you can download Webmin for several distributions. We will download the Debian package from the &amp;ldquo;&lt;a href="https://webmin.com/download.html"&gt;Downloads&lt;/a&gt;&amp;rdquo; section of the site.&lt;/p&gt;&#10;&lt;p&gt;On this page you can download the &amp;ldquo;Debian package suitable for Debian, Ubuntu or other derived Linux&amp;rdquo;&lt;/p&gt;</description></item><item><title>About</title><link>https://techforbreakfast.com/en/about/</link><pubDate>Sat, 27 Aug 2022 19:30:50 +0100</pubDate><guid>https://techforbreakfast.com/en/about/</guid><description>&lt;h2 id="disclaimer"&gt;Disclaimer&lt;/h2&gt;&#10;&lt;p&gt;The content of this site is only a record of notes about various technologies.&#10;I take no responsibility for the use of the information provided here; it is used at each reader&amp;rsquo;s own risk.&lt;/p&gt;</description></item><item><title>Crontab – Changing the crontab editor</title><link>https://techforbreakfast.com/en/crontab-change-editor/</link><pubDate>Sat, 28 May 2022 00:00:00 +0100</pubDate><guid>https://techforbreakfast.com/en/crontab-change-editor/</guid><description>&lt;p&gt;The first time we open the crontab, we are asked to select the editor we want to use. If we later want to switch to another editor, on Ubuntu we can use the command:&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;bash&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-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; &lt;span style="color:#ff7b72"&gt;select&lt;/span&gt;-editor&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;This command shows us the menu to pick the editor we want.&lt;/p&gt;</description></item><item><title>Plesk – email import – large folders</title><link>https://techforbreakfast.com/en/plesk-email-import-large-folders/</link><pubDate>Thu, 19 May 2022 00:00:00 +0100</pubDate><guid>https://techforbreakfast.com/en/plesk-email-import-large-folders/</guid><description>&lt;p&gt;When importing mailboxes that contain folders with many emails, the import tool may fail to synchronise. Following the instructions on the Plesk support site &lt;a href="https://support.plesk.com/hc/en-us/articles/360009682414--BUG-Mail-importing-of-a-large-mailbox-fails-in-Plesk-Failed-to-backup-IMAP-folder-INBOX-got-more-than-1000000-bytes-All-messages-of-that-folder-will-not-be-migrated"&gt;here&lt;/a&gt;, we can change the file /opt/plesk/python/2.7/lib64/python2.7/imaplib.py. The change goes in the line containing:&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;python&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-python" data-lang="python"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; _MAXLINE &lt;span style="color:#ff7b72;font-weight:bold"&gt;=&lt;/span&gt; &lt;span style="color:#a5d6ff"&gt;1000000&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;and the value is changed by adding 2 zeros, so it becomes:&lt;/p&gt;</description></item><item><title>Getting a file's MIME type</title><link>https://techforbreakfast.com/en/get-file-mime-type/</link><pubDate>Sun, 21 Nov 2021 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/get-file-mime-type/</guid><description>&lt;p&gt;Has a file ever seemed to be in a certain format, but the application you use can&amp;rsquo;t handle it?&lt;/p&gt;&#10;&lt;p&gt;This can happen, for example, when the file extension is wrong. How can we find out what type of file we have?&lt;/p&gt;</description></item><item><title>Fixing the configuration of a TurnKey OpenVPN container on Proxmox</title><link>https://techforbreakfast.com/en/fix-turnkey-openvpn-container-proxmox/</link><pubDate>Sat, 06 Mar 2021 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/fix-turnkey-openvpn-container-proxmox/</guid><description>&lt;p&gt;When using the TurnKey template on Proxmox to create an OpenVPN server, after setting it up following the container installation steps, we may run into an error where VPN clients cannot connect. To look into the errors in more detail, we can edit the OpenVPN server configuration file in /etc/openvpn/server.conf and add the lines:&lt;/p&gt;</description></item><item><title>Setting up MySQL Server on Ubuntu Server</title><link>https://techforbreakfast.com/en/setup-mysql-server-ubuntu-server/</link><pubDate>Fri, 15 Jan 2021 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/setup-mysql-server-ubuntu-server/</guid><description>&lt;p&gt;In the most recent versions of Ubuntu, after installing MySQL Server you cannot log in as the MySQL root user with a password unless you are the operating system&amp;rsquo;s root user.&lt;/p&gt;&#10;&lt;p&gt;To be able to log in as the MySQL root user from another Linux user, follow these steps on the command line:&lt;/p&gt;</description></item><item><title>scrcpy – display and control an Android device on Linux</title><link>https://techforbreakfast.com/en/scrcpy-display-and-control-android-device-linux/</link><pubDate>Tue, 18 Aug 2020 00:00:00 +0100</pubDate><guid>https://techforbreakfast.com/en/scrcpy-display-and-control-android-device-linux/</guid><description>&lt;p&gt;As the &lt;a href="https://github.com/Genymobile/scrcpy"&gt;scrcpy&lt;/a&gt; project page says: “This application provides display and control of Android devices connected on USB (or over TCP/IP). It does not require any root access. It works on GNU/Linux, Windows and macOS.” Being cross-platform, it can be used on Linux as well as on Windows and OSX.&lt;/p&gt;</description></item><item><title>OSX – allowing applications from unidentified developers</title><link>https://techforbreakfast.com/en/osx-allow-apps-from-unidentified-developers/</link><pubDate>Mon, 04 Nov 2019 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/osx-allow-apps-from-unidentified-developers/</guid><description>&lt;p&gt;To be able to run an application whose developer is not recognised by Apple, we can run the following command on the downloaded image, before mounting it:&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;bash&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-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;xattr -d com.apple.quarantine ~/Downloads/&amp;lt;application_installer&amp;gt;.dmg&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;or, after installing it, run the following:&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;bash&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-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;xattr -dr com.apple.quarantine /Applications/&amp;lt;installed_application&amp;gt;.app&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;</description></item><item><title>Pairing Logitech Unifying devices on Linux</title><link>https://techforbreakfast.com/en/pair-logitech-unifying-devices-linux/</link><pubDate>Sat, 17 Mar 2018 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/pair-logitech-unifying-devices-linux/</guid><description>&lt;p&gt;Logitech&amp;rsquo;s Unifying technology lets you connect up to 6 devices to the same USB receiver, as long as they support this technology. To associate (or pair) a device with a given receiver, you need Logitech&amp;rsquo;s “Unifying Software”, which is available for Windows, Apple OSX and ChromeOS; Linux is not supported by the brand. Even so, there are several projects that do the same job, one of them being &lt;a href="https://pwr.github.io/Solaar/"&gt;Solaar&lt;/a&gt;. If you use Ubuntu, installing it is just a matter of opening a terminal and running the following command:&lt;/p&gt;</description></item><item><title>Encrypting and formatting disks on Linux</title><link>https://techforbreakfast.com/en/encrypt-and-format-disks-linux/</link><pubDate>Sun, 12 Nov 2017 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/encrypt-and-format-disks-linux/</guid><description>&lt;h2 id="steps-to-encrypt-disks-on-linux-tested-here-on-xubuntu-1604"&gt;Steps to encrypt disks on Linux (tested here on Xubuntu 16.04)&lt;/h2&gt;&#10;&lt;p&gt;Wipe the disk&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;bash&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-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; dd &lt;span style="color:#ff7b72"&gt;if&lt;/span&gt;&lt;span style="color:#ff7b72;font-weight:bold"&gt;=&lt;/span&gt;/dev/zero &lt;span style="color:#79c0ff"&gt;of&lt;/span&gt;&lt;span style="color:#ff7b72;font-weight:bold"&gt;=&lt;/span&gt;/dev/&amp;lt;disk&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;Encrypt the disk&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;bash&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-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; cryptsetup -y -v luksFormat /dev/&amp;lt;disk&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;Decrypt the disk to access it&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;bash&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-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; cryptsetup luksOpen /dev/&amp;lt;disk&amp;gt; &amp;lt;name&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;the name can be anything you like. Format the disk&lt;/p&gt;</description></item><item><title>Windows 10 – Changing a user's password</title><link>https://techforbreakfast.com/en/windows-10-change-user-password/</link><pubDate>Sat, 18 Feb 2017 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/windows-10-change-user-password/</guid><description>&lt;p&gt;Forgot your Windows password? What now?&lt;/p&gt;&#10;&lt;p&gt;There is a way to change your password so you can get access again.&lt;/p&gt;&#10;&lt;p&gt;First, unless you already have a USB stick or CD with a Live Distro, you need a computer to download one.&lt;/p&gt;</description></item><item><title>Workaround to show the Dropbox icon on Xubuntu 16.04</title><link>https://techforbreakfast.com/en/workaround-dropbox-icon-xubuntu-16-04/</link><pubDate>Wed, 20 Apr 2016 00:00:00 +0100</pubDate><guid>https://techforbreakfast.com/en/workaround-dropbox-icon-xubuntu-16-04/</guid><description>&lt;p&gt;As a Xubuntu user, usually of the LTS versions and in particular version 16.04, and also a Dropbox user for some kinds of content, I ran into the problem of the Dropbox notification icon not showing up correctly.&lt;/p&gt;&#10;&lt;p&gt;After some searching I found this post on &lt;a href="http://askubuntu.com"&gt;AskUbuntu&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Add-ons failing to connect to the license server</title><link>https://techforbreakfast.com/en/add-ons-license-server-connection-error/</link><pubDate>Mon, 09 Mar 2015 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/add-ons-license-server-connection-error/</guid><description>&lt;p&gt;After installing the SAP B1 client on Windows Server 2008 R2, and installing the add-ons available for the company in use without any setbacks, the add-ons failed to start with an error message about not being able to connect to the license server.&lt;/p&gt;</description></item><item><title>Uploading a Jekyll site the easy way with gly</title><link>https://techforbreakfast.com/en/upload-jekyll-site-easily-with-gly/</link><pubDate>Mon, 09 Mar 2015 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/upload-jekyll-site-easily-with-gly/</guid><description>&lt;p&gt;So that I didn&amp;rsquo;t have to upload the site to the hosting by FTP manually after &amp;ldquo;building&amp;rdquo; it with Jekyll, I came across, referenced on the &lt;a href="http://jekyllrb.com"&gt;Jekyll&lt;/a&gt; website, the gly project by &lt;a href="https://github.com/dmathieu/gly"&gt;Damien MATHIEU&lt;/a&gt;, which builds and uploads the site with just the “gly” command, making the process much simpler.&lt;/p&gt;</description></item><item><title>Upgrading from Kubuntu 13.10 to Kubuntu 14.04</title><link>https://techforbreakfast.com/en/upgrade-kubuntu-13-10-to-kubuntu-14-04/</link><pubDate>Mon, 21 Apr 2014 00:00:00 +0100</pubDate><guid>https://techforbreakfast.com/en/upgrade-kubuntu-13-10-to-kubuntu-14-04/</guid><description>&lt;p&gt;About a week ago I upgraded Ubuntu 13.10 to version 14.04 on one of the computers I use for work, back then still to the latest beta, and it went without any problems.&lt;/p&gt;&#10;&lt;p&gt;Today I upgraded my personal computer from Kubuntu 13.10 to version 14.04.&lt;/p&gt;</description></item><item><title>LibreOffice error opening network files in KDE</title><link>https://techforbreakfast.com/en/libreoffice-error-opening-network-files-kde/</link><pubDate>Sun, 02 Mar 2014 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/libreoffice-error-opening-network-files-kde/</guid><description>&lt;p&gt;If nothing happens when you try to open files from a network resource with LibreOffice in KDE, it may be due to an existing bug reported &lt;a href="https://www.libreoffice.org/bugzilla/show_bug.cgi?id=67527"&gt;here&lt;/a&gt;, which I already mentioned in my &lt;a href="https://techforbreakfast.com/en/libreoffice-4-1-ppa-error-opening-samba-share-file/"&gt;post&lt;/a&gt;.&lt;/p&gt;&#10;&lt;p&gt;To work around the problem until it is fixed in some update, we should comment out the line “X-KDE-Protocols=file,http,smb,ftp,webdav” in the LibreOffice launchers located in /usr/share/applications.&lt;/p&gt;</description></item><item><title>Using TeamViewer 9 without installing it</title><link>https://techforbreakfast.com/en/using-teamviewer-9-without-installing/</link><pubDate>Wed, 12 Feb 2014 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/using-teamviewer-9-without-installing/</guid><description>&lt;p&gt;&lt;a href="http://www.teamviewer.com"&gt;TeamViewer&lt;/a&gt; is remote assistance software that comes in handy when you need to help a friend or need help yourself. It is free for personal use (which does not apply to professional use).&lt;/p&gt;&#10;&lt;p&gt;One of its advantages is that it works on Windows, OSX and Linux.&lt;/p&gt;</description></item><item><title>Installing the wireless driver on a DELL Mini 9</title><link>https://techforbreakfast.com/en/install-wireless-driver-dell-mini9/</link><pubDate>Tue, 11 Feb 2014 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/install-wireless-driver-dell-mini9/</guid><description>&lt;p&gt;Installing Lubuntu 13.10 on the DELL Mini 9 netbook went smoothly, except for the wireless drivers, which require downloading and installing the firmware for the card in question&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;ruby&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-ruby" data-lang="ruby"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;lspci &lt;span style="color:#ff7b72;font-weight:bold"&gt;|&lt;/span&gt; grep &lt;span style="color:#79c0ff;font-weight:bold"&gt;Network&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;result:&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;ruby&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-ruby" data-lang="ruby"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#a5d6ff"&gt;03&lt;/span&gt;:&lt;span style="color:#a5d6ff"&gt;00&lt;/span&gt;&lt;span style="color:#ff7b72;font-weight:bold"&gt;.&lt;/span&gt;&lt;span style="color:#a5d6ff"&gt;0&lt;/span&gt; &lt;span style="color:#79c0ff;font-weight:bold"&gt;Network&lt;/span&gt; &lt;span style="color:#a5d6ff"&gt;controller&lt;/span&gt;: &lt;span style="color:#79c0ff;font-weight:bold"&gt;Broadcom&lt;/span&gt; &lt;span style="color:#79c0ff;font-weight:bold"&gt;Corporation&lt;/span&gt; &lt;span style="color:#79c0ff;font-weight:bold"&gt;BCM4312&lt;/span&gt; &lt;span style="color:#a5d6ff"&gt;802&lt;/span&gt;&lt;span style="color:#ff7b72;font-weight:bold"&gt;.&lt;/span&gt;&lt;span style="color:#a5d6ff"&gt;11&lt;/span&gt;b&lt;span style="color:#ff7b72;font-weight:bold"&gt;/&lt;/span&gt;g &lt;span style="color:#79c0ff;font-weight:bold"&gt;LP&lt;/span&gt;&lt;span style="color:#ff7b72;font-weight:bold"&gt;-&lt;/span&gt;&lt;span style="color:#79c0ff;font-weight:bold"&gt;PHY&lt;/span&gt; (rev &lt;span style="color:#a5d6ff"&gt;01&lt;/span&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;remove bcmwl-kernel-source&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;ruby&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-ruby" data-lang="ruby"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo apt&lt;span style="color:#ff7b72;font-weight:bold"&gt;-&lt;/span&gt;get remove bcmwl&lt;span style="color:#ff7b72;font-weight:bold"&gt;-&lt;/span&gt;kernel&lt;span style="color:#ff7b72;font-weight:bold"&gt;-&lt;/span&gt;source&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;install b43-fwcutter b43-sta-dkms firmware-b43-installer&lt;/p&gt;</description></item><item><title>GCompris – open source educational software</title><link>https://techforbreakfast.com/en/gcompris-open-source-educational-software/</link><pubDate>Sun, 12 Jan 2014 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/gcompris-open-source-educational-software/</guid><description>&lt;p&gt;&lt;a href="http://www.gcompris.net"&gt;GCompris&lt;/a&gt; is software made up of a large set of educational games for ages 2 to 10.&lt;/p&gt;&#10;&lt;p&gt;There are versions for Linux, Windows and Mac OS X.&lt;/p&gt;&#10;&lt;p&gt;Unlike the Linux version, the Windows and Mac OS X versions do not have all activities enabled.&lt;/p&gt;</description></item><item><title>The site's new platform</title><link>https://techforbreakfast.com/en/new-site-platform/</link><pubDate>Sat, 11 Jan 2014 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/new-site-platform/</guid><description>&lt;h1 id="the-sites-new-platform"&gt;The site&amp;rsquo;s new platform&lt;/h1&gt;&#10;&lt;p&gt;From today, the site is nothing more than a set of static pages, generated with the help of Jekyll.&lt;/p&gt;&#10;&lt;p&gt;Over the next few days / weeks, I will try to improve its look.&lt;/p&gt;</description></item><item><title>Enabling the Windows 7 administrator account</title><link>https://techforbreakfast.com/en/enable-windows-7-administrator-account/</link><pubDate>Tue, 19 Nov 2013 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/enable-windows-7-administrator-account/</guid><description>&lt;p&gt;To enable the Windows 7 administrator account, follow these steps: - Open a command prompt with administrator privileges.&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Run the following command:&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;text&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;net user administrator /active:yes&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;To disable it, replace&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;text&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;/active:yes&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;with&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;text&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;/active:no&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;For security reasons, you should set a password for this account.&lt;/p&gt;</description></item><item><title>LibreOffice 4.1 from the libreoffice.org PPA – error opening files on a Samba share</title><link>https://techforbreakfast.com/en/libreoffice-4-1-ppa-error-opening-samba-share-file/</link><pubDate>Tue, 19 Nov 2013 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/libreoffice-4-1-ppa-error-opening-samba-share-file/</guid><description>&lt;p&gt;When using LibreOffice version 4.1.3.2 from the LibreOffice PPA to open files located on a share provided by a SAMBA server, an error message may say that the file we are trying to open is corrupted.&#10;To get around this problem, edit the launcher file of the LibreOffice application you want to use and remove or comment out the line:&lt;/p&gt;</description></item><item><title>Submitting CD information to MusicBrainz on Ubuntu (or Debian)</title><link>https://techforbreakfast.com/en/submit-cd-information-to-musicbrainz-ubuntu-debian/</link><pubDate>Tue, 10 Sep 2013 00:00:00 +0100</pubDate><guid>https://techforbreakfast.com/en/submit-cd-information-to-musicbrainz-ubuntu-debian/</guid><description>&lt;p&gt;When they put an audio CD in the drive, many users get information about the CD, its tracks, durations, cover images, etc., from a database such as &lt;a href="http://musicbrainz.org/"&gt;MusicBrainz&lt;/a&gt;. But for us to use the information it holds, someone also has to submit the data, since the information comes from its community of users.&lt;/p&gt;</description></item><item><title>D-Link DCS-932L IP camera</title><link>https://techforbreakfast.com/en/dlink-dcs-932l-ip-camera/</link><pubDate>Mon, 09 Sep 2013 00:00:00 +0100</pubDate><guid>https://techforbreakfast.com/en/dlink-dcs-932l-ip-camera/</guid><description>&lt;p&gt;The D-Link DCS-932L is an IP camera (wired or wireless) from D-Link that lets you monitor an area of your office or home fairly cheaply, even in poor lighting (including total darkness). This particular camera can be accessed through the D-Link portal, but it can also be set up to be accessed directly. Through its web configuration page you can open a real-time video page with the “Live Video” option. If we don&amp;rsquo;t want to use that page, we can always access the following paths to get individual images or even an MJPEG stream: &lt;strong&gt;JPG images&lt;/strong&gt; – http:///image/jpeg.cgi &lt;strong&gt;Stream&lt;/strong&gt; – http:///video.cgi | &lt;a href="https://techforbreakfast.com/camera-ip-dlink-dcs-932l/exemplo_dcs_932l_escuro.jpeg" class="img-link"&gt;&lt;img src="https://techforbreakfast.com/camera-ip-dlink-dcs-932l/exemplo_dcs_932l_escuro_hu_f4e74109c20fcca.webp" width="640" height="480" alt="" loading="lazy" decoding="async"&gt;&lt;/a&gt; |&#10;|&amp;mdash;|&#10;| Example of an image taken in the dark |&lt;/p&gt;</description></item><item><title>Elastix – Setting up a virtual extension</title><link>https://techforbreakfast.com/en/elastix-virtual-extension-setup/</link><pubDate>Mon, 09 Sep 2013 00:00:00 +0100</pubDate><guid>https://techforbreakfast.com/en/elastix-virtual-extension-setup/</guid><description>&lt;p&gt;Parameters to set up a virtual extension that forwards to another number. Device options:&lt;/p&gt;&#10;&lt;p&gt;dial: Local/9041@outbound-allroutes&lt;/p&gt;</description></item><item><title>Owncloud Debian client update from 1.3.0 to 1.4.0 – does not start</title><link>https://techforbreakfast.com/en/owncloud-debian-client-1-3-0-to-1-4-0-does-not-start/</link><pubDate>Sat, 07 Sep 2013 00:00:00 +0100</pubDate><guid>https://techforbreakfast.com/en/owncloud-debian-client-1-3-0-to-1-4-0-does-not-start/</guid><description>&lt;p&gt;If the Owncloud client for Debian stops working after updating it from version 1.3.0 to 1.4.0, the libocsync0 library must be updated manually, since it is not updated along with the client. To do so, open a terminal and get a root shell with:&lt;/p&gt;</description></item><item><title>Converting video formats – HandBrake – installing on Ubuntu 12.04</title><link>https://techforbreakfast.com/en/convert-video-formats-handbrake-install-ubuntu-12-04/</link><pubDate>Fri, 06 Sep 2013 00:00:00 +0100</pubDate><guid>https://techforbreakfast.com/en/convert-video-formats-handbrake-install-ubuntu-12-04/</guid><description>&lt;p&gt;To convert between video formats we can use &lt;a href="http://handbrake.fr/"&gt;HandBrake&lt;/a&gt;. To install it quickly on Ubuntu 12.04:&lt;/p&gt;&#10;&lt;p&gt;Open a terminal window and type the following commands to add the PPA to sources.list&lt;/p&gt;&#10;&lt;p&gt;Add the PPA repository&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;text&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo add-apt-repository ppa:stebbins/handbrake-releases&amp;lt;br&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;Update the list of available packages&lt;/p&gt;</description></item><item><title>Disabling Ubuntu's error reporting system (apport)</title><link>https://techforbreakfast.com/en/disable-ubuntu-error-reporting-apport/</link><pubDate>Thu, 11 Jul 2013 00:00:00 +0100</pubDate><guid>https://techforbreakfast.com/en/disable-ubuntu-error-reporting-apport/</guid><description>&lt;p&gt;In normal use, by default, Ubuntu from version 12.04 onwards may raise alerts about applications that hit errors while running.&#10;Since these errors are often not very relevant to the user, or simply because we don&amp;rsquo;t want to be constantly bothered by these alerts, we can disable the service that handles these reports to the user (apport). To disable the system error notification and reporting system – the apport service – do the following:&lt;/p&gt;</description></item><item><title>jGnash – Personal finance software</title><link>https://techforbreakfast.com/en/jgnash-personal-finance-software/</link><pubDate>Thu, 09 May 2013 00:00:00 +0100</pubDate><guid>https://techforbreakfast.com/en/jgnash-personal-finance-software/</guid><description>&lt;p&gt;If you need software for basic personal finance management, you can try jGnash (the project page is &lt;a href="http://sourceforge.net/apps/mediawiki/jgnash/index.php?title=Main_Page"&gt;here&lt;/a&gt;).&#10;Of all the software available in the repositories of most Linux distributions, this is the one I have always liked best. Although the features of the 1.x versions are more limited, the new 2.x versions also let you manage several personal budgets and easily track how they are being spent, among other improvements that make managing personal finances simpler.&lt;/p&gt;</description></item><item><title>Enabling all application indicators in Unity</title><link>https://techforbreakfast.com/en/enable-all-application-indicators-unity/</link><pubDate>Tue, 02 Apr 2013 00:00:00 +0100</pubDate><guid>https://techforbreakfast.com/en/enable-all-application-indicators-unity/</guid><description>&lt;p&gt;Tired of having to look up, every time I install or reinstall a computer with Ubuntu (12.04 and 12.10), how to enable the indicators of some applications, such as Ekiga or Pidgin, here is the reference. In a terminal:&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;text&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;gsettings set com.canonical.Unity.Panel systray-whitelist &amp;#34;[&amp;#39;all&amp;#39;]&amp;#34;&amp;lt;br&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;Log out and back in and that&amp;rsquo;s it… the indicators of all applications will now show up.&lt;/p&gt;</description></item><item><title>Installing Skype on Debian Wheezy</title><link>https://techforbreakfast.com/en/install-skype-debian-wheezy/</link><pubDate>Mon, 04 Feb 2013 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/install-skype-debian-wheezy/</guid><description>&lt;p&gt;To install Skype on Debian Wheezy, go to &lt;a href="https://www.skype.com"&gt;www.skype.com&lt;/a&gt; and download the version for Debian 7.0 (multiarch). Open a console&lt;/p&gt;&#10;&lt;p&gt;Check which architecture is installed (if you don&amp;rsquo;t know):&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;text&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;uname -a&amp;lt;br&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;If it is a 32-bit installation, the output should mention “i686”; for 64-bit it should show “amd64”&#10;On the 32-bit architecture, you should only need to run the following commands:&lt;/p&gt;</description></item><item><title>HP G62 – setting maximum brightness by default</title><link>https://techforbreakfast.com/en/hp-g62-maximum-brightness-by-default/</link><pubDate>Sun, 27 Jan 2013 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/hp-g62-maximum-brightness-by-default/</guid><description>&lt;p&gt;To have the brightness set to maximum by default at startup, we can change the file&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;text&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;/etc/gdm3/Init/Default&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;At the end of it, before the line&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;text&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;exit 0&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;we add the following&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;text&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;xbacklight -set 100&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;The value can range from 0 to 100 (maximum brightness), so we can use whatever value matches the brightness level we want.&lt;/p&gt;</description></item><item><title>Iceweasel – VLC plugin</title><link>https://techforbreakfast.com/en/iceweasel-vlc-plugin/</link><pubDate>Sun, 27 Jan 2013 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/iceweasel-vlc-plugin/</guid><description>&lt;p&gt;If a page tells you that you need to install the VLC plugin manually, as in the example below:&lt;/p&gt;&#10;&lt;!-- imagem em falta: /assets/iceweasel_-_erro_de_plugin_vlc.png --&gt;&#10;&lt;p&gt;In this case we need to install the VLC plugin for the Iceweasel browser. To do this we can install it from the console with apt-get or, if you prefer a graphical application, you can use Synaptic.&#10;When you start Synaptic you will be asked to log in as an administrator user (one with permission to install applications).&lt;/p&gt;</description></item><item><title>Installing Debian Wheezy on an HP G62</title><link>https://techforbreakfast.com/en/installing-debian-wheezy-on-hp-g62/</link><pubDate>Sun, 27 Jan 2013 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/installing-debian-wheezy-on-hp-g62/</guid><description>&lt;p&gt;After installing the HP G62 laptop, which has an Intel i915 graphics card, it could not be used normally; it only worked with an external monitor. The solution was to change the file&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;text&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;/etc/default/acpi-support&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;so that instead of&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;text&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&amp;lt;br&amp;gt;DISPLAY_DPMS=xset&amp;lt;br&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;we set the following&lt;/p&gt;</description></item><item><title>Lunacloud servers – Starting and stopping servers</title><link>https://techforbreakfast.com/en/lunacloud-servers-start-and-stop-servers/</link><pubDate>Mon, 07 Jan 2013 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/lunacloud-servers-start-and-stop-servers/</guid><description>&lt;p&gt;If you use Lunacloud&amp;rsquo;s services, you can start or stop virtual machines without going to the control panel. To do this on Linux, you can for example install the curl application (if you don&amp;rsquo;t have it installed yet):&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;text&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo apt-get install curl&amp;lt;br&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;To list the virtual machines of an account:&lt;/p&gt;</description></item><item><title>Gnome3 – “Extract” option in the Nautilus context menu</title><link>https://techforbreakfast.com/en/gnome3-extract-option-nautilus-context-menu/</link><pubDate>Sun, 30 Dec 2012 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/gnome3-extract-option-nautilus-context-menu/</guid><description>&lt;p&gt;If, after installing Wheezy with Gnome3, the option to extract or compress files does not appear in the Nautilus context menu, check whether file-roller is installed:&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;text&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo dpkg -l file-roller*&amp;lt;br&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;To install it:&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;text&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo apt-get install file-roller&amp;lt;br&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;Then we can restart Nautilus to make the options appear (without restarting the session)&lt;/p&gt;</description></item><item><title>Validating a Portuguese tax number (NIF)</title><link>https://techforbreakfast.com/en/validate-portuguese-tax-number-nif/</link><pubDate>Mon, 17 Dec 2012 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/validate-portuguese-tax-number-nif/</guid><description>&lt;p&gt;As I needed to build a tool to validate Portuguese tax numbers (NIF), here is the PHP function I wrote for that purpose.&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;text&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&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; * Checks whether the structure of a Portuguese tax number (NIF) is valid&#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; * @todo check that all characters are digits…&#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; * Returns:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; * – 0 if the number is valid&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; * – 1 if the number is invalid&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; * – 2 if the number has the wrong length&#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; *&#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; function calcularNif($string_nif){&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; if(strlen($string_nif)==9){&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; $nif_temp=str_split($string_nif);&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; $soma_controlo=0;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; $digito_controlo_calculado=0;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; for($indice=0;$indice&amp;lt;8;$indice++){&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; $soma_controlo+=$nif_temp[$indice]*($indice+2);&#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; $calculo_parcial=intval($soma_controlo/11);&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; $calculo_parcial2=11*$calculo_parcial;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; $digito_controlo_calculado=$soma_controlo-$calculo_parcial2;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; if($digito_controlo_calculado==10)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; $digito_controlo_calculado=0;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; if($digito_controlo_calculado==$nif_temp[8])&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; return 0; //Returns 0 if the number is valid&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; else&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; return 1; //Returns 1 if the number is invalid&#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; }&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; return 2; // Returns 2 if the number has an invalid length&#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;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Obviously, you use this code at your own risk and should check that it is correct.&#10;I do not have and do not accept any responsibility for its use or for any damage resulting from it.&lt;/p&gt;</description></item><item><title>Wheezy – Encrypting the home folder after installation</title><link>https://techforbreakfast.com/en/wheezy-encrypt-home-folder-after-installation/</link><pubDate>Sun, 25 Nov 2012 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/wheezy-encrypt-home-folder-after-installation/</guid><description>&lt;p&gt;To encrypt the home folder after installation on Debian Wheezy, follow these steps:&lt;/p&gt;&#10;&lt;p&gt;Log out the user whose home folder you want to encrypt&lt;/p&gt;&#10;&lt;p&gt;Log in as root, for example after switching to a console with CTRL+F2, and then install the ecryptfs-utils package&lt;/p&gt;</description></item><item><title>Setting up a 3G modem on Debian Wheezy XFCE</title><link>https://techforbreakfast.com/en/setup-3g-modem-debian-wheezy-xfce/</link><pubDate>Sun, 18 Nov 2012 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/setup-3g-modem-debian-wheezy-xfce/</guid><description>&lt;p&gt;On the default Debian Wheezy installation, my TMN ZTE MF636 3G modem does not work with Network Manager. So at first I installed wvdial and usb-modeswitch and configured wvdial.conf so I could start the connection manually.&lt;/p&gt;&#10;&lt;p&gt;However, some applications use DBUS to detect whether a network connection exists before trying to connect, and Pidgin is one of them.&lt;/p&gt;</description></item><item><title>Steps to set up backups for Zimbra 7 Open Source Edition</title><link>https://techforbreakfast.com/en/zimbra-7-open-source-edition-backup-setup-steps/</link><pubDate>Sun, 18 Nov 2012 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/zimbra-7-open-source-edition-backup-setup-steps/</guid><description/></item><item><title>Debian Wheezy – enabling two-finger scrolling and tap to click</title><link>https://techforbreakfast.com/en/debian-wheezy-enable-two-finger-scroll-and-tap/</link><pubDate>Sun, 28 Oct 2012 00:00:00 +0100</pubDate><guid>https://techforbreakfast.com/en/debian-wheezy-enable-two-finger-scroll-and-tap/</guid><description>&lt;p&gt;After installing Wheezy on my laptop, I could no longer use two fingers to scroll, nor tap (simulating a right-button click). After some searching I found &lt;a href="http://forums.debian.net/viewtopic.php?p=354960"&gt;this article&lt;/a&gt; on the Debian user forums.&lt;/p&gt;&#10;&lt;p&gt;So what I did was create the file 42-synaptics.conf in the directory&lt;/p&gt;</description></item><item><title>Mounting NTFS disks on Debian Wheezy</title><link>https://techforbreakfast.com/en/mount-ntfs-disks-debian-wheezy/</link><pubDate>Sun, 28 Oct 2012 00:00:00 +0100</pubDate><guid>https://techforbreakfast.com/en/mount-ntfs-disks-debian-wheezy/</guid><description>&lt;p&gt;When I used NTFS-formatted external disks on my Debian Wheezy, they were always mounted read-only. To mount them read/write you only need to install ntfs-3g, which is easily done by running the following command in a terminal:&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;text&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo apt-get install ntfs-3g&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;</description></item><item><title>Using sudo on Debian Wheezy</title><link>https://techforbreakfast.com/en/using-sudo-debian-wheezy/</link><pubDate>Sun, 28 Oct 2012 00:00:00 +0100</pubDate><guid>https://techforbreakfast.com/en/using-sudo-debian-wheezy/</guid><description>&lt;p&gt;In some current distributions, during installation we can sometimes choose which users will be able to perform administration tasks, by raising their privileges with sudo. Debian does not offer this during installation (or at least I did not see it).&lt;/p&gt;</description></item><item><title>R Commander on Xubuntu 12.04 – changing the language</title><link>https://techforbreakfast.com/en/r-commander-xubuntu-12-04-change-language/</link><pubDate>Fri, 26 Oct 2012 00:00:00 +0100</pubDate><guid>https://techforbreakfast.com/en/r-commander-xubuntu-12-04-change-language/</guid><description>&lt;p&gt;After installing R and the Rcmdr package, the default language will be Portuguese (apparently Brazilian Portuguese). If you want to change the language, for example to English, you can follow these steps:&lt;/p&gt;&#10;&lt;p&gt;In the /usr/share/applications folder there is a file called Rcmdr.desktop, which holds the settings of the entry in the applications menu.&#10;What we need to do is add, to the command that is run, the LANGUAGE variable set to the language we want.&lt;/p&gt;</description></item><item><title>Resources for R (help)</title><link>https://techforbreakfast.com/en/r-help-resources/</link><pubDate>Thu, 19 Apr 2012 00:00:00 +0100</pubDate><guid>https://techforbreakfast.com/en/r-help-resources/</guid><description>&lt;p&gt;A link with a list of resources related to the R statistics software: &lt;a href="http://www.stat.ucl.ac.be/ISdidactique/Rhelp/"&gt;http://www.stat.ucl.ac.be/ISdidactique/Rhelp/&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Converting RData files created by R on Windows for use on Linux</title><link>https://techforbreakfast.com/en/convert-r-rdata-files-from-windows-to-linux/</link><pubDate>Wed, 28 Mar 2012 00:00:00 +0100</pubDate><guid>https://techforbreakfast.com/en/convert-r-rdata-files-from-windows-to-linux/</guid><description>&lt;p&gt;Starting from the beginning: R is an open source statistical computing application.&#10;Since it is used in a Statistics course I am taking, a problem came up with some R files and text files whose format was not suitable for R on Linux.&#10;The problem in this case was that the files provided were encoded in ANSI instead of UTF8 (for example). For the text files, the following command is enough:&lt;/p&gt;</description></item><item><title>Setting the time on Cisco phones with automatic daylight saving time</title><link>https://techforbreakfast.com/en/cisco-phone-time-setup-automatic-dst/</link><pubDate>Wed, 28 Mar 2012 00:00:00 +0100</pubDate><guid>https://techforbreakfast.com/en/cisco-phone-time-setup-automatic-dst/</guid><description>&lt;p&gt;This article applies to the following CISCO phones: - SPA 502G&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;SPA 504G&lt;/li&gt;&#10;&lt;li&gt;SPA 525G&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;For the phones to always keep their time in sync and switch to summer time, the following settings are needed:&lt;/p&gt;&#10;&lt;p&gt;Enable the Admin-&amp;gt;advanced menu.&lt;/p&gt;&#10;&lt;p&gt;System group:&lt;/p&gt;</description></item><item><title>SAP B1 – Getting the data in a form field for a formatted search</title><link>https://techforbreakfast.com/en/sap-b1-get-form-field-data-for-formatted-search/</link><pubDate>Mon, 19 Mar 2012 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/sap-b1-get-form-field-data-for-formatted-search/</guid><description>&lt;p&gt;To get the data held in a form field (for example in the inventory transfer form), use:&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&#10; &lt;span class="code-dots" aria-hidden="true"&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;span class="code-lang"&gt;text&lt;/span&gt;&#10; &lt;button type="button" class="code-copy"&gt;copy&lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;SELECT $[$24.U_XX_NEnc.0];&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;By enabling the “System Information” option in the “View” menu, we can see some of the data we need for the formula above. &lt;div&gt;In the case of a grid: $24 is the value shown in “Item”, and “U_XX_NEnc” is the column. &lt;div&gt;&lt;/div&gt;&lt;div&gt;If the field does not belong to a grid, the “U_XX_NEnc” value is taken from the “variable” value. We can use this, for example, in a formatted search to get data from tables that are not directly accessible in the form, based on / filtered by the data returned by the formula above. &lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description></item><item><title>Subversion – Backing up and restoring a repository</title><link>https://techforbreakfast.com/en/subversion-backup-and-restore-repository/</link><pubDate>Tue, 28 Feb 2012 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/subversion-backup-and-restore-repository/</guid><description>&lt;p&gt;I usually keep a Subversion repository to store some content I use regularly, in case I ever need to get back earlier versions. However, it also needs to be backed up.&lt;/p&gt;&#10;&lt;p&gt;To back up the repository I run the command:&lt;/p&gt;</description></item><item><title>Configuring wvdial for a 3G connection</title><link>https://techforbreakfast.com/en/configure-wvdial-for-3g/</link><pubDate>Mon, 27 Feb 2012 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/configure-wvdial-for-3g/</guid><description>&lt;p&gt;To connect through a 3G modem you can use settings like these:&#10;[Dialer tmn]&#10;Modem = /dev/ttyUSB0&#10;Stupid Mode = 1&#10;Dial Command = ATDT&#10;Phone = *99#&#10;Baud = 460800&#10;ISDN = 0&#10;Username = tmn&#10;Password = tmn&#10;Modem Type = Analog Modem&#10;Init2 = ATZ&#10;#Init3 = AT+CPIN=9862&#10;Init4 = AT+CGDCONT=1,”IP”,”internet”&#10;ISDN = 0 Depending on the modem used, we may need to change the settings and, for example, use another port for data instead of ttyUSB0, such as:&#10;[Dialer Defaults]&#10;Modem = /dev/ttyUSB2&#10;Modem Type = Analog Modem&#10;ISDN = 0&#10;Baud = 460800&#10;Dial Attempts = 1&#10;Username = tmn&#10;Password = tmn&#10;Init1 = ATZ&#10;Init2 = AT&amp;amp;F &amp;amp;D2 &amp;amp;C1&#10;Init3 = ATS7=60 S30=0 S0=0&#10;Init4 = AT+CGDCONT=1,”IP”,”internet”&#10;Phone = *99***1#&#10;Stupid Mode = 1&#10;I no longer have an exact record of which modems I used these settings with, but I believe the 2nd example was used with the ZTE MF636.&lt;/p&gt;</description></item><item><title>Converting the character set of text files</title><link>https://techforbreakfast.com/en/convert-text-file-character-sets/</link><pubDate>Mon, 27 Feb 2012 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/convert-text-file-character-sets/</guid><description>&lt;p&gt;During the development of a project on a Windows-based development machine, the resulting file had to be converted before the SQL file could be imported on the database server. This came up because the web server displayed the characters fetched from the database incorrectly, since it was using the UTF8 character set.&#10;The content of the SQL file was then converted using the iconv application. Command used:&lt;/p&gt;</description></item><item><title>Downloading YouTube videos</title><link>https://techforbreakfast.com/en/download-youtube-videos/</link><pubDate>Mon, 27 Feb 2012 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/download-youtube-videos/</guid><description>&lt;p&gt;To save a YouTube video locally to watch offline later, there are several options, but the one I use most often is youtube-dl.&#10;Since I use Linux, usually a variant of Ubuntu or Ubuntu itself (or at least that is what I have installed, and I will use Xubuntu 11.04 as the reference), installing it is just:&lt;/p&gt;</description></item><item><title>HylaFAX setup on Ubuntu Server 10.04 LTS</title><link>https://techforbreakfast.com/en/hylafax-setup-ubuntu-server-10-04-lts/</link><pubDate>Mon, 27 Feb 2012 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/hylafax-setup-ubuntu-server-10-04-lts/</guid><description>&lt;p&gt;After setting up HylaFAX on Ubuntu Server 10.04 LTS, the file may always be sent blank.&#10;To fix this, edit the file /var/spool/hylafax/bin/pdf2fax.gs and add the following parameter to the conversion command string: -dMaxStripSize=0&#10;example:&#10;$PS -q&#10;-sDEVICE=$device&#10;-dNOPAUSE&#10;-dSAFER=true&#10;-dMaxStripSize=0&#10;-sPAPERSIZE=$paper&#10;$FIXEDWIDTH&#10;-dBATCH&#10;-r$hresx$vres&#10;“-sOutputFile=$out”&#10;$fil&lt;/p&gt;</description></item><item><title>Recovering messages in Zimbra Open Source Edition</title><link>https://techforbreakfast.com/en/recover-messages-zimbra-open-source-edition/</link><pubDate>Mon, 27 Feb 2012 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/recover-messages-zimbra-open-source-edition/</guid><description>&lt;p&gt;Zimbra v7 Open Source Edition does not come with any backup tool.&#10;So, after backing up to a backup server with rsync (steps I will post later), it is important to be sure how to recover the files if an account&amp;rsquo;s messages ever need to be restored.&#10;The messages are in the /opt/zimbra/store folder, which contains two subfolders, “0” and “incoming”.&#10;The messages are in the “0” folder, and inside it there are several folders, also numbered, one for each user.&#10;First problem… which folder belongs to the user in question?&#10;The solution I found was to follow these steps:&#10;Switch to the zimbra user:&lt;/p&gt;</description></item><item><title>Zindus – syncing Gmail and Zimbra contacts</title><link>https://techforbreakfast.com/en/zindus-sync-gmail-and-zimbra-contacts/</link><pubDate>Mon, 27 Feb 2012 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/zindus-sync-gmail-and-zimbra-contacts/</guid><description>&lt;p&gt;If you use Thunderbird and need to sync your contacts with a Gmail or Zimbra account, you can use the &lt;a href="http://www.zindus.com/"&gt;Zindus&lt;/a&gt; extension.&lt;/p&gt;</description></item><item><title>PHP and CodeIgniter</title><link>https://techforbreakfast.com/en/php-and-codeigniter/</link><pubDate>Fri, 24 Feb 2012 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/php-and-codeigniter/</guid><description>&lt;p&gt;I am testing the &lt;a href="http://codeigniter.com/"&gt;codeigniter&lt;/a&gt; framework for &lt;a href="http://www.php.net/"&gt;PHP&lt;/a&gt; to develop php / &lt;a href="http://www.mysql.com/"&gt;mysql&lt;/a&gt; applications. It looks like a fairly easy framework to use (although you need to know its structure well).&lt;/p&gt;&#10;&lt;p&gt;So far so good… over time I will get to know the framework better and things will go faster.&lt;/p&gt;</description></item><item><title>The beginning…</title><link>https://techforbreakfast.com/en/the-beginning/</link><pubDate>Thu, 23 Feb 2012 00:00:00 +0000</pubDate><guid>https://techforbreakfast.com/en/the-beginning/</guid><description>&lt;p&gt;I am starting my blog here after a long time thinking it over, mostly about why it should exist. So its first goal is to serve as my own reference for situations and problems I come across and their solutions. In short… something to look back on later.&lt;/p&gt;</description></item></channel></rss>