How to fix Error Permission denied:’/dev/input/eventX’ running kivy app in Linux

On running a Python script in vscode with the kivy package, the error of Permission denied:'/dev/input/eventX' appears, where X is a number. To correct this error, open a terminal window and enter the following command: $ sudo chmod u+r /dev/input/eventX <enter> Above is only for one time execution. Error will repeat again if code is … Continue reading How to fix Error Permission denied:’/dev/input/eventX’ running kivy app in Linux

How to fix error in vscode of “kivy.uix.label” could not be resolved

This error can be overcome by selecting the right python environment by clicking next to Python in the status bar of vscode. The Python application was running the global python environment where kivy was not installed. After changing to pipenv of the project as per image below in vscode, it worked.

How to display stock prices with decimals in Gnucash

Gnucash displays stock prices within the account as 47 + 22398/55939.To display them with decimal points, from the main menu, select Edit -> Preferences -> Numbers, Date, Time and check the box that says "Force Prices to display as decimals". When you double click on the account to make entries, the stock price will be … Continue reading How to display stock prices with decimals in Gnucash

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

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 display the digital signature green tick in a signed PDF document using PDF Studio Viewer on LinuxMint or Debian or Ubuntu Linux

Signed PDF documents normally display a green tick when the signature is valid when opened with Acrobat PDF reader. Since a long time, Adobe Acrobat Reader is no more available for Linux and the best alternative to verify signed PDF documents is PDF Studio Viewer by Qoppa. Open the signed PDF file using PDF Studio … Continue reading How to display the digital signature green tick in a signed PDF document using PDF Studio Viewer on LinuxMint or Debian or Ubuntu Linux

ffmpeg audio file editing commands

To edit video and audio files in ffmpeg, below are some commands. Open a terminal window and try them out. These are very useful when creating training videos. Extract mp3 audio from mp4 file$ ffmpeg -i video.mp4 -vn -ab 256k -ar 48000 -y audio.mp3 <enter> Split from 7 seconds to end$ ffmpeg -i audio.mp3 -ss … Continue reading ffmpeg audio file editing commands