Some essential KDE files were missing when I rebooted and I cannot open Discovery.
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Some essential KDE files were missing when I rebooted and I cannot open Discovery.
A bit of context: I'm a Mac refugee using Linux for a year. Love it! I'm running Kubuntu 20.04 on a Lenovo M95 tiny box (great little machine).
After shutting down the M95 for a week, when I rebooted I could not access the Discover program. Clicking on the system tray icon got "could not find the program plasm-discover".
I had cloned the whole internal SSD drive using Clonezilla onto an external hard drive before shutting down. When i used Dolphin, my file manager, to access "/usr/share/applications" on both drives, I found all 4 org.kde.discover files missing on the internal drive, but present on the clone. Mu girlfriend also uses Kubuntu 20.04 and the dicover files were there on her hard drive and her Discover program works. So the question is how can I copy the missing files from the cloned HD to the internal
HD? I tried a simple copy, but Dolphin wouldn't let me do this. I could just clone the external drive back onto my internal drive, but I'd rather not do that if there is another way to just replace the missing 4 files.
I have added "open as root" to the service menu of Dolphin, but I'm not surehow to actually to use it, and if that would work for copying the files.
Any suggestions would be very appreciated...
Thanks for all your suggestions.
Yancek, the link you posted didn't help.
Using the cp command as you suggested, I tried copying the 4 org.kde.discovery files from my backup drive to my internal drive. That worked, and the file permissions (root) were preserved. However when I rebooted the computer I still could not access the Discovery program. I got the "could not find the program plasma-discover" message again. Maybe there are other files associated with Discovery that also disappeared?
As a test, I also tried booting from my backup drive (which was cloned from my internal dive before I shut down a week ago). When I did that I still couldn't access the Discovery program. Any idea why that would be?
As a last resort, I'm thinking about using Clonzilla to copy the backup drive onto my internal drive. What do you think about that?
ohnoho: I'd love to re-install plasma-discover AND all its dependencies! Please explain in detail just how to do that. I kind of know what dependencies are, bits of code that tell the OS things it needs to know, but I don't know to find out which ones discover uses, or how to get them. Any help would be much appreciated.
Sincerely, nukuinnz
Yancek:
Problem solved with that link. Many thanks
Of course I should have thought of using sudo apt-get to restore the program and its dependencies. I learned several new things in the process.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.