45 Frequently Asked Questions about Linux Mint: PART 3

Back to the homepage

This is part three of the Frequently Asked Questions (FAQ). Part one is here and Part two is here.

Contents of this page:

How can I reverse the scrolling direction for mouse and touchpad in Cinnamon?

1. In Cinnamon, it's possible to reverse the scrolling direction for mouse and touchpad as follows (note: on a laptop, this requires two separate actions!):

Menu button - Preferences - Mouse and Touchpad

Tab Mouse: switch off Reverse scrolling direction

Then tab Touchpad: also switch off Reverse scrolling direction

So on a laptop that took two actions, not one!

How can I install a newer kernel without internet?

2. If you have installed Linux Mint or Ubuntu and you want to install a newer kernel without having internet, proceed as follows:

Download on another computer that does have internet connection, the three installer packages for the new kernel at Ubuntu. That might even be a Windows machine! Put those on a USB memory stick, connect the stick to your offline machine and install the three kernel installer packages in the right order. You can install them by simply double-clicking them.

The right order is: 1. linux-modules-xxx-generic, 2. linux-image-xxx-generic (signed version) and 3. linux-modules-extra-xxx-generic. Of course it needs to be a kernel that's supported in your version of Linux Mint or Ubuntu.

For example, in order to install kernel 5.8.0-32 in an offline Linux Mint 20 or Ubuntu 20.04, you download the following three packages (they're mentioned in the installation order):




After installing them: reboot your computer. It should run on the new kernel then.

This might come in handy when you're stuck in a vicious circle: for example when you have no internet because the driver for your WiFi card is only present in a newer kernel.

Can I execute terminal commands that don't get stored in the memory of the terminal?

3. Yes, you can. Simply precede the command with a space. Then the terminal won't remember it.

How can I change the default document format in word processor AbiWord?

4. Lightweight word processor AbiWord has its own document format, called .abw. That's AbiWord's default.

However, it's easier to have .rtf, .odt or .doc as default format, because of compatibility with other word processors. For the simple AbiWord I recommend to set the uncomplicated document type .rtf as default.

You can only change AbiWord's default document format by means of a genuine hack, like this:

a. First you need to change something else in the preferences of AbiWord (you can revert that later on, if you want):

Launch AbiWord. AbiWord panel - Edit - Preferences... - tab Smart Quotes: remove the tick for: Enable smart (curly) quotes

With that action you've created a certain new section (custom scheme) in the AbiWord profile in your user folder, which is what you need for the actual hack.

b. Close AbiWord.

c. Launch your file manager and make the hidden folders and files visible in your home folder. For example by means of the key combination Ctrl h or (in file manager Thunar) panel - View: tick Show hidden files

Double-click the folder .config and then the folder abiword.

d. Right-click on the file called profile and open it with a simple text editor like Xed, Gedit or Mousepad (don't just double-click it in the normal way, because then it might open in your web browser!).

Find the scheme called "_custom_" (scroll about halfway down in the text file; clear indication: it should contain the line SmartQuotesEnable="0") and add the following line to that scheme:


It should then look like this:


Tip: prevent typing errors and copy/paste the new line. In the example the new default is .rtf, but you can use .odt or .doc if you want to.

e. Save the changes and close the modified (hacked!) file.

f. Time for a test: launch AbiWord, type a few letters and save the document: it should now by default have the new format.

Note: user preference, so repeat this in each user account.

Can I make shutdown go quicker?

5. Does shutting down your computer last too long for you? Then you can force your system to limit the shutdown process to a maximum of 5 seconds, instead of the usual maximum of 10 seconds. Note: this hack might be disruptive, so use it with care and don't reduce the shutdown maximum to less than 5 seconds!

Proceed like this:

a. Launch a terminal window.
(You can launch a terminal window like this: *Click*)

b. Use copy/paste to transfer the following command line into the terminal (it's one huge line!):

sudo sed -i 's/DefaultTimeoutStopSec=10s/DefaultTimeoutStopSec=5s/g' /etc/systemd/system.conf.d/50_linuxmint.conf

Press Enter. Type your password when prompted. In Ubuntu this remains entirely invisible, not even dots will show when you type it, that's normal. In Mint this has changed: you'll see asterisks when you type. Press Enter again.

c. Reboot your computer.

d. Test a shutdown. If all is well, that should last no longer than 5 seconds now.

Should you ever wish to undo this, then this is the command that reverts systemd's shutdown to the default 10 seconds:
sudo sed -i 's/DefaultTimeoutStopSec=5s/DefaultTimeoutStopSec=10s/g' /etc/systemd/system.conf.d/50_linuxmint.conf

How can I automatically execute a root command on startup?

6. Unfortunately systemd has complicated this massively, but you can automatically execute a root command on startup like this (*click*).

How bad are boot error messages about TPM?

7. It's no problem when you get error messages during booting about TPM (Trusted Platform Module).

Its communication unavailability during Mint start-up is unimportant and can safely be ignored. It's just that LM 21.x (Ubuntu 22.04.x) does a lot of system "probing" and reporting (ACPI, etc.), much of which is inconsequential for the workings of your system.

It's really only of any importance if you must run secure boot or Windows disk encryption. It's not required otherwise. Its job is to to store trusted UEFI keys.

If it bothers you anyway, you might be able to get rid of the errors by enabling TPM in the BIOS settings (for which you might need to set an administrator password in the BIOS first).

How can I make the interface of photo editor GIMP 2.10 usable again?

8. The interface of GIMP 2.10 looks horribly grey and dark, and is almost impossible to use: the tool icons are nearly invisible. This is how to make GIMP 2.10 look and feel like its colourful predecessor:

Menu bar of GIMP: Edit - Preferences - section Interface:

a. Theme - set it to System

b. Icon theme: set it to Color

Click OK.

How can I type smart quotation marks (curly, single and double) on a US keyboard?

9. Often required for writing scientific publications, but it's not bloody obvious: typing smart curly quotes on a US keyboard.... Thankfully, it's rather easy once you know it. This is how you do it:

Note: this might only work on a US keyboard for which you've selected the following layout:
English (US, international, with dead keys)

Find the AltGr key on your keyboard (usually on the right of the space bar), which normally is the so-called "Compose key". If there is no key named AltGr, then there should be an Alt key on the right of the space bar which is actually the AltGr key in disguise. Note that the Alt key on the left of the space bar doesn't work for this!

Single left smart quotation mark:
This requires the simultaneous use of two keys. Press the AltGr key and keep it pressed. Then type 9 (not the 9 on the numeric keypad, if you have one, but the 9 on the second row of your keyboard). Lo and behold: ‘

Single right smart quotation mark:
This requires the simultaneous use of two keys. Press the AltGr key and keep it pressed. Then type 0 (not the 0 on the numeric keypad, if you have one, but the 0 on the second row of your keyboard). And there it is: ’

Double left smart quotation mark:
For this you need to use three keys. Press the AltGr key and keep it pressed. Then type { (which requires the use of the Shift key) and this should be the result: “

Double right smart quotation mark:
For this you need to use three keys. Press the AltGr key and keep it pressed. Then type } (which requires the use of the Shift key) and this should be the consequence: ”

What's the correct command format when using a wildcard for apt?

10. The character * is a wildcard, or more specifically a glob pattern. It's often used for commands with apt and apt-get, notably for removals.

By the way: you can find out more about the role of glob like this. But let's dive deeper into the issue of removals with a wildcard....

Now, expansion of a glob pattern is a thing your shell does first of all. So if you execute the command:
apt remove example-package*
....then what actually happens, is that your shell will first try to expand that command before passing it on to the package management system.

So, let's say you have the files example-package1, example-package2 and example-package3 in your working directory. In that case the command you will actually be running by using the wildcard in the aforementioned command, will be:
apt remove example-package1 example-package2 example-package3

If you run a test with this example setup, you'll notice that although apt won't be able to handle the example packages, your system does touch them, as it mentions them. Which it clearly shouldn't be doing at all.

This is very important to understand, as it explains why executing such an apt command without double quotation marks is plainly wrong. Because it will only work correctly accidentally, depending on the contents of your working directory.

In most cases you do not want your shell to perform unlimited pattern expansion when using apt. Except when you actually want to pass file names to the command, as with apt deb to install .deb files. Instead, when you want apt to perform a pattern expansion on package names exclusively within the package management system, you need to use double quotes for the wildcard parameter in order to prevent the shell from performing pattern expansion elsewhere.

So the correct format for that wildcard command, and how you should always be using it, is like this:

apt remove "example-package*"

Note: What I've said above about apt, is also applicable to apt-get. As a sidenote: when you use a script of your own for package removals, you should use apt-get and not apt in it. Because apt, which is itself actually a script, introduces an unnecessary level of complication to your script.

(based on the fine explanation given by gm10 on the Linux Mint forum)

How can I download the installer package for an application by means of the terminal?

11. There's a simple terminal command with which you can download the installer package for an application, namely apt download. For example, if you want to download the installer package for Mousepad:

apt download mousepad

You'll find the installer package (a .deb file or a .tar.gz file containing multiple .deb files) in your home folder then.

Why are some updates being kept back?

12. The update mechanism has a system of so-called phased updates. Not all updates are rolled out at once to all users. Thus, Update Manager may report that nothing needs to be updated (for now), even if some updates are ready to be rolled out.

The reason is simple. There is always a chance that an error creeps through with an update, which is called a regression.

Phasing updates decreases the chance that a severe issue rolled out with an update, would affect all users at once. With phased updates, the issue may be discovered and corrected before all users have it installed.

The phasing happens upstream, i.e. at Ubuntu. It's a second line of defense against regressions, the first line of course being the -proposed repo.

Since Ubuntu 21.04 phasing has been plumbed into APT, so Mint users only start noticing it in Mint 21 (which is based on Ubuntu 22.04) and not in previous Mint versions.

I don't know whether Mint applies phasing to its own repo as well; probably not.

In any case: don't bypass the phasing, because it's for your own good. Just wait until the updates are cleared to reach you.

This is the command with which to check whether there any kept-back updates:

apt update && apt list --upgradable

If you want to see the progress of a kept back phased update, this is how to check for that:

apt-cache policy name-of-kept-back-package

The relevant piece of information in the output is under the header Version table, namely (phased x %). Which means that at this moment, x % of all users already have it.

(partially based on the excellent explanation given by vanadium on the Linux Mint forum)

Want to read more FAQ? This is part three of the Frequently Asked Questions (FAQ). Part one is here and Part two is here.

To the content of this website applies a Creative Commons license.

Back to the home page