desktoptojson command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
desktoptojson: command not found
or when using sudo you get the following error message
sudo: desktoptojson: command not found
Solutions to desktoptojson: command not found
How To Fix desktoptojson: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu desktoptojson is provided by libkf5coreaddons-dev-bin package.
libkf5coreaddons-dev-bin is:
KCoreAddons provides classes built on top of QtCore to perform various tasks such as manipulating mime types, autosaving files, creating backup files, generating random sequences, performing text manipulations such as macro replacement, accessing user information and many more.
This package is part of KDE Frameworks 5.
This package is an implementation detail for KCoreAddons.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libkf5coreaddons-dev-bin
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libkf5coreaddons-dev-bin.
sudo apt -y install libkf5coreaddons-dev-bin
Or if you have aptitude installed you can use the following command.
sudo aptitude install libkf5coreaddons-dev-bin
Summary
In this tutorial we learn how to fix desktoptojson command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.