How To Read Comic Books On Linux With Peruse

A growing trend as of late is to consume comic books online, rather than the traditional method. The reason for this shift is mostly due to convenience. Why go to a comic book store when you can quickly pay a few bucks and get a file that’s much easier to store and take with you. While most operating systems have a built-in tool for readings eBooks and editing PDFs, there is far less support for comic books. If you’re looking to read comic books on Linux, consider using Peruse.

Comic book reading is a very touchy subject, and some will wince at the idea of “downloading books.” Still, if you love the idea of reading your favorite stories this way, you may be interested in this program. Peruse, a cross-platform reading app that makes consuming graphic novels a breeze.

Install Peruse

In this tutorial, we focus on Linux. However, if you’re a comic fan and don’t use Linux, consider downloading the Windows version of Peruse instead.

Ubuntu

As of Ubuntu 18.04, the Peruse comic app is readily available for installation. To install, open up the Ubuntu Software Center, search for “Peruse” and click the “Install” button. Alternatively, open up a terminal window and enter the following command into it to get the program.

sudo apt install peruse

Using a version of Ubuntu that isn’t 18.04? You’ll need to follow the AppImage instructions instead.

Arch Linux

Arch Linux users can use Peruse, but they’ll need to build it from the source code. This process is automatic and comfortable, thanks to the Arch Linux AUR. To get started with Peruse on Arch, use the Pacman package manager to sync the latest version of Git.

sudo pacman -S git

To grab the latest snapshot of the Peruse pkgbuild, use Git clone.

git clone https://aur.archlinux.org/peruse-git.git

CD into the newly cloned peruse-git folder now present in your /home/ directory.

cd peruse-git

Inside the folder, call the makepkg command. Running this command will build and generate a new package. Additionally, it’ll go out and collect all dependencies that are needed.

Note: Makepkg usually collects all dependencies automatically. However, if some aren’t installed, it’s up to you to correct the issue. Scroll down to the bottom of the Peruse AUR page and look for “Dependencies.”

makepkg -si

AppImage

For Linux distributions that don’t package Peruse, the primary way to use it is to download the official AppImage. Downloading Peruse in this way will work on nearly every Linux distribution, as all necessary libraries and resource files are packed inside (minus one critical one).

Peruse requires SELinux. Go through your Linux distribution’s official Wiki, FAQ, etc. too. Learn how to set up SELinux. Once you’ve got it working, follow this link to download the app.

Using the wget downloading tool, get the latest AppImage on your PC.

wget http://mirrors.ukfast.co.uk/sites/kde.org/ftp/stable/peruse/Peruse-1.2-x86_64.AppImage

Next, use the mkdir command to make a new AppImage folder inside of /home/username/.

Putting it in this folder will keep Peruse out of the way from the rest of the system (and also prevent it from being deleted easily by accident).

mkdir -p ~/AppImages

Use the mv command to place the Peruse AppImage inside of the theAppImages folder.

mv Peruse-1.2-x86_64.AppImage ~/AppImages

Once the file is in place, you’ll need to use the Chmod command to update Peruse’s permissions. Don’t forget this part of the instructions, or Peruse will refuse to launch!

sudo chmod +x ~/AppImages/Peruse-1.2-x86_64.AppImage

After updating the permissions, use wget to download again. This time, use it to grab an image file to use for the Desktop icon.

cd ~/AppImages

wget https://peruse.kde.org/data/peruse.png

Create A Desktop Shortcut

Peruse is in the AppImages folder and useable. However, it’s quite inconvenient to have to launch it in this way. That’s why at this step of the process, we’ll be creating a new Peruse shortcut. Start off by using touch to create a new file.

sudo -s

touch /usr/share/icons/peruse.desktop

Open the file in Nano.

nano /usr/share/icons/peruse.desktop

Paste the code below into the editor:

[Desktop Entry]
Name=Peruse
Comment=Read comic books
Icon=/home/username/AppImages/peruse.png
Type=Application
Categories=Office;Viewer;Graphics;2DGraphics;VectorGraphics;
Exec=/home/username/AppImages/Peruse-1.2-x86_64.AppImage
Terminal=false
StartupNotify=false

Save the file with Nano using Ctrl + O. Exit with Ctrl + X. Soon after, Peruse should be available in your application menu like a regular program.

Using Peruse

To use Peruse to read comic books on Linux, open your application menu and select “Peruse.” Once it’s opened, you’ll be able to start loading up your favorite comic book files.

Add a comic by looking to the left-hand side of the program, and clicking on “Open Other.” Selecting the “open other” option will bring up an open file dialog window that you can use to browse for various files.

Officially, Peruse supports all major comic book file types.

Once a file is open, it will automatically add itself to your library, and you’ll be able to access it at any time. Comic books in the Peruse library searchable via the search box. Alternatively, it’s possible to click on “recently added books,” “group by author,” etc.

Buying Books Via Peruse

