Registered Member
|
I would like to inquire about disabling a plasma desktop shell popup error window for KDE4 4.14.8. I have searched through System Settings>Applications and System Notifications>Manage Notifications and have not found a matching item.
Here is the actual popup error window: Error Plasma Desktop Shell "Unable to save bookmarks in /home/username/.kde4/share/apps/kfileplaces/bookmarks.xml. Reported error was: Error during rename.. This error message will only be shown once. The cause of the error needs to be fixed as quickly as possible, which is most likely a full hard drive." I am causing the error, so there is no alarm. The plasma desktop shell popup error window is due to a work-around for an issue with Homerun application launcher and Dolphin. I would like to disable the popup error window. Please advise. Thanks |
|
lxr.kde.org says that this error (!) dialog isn't any optional - it's triggered if the desired file cannot be opened for writing (and falsely assumes there should be write access in general) - what you likely intended...
You'd have to patch and recompile kbookmarkmanager. |
Registered Member
|
[quote="luebking"You'd have to patch and recompile kbookmarkmanager.[/quote]
Please direct me to the patch. Thanks |
|
There's none, but it's fairly trivial to comment the relevant code in framewoks-kbookmark/src/kbookmarkmanager.cpp
|
Registered Member
|
I'm not a programmer, I will need some kind of assistance to complete the task. Is there any other alternative?
|
|
You *will* have to compile something, there's no way around.
in src/kbookmarkmanager.cpp simply replace static int hadSaveError = false; with static int hadSaveError = true; |
Registered Member
|
The compiling is no problem. I use Gentoo, so applying a patch is as easy as making a directory, copying the patch file and executing a single command to compile and install. It is the programming aspect. I don't know how to get to kbookmarkmanager.cpp, much less edit the package.
|
|
no idea whether this is gonna help you
|
Registered Member
|
Thanks for your help! I found a dev that was already working on the root cause (homerun writing to the bookmarks file for Dolphin). A patch was created to to stop homerun's write access. The patch is working correctly so far.
|
Registered Member
|
Here is a link to the patch:
https://forums.gentoo.org/viewtopic-p-7850626.html |
Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]