<div dir="ltr">hello everybody.<div>i'm currently refining my digital-exam environment based on kde plasma for schools and could use some help.</div><div><br></div><div><br><div>i need to be able to delete all recent documents from all applications via qdbus</div><div>i know i can do that from systemsettings > desktop behaviour > activities but it needs to be automated</div><div><br></div><div><span style="font-family:monospace"><span style="font-weight:bold;color:rgb(84,84,255)">~/.local/share/kactivitymanagerd/resources</span>$ sqlite3 -header database<br></span></div><div><span style="font-family:monospace">select * from ResourceScoreCache;</span></div><div><span style="font-family:monospace"><br></span></div>gives me all entries...<div><span style="font-family:monospace">[...] </span></div><div><span style="font-family:monospace">95dec76c-3e71-47af-a064-cbd5a50957de|org.kde.kate|/home/me/CMakeLists.txt|0|0.0|1542473179|1542473179<br></span></div><div><span style="font-family:monospace">[...]</span></div><div><span style="font-family:monospace"><br></span></div>DeleteStatsForResource(QString activity, QString client, QString resource)<div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">qdbus org.kde.ActivityManager /ActivityManager/Resources/Scoring org.kde.ActivityManager.ResourcesScoring.DeleteStatsForResource 95dec76c-3e71-47af-a064-cbd5a50957de org.kde.kate "/home/me/CMakeLists.txt"</span></div><div><span style="font-family:monospace"><br></span></div>removes ONE entry...<div><br></div>DeleteEarlierStats(QString activity, int months)<div><div style=""><font face="monospace">qdbus org.kde.ActivityManager /ActivityManager/Resources/Scoring org.kde.ActivityManager.ResourcesScoring.DeleteEarlierStats </font><span style="font-family:monospace">95dec76c-3e71-47af-a064-cbd5a50957de 12</span></div><div style="font-family:monospace"><br></div></div>does not do anything ?<div><br></div><div><br></div><div>how can i remove ALL entries from the current activity ? or even better from ALL activities at once ? </div><div>i tried diffferent forms of wildcards but without any luck :-/</div><div><br></div><div>thank you very much for everything that helps :-)</div><div>greetings </div><div>thomas</div><div><br></div><div><span style="font-family:monospace">
<br></span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace"><br></span></div></div></div>