On the whole and especially if the application is not self-contained in the app sandbox one should also delete its preference file, which usually can be found in ~/Library/Preferences/
. Searching for the application's name in that folder in many cases yields a result.
Had it been self contained, the application would have had a container in...
~/Library/Containers/
or
~/Library/Group Containers/
...which would include its Preference file within. In this case the whole container could be removed.
Delete the .plist file and either reboot, or see also here:
Reload modified system plist
Another way to find the plist's name:
a=$(defaults domains | sed 's/,/\\n/g'); printf "$a" | grep "Clipy"
In your specific case, deleting the menu bar item key from the preference file did the trick:
defaults delete com.clipy-app.Clipy kCPYPrefShowStatusItemKey
"kCPYPrefShowStatusItemKey" by default is not present, unless one changes the menu bar icon, or it has been set to 'none'.
PS.Setting the menu bar item to 'none' implies that one wants to solely use the shortcut keys to launch windows like the "history" window, which includes a link to "Preferences" and therefore a way to change the menu bar item. So it would be good to remember them and to make sure the shortcut keys are functional.
/Applications
. I force quit the app and try to re-launch from there, but nothing happens.defaults delete com.clipy-app.Clipy kCPYPrefShowStatusItemKey
works and the icon comes back. But what's mean ofkCPYPrefShowStatusItemKey
? and how do you know the specific namecom.clipy-app.Clipy
?