Explore your e-reader options with Foliate
Tutorial – Foliate
The Foliate ebook reader can be comprehensively customized to suit your needs, including bookmarking, translation, and read aloud features.
About 10 years ago, "Shock your parents – read a book" was a slogan at German libraries. It didn't help much: Book publishers are still battling stagnation. Nevertheless, there is still some reading going on, although now it focuses more on ebooks and less on printed material. It's not without reason that Amazon regularly offers new versions of its Kindle ebook reader.
To read ebooks, you do not necessarily need a special device. The package sources of the current Linux distributions contain numerous software-based ebook readers. In addition to a read mode, they often offer additional functions such as bookmark management, annotations, or a translation tool.
This repertoire is also offered by the still very young Foliate [1] ebook reader. It is based on the modern GTK3 framework and harmonizes perfectly with the Gnome desktop. In addition, it offers many setting options, which already makes the application a good alternative to classics like Calibre.
Installation
To install Foliate, most users have to rely on packages provided by the developers. The program is not yet included in the package sources of Debian, Ubuntu or Linux Mint. On the GitHub Releases page you can pick up the latest version in the form of DEB packages [2]. At the editorial deadline, Foliate 1.5.3 was the latest version; it installed on a recent Ubuntu system without any issues.
Of the big distributions, only Fedora (F29 and higher) provides the program in the package manager, but this is an older version. Arch Linux users will always receive the current version of Foliate via the AUR; the entries you need here are foliate or foliate-git. Alternatively, the project provides detailed information on its homepage on how to build the software from the source code.
An Open Book
The software can load ebooks in EPUB, MOBI, AZW, and AZW3 formats. Suitable reading material can be obtained, for example, from Project Gutenberg [3].
At startup time, Foliate launches with an almost empty page. Use the Open File… button or the Open item from the hamburger menu in the top right corner to load an ebook file from the hard disk. Like all modern GTK3 applications, Foliate does without a classic menubar; all options are located in the window bar. On the left, you can open the table of contents; next to it are notes and the bookmarks. On the right, you can configure the display, launch a search, or open the settings menu (Figure 1).
The view can be easily configured. You can specify the type and size of the font, as well as the page margins to suit your own taste – if you do not want to use the specifications defined by the ebook's creator. Foliate comes with four different themes, which you can configure via Preferences | Theme. There are also three layouts to choose from: Auto distributes the contents of the book over one page, or two adjacent pages, depending on the window width; Single uses only one page. Scrolled finally gets rid of pages and displays a continuous text flow.
If you are reading a book on a laptop, Foliate offers a series of gestures that can be triggered using the touchpad. Use a two-finger swipe to the left or right to scroll one page forward or back. The pinch-to-zoom gesture used on smartphones to zoom in and out also works with Foliate.
Notes
If you select a word in the text, a small window automatically appears; you can now look up the word in a dictionary – this only works for Wiktionary [4] right now. Alternatively, you can look up the term in Wikipedia; Foliate automatically loads the Wikipedia language that matches the language of the desktop environment for this; you also can use Google Translate to translate (Figure 2). In the dialog header you will find an option for copying the contents of the selection to the clipboard (Copy) or for highlighting the passage (Highlight).
The highlight function starts automatically as soon as you select an entire section or paragraph. Click Highlight, and then change the options in the context menu. You can now change the color of the selection or add your own Note. Foliate displays all markers with notes in the Notes dialog (or in the corresponding section of the sidebar if enabled in the preferences) in an overview with colored markers (Figure 3).
Foliate stores your current position as well as the bookmarks and notes specifically for each book below ~/.local/share/
in the com.github.johnfactotum.Foliate/
directory. If you move this folder to a cloud store such as Nextcloud or Dropbox, the data can easily be synchronized across multiple computers. You can start reading on your desktop computer during the day and continue reading on your laptop later in the evening.
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
SUSE Renames Several Products for Better Name Recognition
SUSE has been a very powerful player in the European market, but it knows it must branch out to gain serious traction. Will a name change do the trick?
-
ESET Discovers New Linux Malware
WolfsBane is an all-in-one malware that has hit the Linux operating system and includes a dropper, a launcher, and a backdoor.
-
New Linux Kernel Patch Allows Forcing a CPU Mitigation
Even when CPU mitigations can consume precious CPU cycles, it might not be a bad idea to allow users to enable them, even if your machine isn't vulnerable.
-
Red Hat Enterprise Linux 9.5 Released
Notify your friends, loved ones, and colleagues that the latest version of RHEL is available with plenty of enhancements.
-
Linux Sees Massive Performance Increase from a Single Line of Code
With one line of code, Intel was able to increase the performance of the Linux kernel by 4,000 percent.
-
Fedora KDE Approved as an Official Spin
If you prefer the Plasma desktop environment and the Fedora distribution, you're in luck because there's now an official spin that is listed on the same level as the Fedora Workstation edition.
-
New Steam Client Ups the Ante for Linux
The latest release from Steam has some pretty cool tricks up its sleeve.
-
Gnome OS Transitioning Toward a General-Purpose Distro
If you're looking for the perfectly vanilla take on the Gnome desktop, Gnome OS might be for you.
-
Fedora 41 Released with New Features
If you're a Fedora fan or just looking for a Linux distribution to help you migrate from Windows, Fedora 41 might be just the ticket.
-
AlmaLinux OS Kitten 10 Gives Power Users a Sneak Preview
If you're looking to kick the tires of AlmaLinux's upstream version, the developers have a purrfect solution.