When I unistall an application I want to check for all remaining files on computer. Searching them with Finder doesn't show any protected file, for instance from Library, and also hidden files are never included in search. Can this be controlled or changed?
You can add the System files and File visibility attributes to the filter bar:
Files that start with a period are still excluded though.
This makes Finder show hidden files:
defaults write com.apple.finder AppleShowAllFiles -bool true
mdfind includes system files by default, but it doesn't include hidden files unless you specify kMDItemFSInvisible=1.
The simplest way is using TinkerTool
Alternatively use the free ShowAllFiles app which adds an icon to the bar at the top of the screen. Clicking the icon will toggle hidden files and optionally relaunch Finder to auto refresh.
Disclosure: I made this app.