How to sort and rename files in Python on Linux and use tesseract OCR to extract text to a file

In order to convert a series of images with text as an image in them to text files, the best tool is tesseract. It is quite old, but very reliable when it comes to looking for and extracting text from images. After saving some screen shots as jpg files, it was found their names contained … Continue reading How to sort and rename files in Python on Linux and use tesseract OCR to extract text to a file

How to get dark theme in Geany Code Editor on LinuxMint, Debian, Xubuntu Linux

Even though a dark theme is chosen for the desktop in XFCE, geany will display it's toolbars and window elements in dark mode, but the code displays with a white background. To make it a dark background, go to Edit -> Preferences -> Editor -> Display and check the box that says "Invert syntax highlighting … Continue reading How to get dark theme in Geany Code Editor on LinuxMint, Debian, Xubuntu Linux

How to debug “There was a system error retrieving the price quotes” in Gnucash Finance::Quotes on Linux

There was a system error retrieving the price quotes. This error is a debugging nightmare as it is not specific, gives no clue as to where the error lies and there is no easy debugging mechanism to find out what went wrong. Nonetheless, all is not lost. In order to debug the problem, open a … Continue reading How to debug “There was a system error retrieving the price quotes” in Gnucash Finance::Quotes on Linux

There’s something about data backups – what’s the big deal!

It’s been almost 12 years since using the 128 MB Transcend USB hard drive for data backups. On the other hand there’s also a 128 KB Transcend USB pen drive from 2006 that still works quite well today plus a Kingston 1 GB USB pen drive. In 12 years, storage device and storage media technology … Continue reading There’s something about data backups – what’s the big deal!

An ode to passwords – safeguarding online accounts

Every account created (online or offline) requires additional elements to be remembered the service or the device or the website or the application; the user name or ID that is to be used to login in to it, and; the associated password. It's easy to remember sites, applications, services and associated user IDs. However, to … Continue reading An ode to passwords – safeguarding online accounts

How to mount internal disk drive in Debian 12 Linux without entering password everytime

When mouting an internal disk on Debian 12 Linux (Bookworm), a password is asked to be entered each time the internal disk is mounted. This is the root password. To stop the system from asking for a password each time the internal disk is to be mounted, open a terminal window and enter the following … Continue reading How to mount internal disk drive in Debian 12 Linux without entering password everytime

How to increase font size of menu items in the Cinnamon menu in Debian

After installation of Debian 12.2 Cinnamon live, it was found that the font size of menu items in the Cinnamon menu was very small as shown in the image below in the BlackMate theme. Cinnamon menu (items in small font) This is because the font size is 8.5pt within the css settings file at /usr/share/themes/BlackM*/cinnamon.css. … Continue reading How to increase font size of menu items in the Cinnamon menu in Debian

How to add fonts on the XFCE desktop in Linux

Fonts can be downloaded and then added to the XFCE Desktop in Linux by using the font manager. To install the font manager, open a terminal window and enter the commands as below: $ sudo apt-get install thunar-font-manager <enter> To run the font manager, enter: $ font-manager <enter> Or open thunar file manager, click on … Continue reading How to add fonts on the XFCE desktop in Linux

How to use Ghostscript to reduce size of PDF file in Linux

If a PDF generated when printing is very large in size, it can be reduced using Ghostscript that is installed by default on a Linux computer. Open a terminal window and enter the following command to do so: $ gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/default -dNOPAUSE -dQUIET -dBATCH -dDetectDuplicateImages -dCompressFonts=true -r150 -sOutputFile=outputfile.pdf inputfile.pdf <enter> where ouputfile.pdf is … Continue reading How to use Ghostscript to reduce size of PDF file in Linux