close
  • It chevron_right

    Use gImageReader to Extract Text From Images and PDFs on Linux

    pubsub.do.nohost.me / ItsFoss · Monday, 8 March, 2021 - 15:05 · 2 minutes

Brief: gImageReader is a GUI tool to utilize tesseract OCR engine for extracting texts from images and PDF files in Linux.

gImageReader is a front-end for Tesseract Open Source OCR Engine . Tesseract was originally developed at HP and then was open-sourced in 2006.

Basically, the OCR (Optical Character Recognition) engine lets you scan texts from a picture or a file (PDF). It can detect several languages by default and also supports scanning through Unicode characters.

However, the Tesseract by itself is a command-line tool without any GUI. So, here, gImageReader comes to the rescue to let any user utilize it to extract text from images and files.

Let me highlight a few things about it while mentioning my experience with it for the time I tested it out.

gImageReader: A Cross-Platform Front-End to Tesseract OCR

gimagereader

To simplify things, gImageReader comes in handy to extract text from a PDF file or an image that contains any kind of text.

Whether you need it for spellcheck or translation, it should be useful for a specific group of users.

To sum up the features in a list, here’s what you can do with it:

  • Add PDF documents and images from disk, scanning devices, clipboard and screenshots
  • Ability to rotate images
  • Common image controls to adjust brightness, contrast, and resolution
  • Scan images directly through the app
  • Ability to process multiple images or files in one go
  • Manual or automatic recognition area definition
  • Recognize to plain text or to hOCR documents
  • Editor to display the recognized text
  • Can spellcheck the text extracted
  • Convert/Export to PDF documents from hOCR document
  • Export extracted text as a .txt file
  • Cross-platform (Windows)

Installing gImageReader on Linux

Note : You need to explicitly install Tesseract language packs to detect from images/files from your software manager.

tesseract language pack

You can find gImageReader in the default repositories for some Linux distributions like Fedora and Debian.

For Ubuntu, you need to add a PPA and then install it. To do that, here’s what you need to type in the terminal:

sudo add-apt-repository ppa:sandromani/gimagereader
sudo apt update
sudo apt install gimagereader

You can also find it for openSUSE from its build service and AUR will be the place for Arch Linux users.

All the links to the repositories and the packages can be found in their GitHub page .

Experience with gImageReader

gImageReader is a quite useful tool for extracting texts from images when you need them. It works great when you try from a PDF file.

For extracting images from a picture shot on a smartphone, the detection was close but a bit inaccurate. Maybe when you scan something, recognition of characters from the file could be better.

So, you’ll have to try it for yourself to see how well it works for your use-case. I tried it on Linux Mint 20.1 (based on Ubuntu 20.04).

I just had an issue to manage languages from the settings and I didn’t get a quick solution for that. If you encounter the issue, you might want to troubleshoot it and explore more about it how to fix it.

gimagereader 1

Other than that, it worked just fine.

Do give it a try and let me know how it worked for you! If you know of something similar (and better), do let me know about it in the comments below.

  • It chevron_right

    How to Turn Off Automatic Brightness on Ubuntu [Quick Tip]

    pubsub.do.nohost.me / ItsFoss · Thursday, 4 March, 2021 - 04:38 · 1 minute

Some new laptops come with built-in integrated light sensor. Operating systems use this sensor to measure the ambient light conditions and change the screen brightness automatically. This helps in reducing eye strain .

You can see that this is a useful feature. But not everyone might like it all the time. For example, while watching Netflix on Linux at night, it reduces the screen brightness at the lowest for me. This makes the movie scene quite dull.

This is one of the many cases when you probably would not want automatic brightness. Turning off automatic brightness on Ubuntu is quite simple. I’ll show that to you in this quick article.

This tutorial is valid for GNOME desktop environment . The command line method should work for MATE desktop as well. If you are not certain, check which desktop environment you are using .

Turning off automatic brightness on Ubuntu

You can find the option to toggle automatic brightness under Power settings.

Press the Windows (also known as Super or Meta key in Linux world) key. This will bring the Activities area and you can search for Settings here.

