I know that this is REALLY REALLY late but I found out what fixed the problem for me:
Don’t just enter “~/.local/share/applications/wine” into the console, unless you’re really unsure if it’s a directory.
Now, you’ve already found out that it is a directory, so you type “cd ~/.local/share/applications/wine”.
the console is now looking at “~/.local/share/applications/wine”, from here on you type “ls”, this will show you the contents of “~/.local/share/applications/wine”.
In “~/.local/share/applications/wine” there should be a folder called “Programs”, and you wanna uninstall a Program, or at least what’s left of it, so you type “cd Programs”.
Now, in “~/.local/share/applications/wine/Programs” you type “ls” again.
I was looking for steam, so for me it found “Steam”, instead of Steam, you’re looking for “Origin”.
Now, we wanna delete that “Origin” folder, but rm isn’t going to cut it, because “Origin” is a directory, rm can’t delete those.
Unless you use -r, which gives rm the ability to delete directorys, and -f, which tells rm to delete everything inside it.
You can combine -r and -f, ending up with -rf
So: Once you’re in “~/.local/share/applications/wine/Programs” you can type “rm -rf Origin” and all should be fine.
Solution:
type “cd ~/.local/share/applications/wine/Programs”
type “rm -rf Origin”
I hope I could help, if not you, at least the people who’ve stumbled upon this forum just like I have.