Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Manually switch to next desktop picture in shuffle mode' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Manually switch to next desktop picture in shuffle mode
Authored by: Sesquipedalian on Nov 17, '09 09:12:15PM
robg adds: I believe a "friendlier" version of this command is killall -QUIT Dock, which tells the Dock to quit nicely"

Actually, that is completely false, Rob. Contrary to expectation, adding the -QUIT parameter to the killall command does the exact opposite of nicely telling the application to quit: instead, it simply crashes the application!

When used on normal applications, such as TextEdit, iChat, etc., this provokes a crash report from the operating system like this:

TextEdit quit unexpectedly.

Click Reopen to open the application. Click Report
to see more detailed information and send a report to

(Ignore) (Report...) (Reopen)
The only reason why using killall -QUIT Dock doesn't provoke a crash report is that the Dock is a special and essential application that Mac OS X is set to relaunch immediately---and silently---if it ever crashes.

However, there is a way to do what you wanted this to do, without typing a full osascript command. If anyone is looking for a fast and easy way to use the command line to politely tell an application to quit, please see this hint.

[ Reply to This | # ]