settings ubuntu

In the Settings application, go to the Power settings from the left sidebar. Under the Power Saving option, you can see the Automatic Brightness option.

Toggle the button to turn it off or on.

automatic brightness ubuntu

It’s super easy with the GUI, right? Now let’s take a look at the command line method as well.

Alternate method: Turning off automatic brightness in Ubuntu using terminal

GNOME based desktop environments can also access the brightness settings via command line.

Open a terminal in Ubuntu and use the following command to turn off the automatic brightness:

gsettings set org.gnome.settings-daemon.plugins.power ambient-enabled false

Similarly, you can set the value to true to enable the automatic brightness again:

gsettings set org.gnome.settings-daemon.plugins.power ambient-enabled true

Automatic brightness helps in saving the battery life but it could also become an annoyance, as I had mentioned earlier. I so wish that there was a way to make the automatic brightness not go beyond a certain level.

How about you? Do you prefer using automatic brightness on Ubuntu or other Linux distributions or on your smartphone?

  • It chevron_right

    You Can Now Install Official Evernote Client on Ubuntu and Debian-based Linux Distributions

    pubsub.do.nohost.me / ItsFoss · Wednesday, 3 March, 2021 - 05:14 · 3 minutes

Evernote is a popular note-taking application. It was a revolutionary product at the time of its launch. Since then, there have been several such application that allow you to save web clippings, notes etc into notebook formats.

For years, the desktop client of Evernote was not available for Linux. Evernote promised a Linux application some time ago and its beta version is finally available for Ubuntu-based distributions.

Non-FOSS alert!

Evernote Linux client is not open source. It’s been covered here because the application is made available on Linux and we cover popular non-foss applications for Linux users from time to time. This helps with regular desktop Linux users.

Installing Evernote on Ubuntu and Debian-based Linux distributions

Go to the following page on Evernote’s website:

Scroll down a bit to accept the terms and conditions of ‘early testing program’. You’ll see a ‘Install Now’ button appearing on the screen. Click on it to download the DEB file.

evernote early access linux

To install the application from the DEB file , double-click on it. It should open the Software Center app and give you the option to install it.

install evernote linux

Once the installation completes, search for Evernote in the system menu and launch it.

evernote ubuntu

When you start the application for the first time, you’ll need to log in to your Evernote account.

evernote running ubuntu

The first run brings you to the ‘Home screen’ where you can organize your notebooks for even quicker access.

evernote on ubuntu

You may enjoy using Evernote on Linux now.

Experiencing the beta version of Evernote Linux client

There are a few annoyances here and there with the software being in beta.

As you can notice in the image above, Evernote Linux client detected the dark mode in Ubuntu and switched to dark theme automatically. However, when I changed the system theme to light or standard, it didn’t change theme application theme immediately. The changes took into effect only after I restarted Evernote app.

Another issue is about closing the application. If you click on the X button to close the Evernote application, the program goes in background instead of exiting.

There is an app indicator that seems like a way to launch a minimized Evernote application, like Skype on Linux . Unfortunately, that’s not the case. It opens the Scratch Pad for you to type a quick note.

This gives you another note taking application on Linux but it also presents a problem. There is no option to quit Evernote here. It is only for opening the quick note taking app.

evernote app indicator

So, how do you quit the Evernote application? For that, open the Evernote application again. If it is running in the background, search for it in the menu and launch it as if you are opening it afresh.

When Evernote application is running in the foreground, go to File->Quit Evernote.

quit evernote linux

This is something the developers should look to improve in the future versions.

I also cannot say how will the beta version of the program be updated in the future. It doesn’t add any repository. I just hope that the application itself notifies about the availability of a newer version so that users could download the new DEB file.

I do NOT have a premium Evernote subscription but still, I could access the saved web articles and notes without internet connection. Strange, right?

Overall, I am happy to see that Evernote finally made the effort to bring the application to Linux. Now you don’t have to try third-party applications to use Evernote on Linux, at least on Ubuntu and Debian-based distributions. You may, of course, use an Evernote alternative like Joplin that are actually open source.