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

10.5: Kill the Dock to possibly resolve issues with Spaces System 10.5
I was having major problems with Spaces today, and I didn't want to reboot my machine because I had a ton of tabs open in Safari. Spaces would not respond to Command-Tab or switching apps with the Dock. I was only able to activate Spaces with my hot key.

I looked through the processes, and there was nothing whose name contained spaces. I turned off Spaces in System Preferences and turned it back on. That didn't help either. I even ran the Spaces.app, but there is no way to force quit it. SO I went out on a limb and tried an old reliable method for fixing Mac window weirdness: I killed the Dock's process, causing it to restart. Viola! Spaces works fine now.

Apparently Spaces is merely a new feature of the OS X Dock. So if you find yourself in this situation, here's what to do:
  1. Launch Terminal, in Applications » Utilities.
  2. Type killall Dock.
The Dock will restart, and you'll be (hopefully) back in business with Spaces.

[robg adds: I had this happen last week -- I sent some windows to a number of spaces, and they just vanished. Each app's Window menu showed the windows, but they wouldn't activate. The Dock's contextual menus did the same. In Spaces' F8 mode, the windows were gone. Killing the Dock brought all the windows back (into space 1, but at least they came back). Note that the "cleanest" way to restart the Dock is to logout and login; alternatively, you can also kill it in Activity Monitor without using Terminal.]
    •    
  • Currently 4.17 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (6 votes cast)
 
[46,529 views]  

10.5: Kill the Dock to possibly resolve issues with Spaces | 12 comments | Create New Account
Click here to return to the '10.5: Kill the Dock to possibly resolve issues with Spaces' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Kill the Dock to possibly resolve issues with Spaces
Authored by: badcarl on Nov 14, '07 02:07:31PM

On the Apple discussion forums I found another tip which is to open/close Font Book. I know it sounds crazy, but one reason that spaces fails is due to corrupted fonts, which opening Font Book happens to fix.



[ Reply to This | # ]
10.5: Kill the Dock to possibly resolve issues with Spaces
Authored by: derPlau on Nov 14, '07 02:29:29PM

When I've had similar problems with Spaces, I've just used Ctrl-<arrow> to switch to a new space; this always seems to restore the expected behavior with Cmd-Tab.



[ Reply to This | # ]
10.5: Kill the Dock to possibly resolve issues with Spaces
Authored by: finque on Nov 14, '07 02:30:35PM

I had a similar issue with Safari last night, but all I did was hide Safari and then click its icon in the Dock to get my windows to reappear.

YMMV.



[ Reply to This | # ]
10.5: Kill the Dock to possibly resolve issues with Spaces
Authored by: Anonymous on Nov 14, '07 05:18:58PM

Just a note-I think turning spaces on in system preferences just changes a value in the dock p-list, namely "workspaces", from 0 to 1. I haven't tried this out, but it makes sense.



[ Reply to This | # ]
This *causes* issue for my Spaces mouse shortcut
Authored by: errorik on Nov 14, '07 07:02:43PM

I have my Mouse 6 button (thumb button on a Blue tooth Logitech MX1000 Laser) setup to activate spaces (System Preferences > Spaces).

However, when I run the 'killall Dock' command to force changes I have made to my Dock/Stacks my mouse can no longer activate Spaces.

I can navigate via keyboard just fine.

Anyone else get the same?

A reboot fixes it for me.



[ Reply to This | # ]
10.5: Kill the Dock to possibly resolve issues with Spaces
Authored by: wjv on Nov 15, '07 01:35:42AM

Off-topic, but might be of use for the OP: With Safari 3, there's no longer a need to worry about closing it when you have lots of windows/tabs open. Upon restart, just choose "Reopen All Windows From Last Session" from the History menu.



[ Reply to This | # ]
10.5: Kill the Dock to possibly resolve issues with Spaces
Authored by: avocade on Nov 15, '07 11:02:28PM

This works great. And with SafariStand you can set it to automatically restore the last session on launch.

---
Sanity Is Statistical



[ Reply to This | # ]
A language hint
Authored by: fmen on Nov 15, '07 01:59:56AM

Definitively off topic, but a bit of a language hint:

You used the word: Viola! Is this an english word? As my first language is french, it looks to me like a french word. But I do think that you meant: Voilà!

Voilà is the french word to say: there it is

Viola has a very different meaning, it's actually a conjugated verb. It can come, for example, from the phrase: Il la viola. That means: he raped her.

Be careful that exchanging two letters lead to a very different meaning... And that's an error that I see quite a lot of time on english sites.



[ Reply to This | # ]
A language hint
Authored by: garythemacguy on Nov 15, '07 06:27:30AM
I was thinking about commenting on this too, as I also see it quite often. In English, a viola is a member of the violin family. eg: http://en.wikipedia.org/wiki/Viola

[ Reply to This | # ]
10.5: Kill the Dock to possibly resolve issues with Spaces
Authored by: Perceval on Nov 15, '07 10:36:14AM

You could have restarted and chosen "Reopen All Windows From Last Session" in the Window menu in Safari to get your tabs back.



[ Reply to This | # ]
10.5: Kill the Dock to possibly resolve issues with Spaces
Authored by: asmeurer on Nov 15, '07 05:27:31PM

It really bugs me that Apple puts the App switcher, Expos, Dashboard, and Spaces all in the Dock. If one of these services freezes, it is impossible to use the other services to try to work around it or even to restart the Dock. Furthermore, the Dock can't be force quit by normal means (i.e., the Force Quit item in the Apple menu). A hint on creating a system wide shortcut to reboot the Dock even when it is frozen would be a boon. I haven't checked though, so maybe one already exists.



[ Reply to This | # ]
10.5: Kill the Dock to possibly resolve issues with Spaces
Authored by: metropical on Mar 15, '09 07:01:32AM

thanks for this. I've had a different reoccurring problem that this fixes nicely.
Some times app switcher fails. Usually I'd restart. This is much faster.



[ Reply to This | # ]