Did you know that the Peruse comic reader app lets users purchase comics through it? If you’re wondering how to do it, open the app, look to the side-bar and click on “Get hot new books.”

Inside the “hot new books” section, users can legally purchase comic books from “Comic Strip.” Select “Comic Strip” to browse through their offerings online.

Read How To Read Comic Books On Linux With Peruse by Derrik Diener on AddictiveTips – Tech tips to make you smarter

How To Modernize Ubuntu With The Flattiance GTK Theme

The traditional Ubuntu GTK theme has been around forever and it’s kind of dated. The design is old, and even with the updated 18.04 theme, it’s not the greatest. That’s why in this article, we’ll go over how to switch to the modern fork of Ambiance: the Flattiance GTK theme.

The Flattiance GTK theme is currently available on Github and the Git tool is preferred way of installing it because it can easily be used to download the latest version of the theme instantly, instead of having to manually download everything.

Install Flattiance GTK Theme

To start using the theme, you’ll need to download and install all of the dependencies Flattiance needs to render on Linux correctly.

Note: Flattiance is primarily an Ubuntu theme, but that doesn’t mean it’s not possible to use it on other Linux distributions as well. For best results, follow the Git installation method.

Installing via Git

Flattiance requires compiling before installation. To compile, you’ll need to install a few important packages. Open up a terminal window and enter the following command in Ubuntu.

sudo apt install git inkscape libglib2.0-dev-bin git nodejs gtk2-engines-murrine gtk2-engines-pixbuf

Keep in mind that the entire list of required dependencies for Flattiance is unknown as the developer doesn’t outline it on Github. If this is the case, don’t try to run the build script. Instead, install the pre-built theme already in the Git repo.

To grab the latest Flattiance theme code, run git clone

git clone https://github.com/IonicaBizau/Flattiance

using the CD command, move to the newly created Flattiance theme directory.

cd Flattiance

If you’d like to build the theme from scratch, run the build command.

./build

If the build is successful, it will automatically install the theme and apply it. If this fails, you’ll need to abandon the building process and instead install the included theme files. Start off by gaining a root shell in the terminal. In Ubuntu, it’s not possible to use su out of the box, for security purposes. Instead, you’ll need to gain root with sudo -s.

Gaining a root shell, rather than using individual sudo commands is much more efficient. It should also get around any annoying permission errors.

sudo -s

Use MV to move the Flattiance theme sub-folder to the /usr/share/themes/ area of the file system.

mv Flattiance /usr/share/themes/

Now that Flattiance is in the correct spot, the theme is installed. Using exit, log out of root. Then use the rm command to delete any remaining files.

exit

rm ~/Flattiance

Need to uninstall the Flattiance theme? Run the rm command.

su

rm -rf /usr/share/themes/Flattiance

Install For A Single User

Flattiance doesn’t have to be installed system-wide. It’s possible to enable it for one user at a time. To do this, the first step is to grab the source code like you normally would.

git clone https://github.com/IonicaBizau/Flattiance

Enter the download folder with CD.

cd Flattiance

Avoid the build tool, and instead, move the pre-built theme into the ~/.themes folder.

mkdir -p ~/.themes

mv Flattiance ~/.themes

Placing Flattiance in this directory, rather than the system theme directory means only users who have this theme in ~/.themes can use it. Repeat this process as many times as required to enable it for multiple users.
Note: uninstall Flattiance with rm.

rm -rf ~/.themes/Flattiance
rm -rf ~/Flattiance

Installing Via NPM

Another way of installing the Flattiance GTK theme is with the NodeJS NPM tool. Going this route is useful for Ubuntu users who dislike having to deal with Git. To install, ensure you have the latest version of NodeJS, as well as NPM, installed on Ubuntu.

curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs

With Node installed, use the NPM package tool to get the latest Flattiance theme on Ubuntu.

npm install --global flattiance

Enabling The Flattiance GTK Theme

Flattiance’s main goal is to replace the Ubuntu Ambiance theme. It’s a year old and was primarily focused on Unity 7. That said, it will also work with Gnome and other GTK desktops on Ubuntu. To enable the theme on Ubuntu, you’ll need to install the Gnome Tweak Tool app.

sudo apt install gnome-tweak-tool

Once installed, press the Windows key on the keyboard, type “Tweaks” and open the program that appears. From there, you’ll need to click on “Appearance”. Look through the appearance options and enable Flattiance.

Alternatively, if you’re still using Unity 7, enable the theme in the terminal with:

gsettings set org.gnome.desktop.interface gtk-theme "Flattiance"

Enable Flattiance On Other Desktops

If you like the look of this theme and you’re using Ubuntu, but not the main desktop you’ll still be able to enable this theme. As this theme is GTK-based, Flattiance should work perfectly on Ubuntu Mate, Xubuntu, Lubuntu and Ubuntu Budgie.

Check out our in-depth guides for these desktops below:

Read How To Modernize Ubuntu With The Flattiance GTK Theme by Derrik Diener on AddictiveTips – Tech tips to make you smarter