Can't kill Preview app [duplicate]
I have strange problem, my Preview app is not responding and can't kill it.
leo-mac:~ leo$ sudo killall Preview
No matching processes were found
Force Quit button also doesn't give any result.
ps
(and Activity Monitor) is empty:
leo-mac:~ leo$ ps -ax | grep -i preview
24793 ttys000 0:00.00 grep -i preview
It's not a zombie because next command is also empty:
ps aux | awk '"[Zz]" ~ $8 { printf("%s, PID = %d\n", $8, $2); }'
I really can't understand what happened. Any ideas?
Solution 1:
I had the same problem. Workaround:
sudo killall launchservicesd
sudo killall Dock
Solution 2:
It could be an issue with one of the files preview is attempting to open.
Go to
~/Library/Saved Application State/
Remove the com.Apple.Preview folder. This should resolve the issue when attempting to launch Preview after quitting the application from the above answer or shutting down.