That file not longer exists in Whisker Menu 2.8 Trinidad. The old version was 2.7.1 (In LL6.6). I've been talking to someone named ToZ of the Xfce board about it and they confirmed that the "Recently Used" apps data is not stored in the whiskermenu-10.rc file any longer. I don't know why that whiskermenu-10.rc.backup file still exists in there but I know the one you're talking about - I saw it in there too.
I was able to get the Recently Used apps to clear via lite-tweaks after modifying the script using Toz's method. The new xfconf method doesn't require you to logout and then back in for the changes to manifest either, so that's a plus. I agree: "The whiskermenu recent items tweak is something we could live without since recent only populates ten anyway." The same thing can be done by just right mouse-clicking a Recently Used App icon and selecting "Clear Recently Used"
Here's the info I got from ToZ on the Xfce message board:
The Whiskermenu migrated to using xfconf for its settings in 2.8. You can view them through the xfce4-settings-editor - look in the xfce4-panel channel, /plugins tree.
Specifically I'm trying to figure out what replaced the functionality that used to happen on line 2 of that file
Its now stored in the "/plugins/plugin-XX/recent" property.
And is there a way to clear the Recently Used apps via a terminal command or can it now only be done via the GUI?
You can use xfconf-query. Here are some examples (my whiskermenu has an ID of 13):
Display the current list of recent applications:
xfconf-query -c xfce4-panel -p /plugins/plugin-13/recent
Edit an array:
Unfortunately there is no easy way to delete and insert entries via the command line (you can do it much easier through xfce4-settings-editor). To do so via the command line, you need to re-create the array with all entries:
xfconf-query -c xfce4-panel -p /plugins/plugin-13/recent -t string -s "gimp" -t string -s "inkscape"
##############
Source:
https://forum.xfce.org/viewtopic.php?id=17478because the path/file "$HOME/.config/xfce4/panel/whiskermenu-10.rc" no longer exists in LL7
The backup is in ~/.config/xfce4/ The current whiskermenu-10.rc file is not anywhere, appears to have never been created even though a backup was created in the wrong folder. May just be a menu libre or XFCE change issue but of course tweaks won't work without a file path. The whiskermenu recent items tweak is something we could live without since recent only populates ten anyway. Anyway I've noticed too many PATH changes comparing files between 6.6 to 7.x. Before I come to any conclusions why this would occur I'm going to install a new 7.x system and sort them out from scratch. Once that is done because Lite-Tweaks is essentially a c2 server I'm going to add a policy-kit.service specifically for it and a regular /var/rotating log. Right now I'm hating on Ubuntu and Debian. PKLA was always more secure and usr merge has been a pain.
TC
[/quote]