Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Under Snow Leopard and Spaces you could define which Space an app should automatically launch in, including the ability to indicate that it should be visible in every space.

My apps are respecting the settings I applied before upgrading to Lion -- for example, iChat, QuickTime Player, and my Billings time tracker show up in all Spaces, Chrome always launches in space 2, etc. -- but there no longer seems to be any way to modify them or add these kinds of defaults for new apps.

Is there any way to make these assignments with Mission Control?

share|improve this question
    
I'd like to see an answer that does not involve Dock. A raised comment under apple.stackexchange.com/questions/17759/… notes that there's no longer an overview of all bound applications. –  Graham Perrin Aug 8 '11 at 6:15
add comment

3 Answers 3

up vote 8 down vote accepted

You can do this from the dock.

Switch to the space you want to pin your app to, then access the options menu from its dock icon:

enter image description here

share|improve this answer
1  
Oh sure, post after me then think you'll get more rep because of the snazzy screenshot! Well, works for me. +1 –  ghoppe Jul 27 '11 at 20:39
    
Ha, as I was uploading the screenshot the little banner appeared, and I said "Knew I shouldn't have wasted time on this." Thanks:P –  Gauzy Jul 27 '11 at 20:45
    
Awesome, thanks. As luck would have it, 90 seconds after asking the question I noticed a tweet from Matt Gemmell that had the answer, so then I created a screen shot for answering my question but got here too late to answer it myself! –  Matthew Frederick Jul 27 '11 at 20:55
add comment

Right-click (control+click) on the dock icon, Options > Assign To

share|improve this answer
    
Right click is control+click –  Jonathan. Jul 28 '11 at 0:21
    
Ho Ho! So you are right, brain fart fixed. –  ghoppe Jul 28 '11 at 0:42
add comment

No longer possible with System Preferences

It seems impossible to use Mission Control or any other Apple-provided preference pane to change application—space bindings, or present an overview of bindings.

Using Terminal to view or change bindings

An overview of application—space bindings

Command:

defaults read com.apple.spaces

Where an application is listed without the UUID of a desktop space, this seems to mean desktop 1.

(I guess that the permanent desktop requires no UUID.)

Example

[macbookpro08-centrim:~] gjp22% defaults read com.apple.spaces
{
    "app-bindings" =     {
        "com.apple.preview" = "7EA54FE0-EB71-444A-8075-C6A2D7000305";
        "com.apple.safari" = AllSpaces;
        "com.barebones.textwrangler" = "";
    };
    spaces =     (
                {
            type = 0;
            uuid = "7EA54FE0-EB71-444A-8075-C6A2D7000305";
        },
                {
            type = 0;
            uuid = "CD0AFD50-7902-41EC-A4C4-C313B04CD2BB";
        }
    );
}

Considering the arrays in that example, I would not attempt to change or delete individual items within an array using Terminal alone. From the defaults(1) Mac OS X Manual Page:

… Defaults can be structured in very complex ways, making it difficult for the user to enter them with this command. …

A relatively fresh start

To delete bindings without losing spaces:

  1. quit everything other than Finder and Terminal

  2. in Terminal, command:

    defaults delete com.apple.spaces app-bindings
    
  3. make no attempt to use the Dock to set a binding

  4. log out.

Hint

If you use Dock too soon to set a binding, you may find that everything you deleted from preferences for Spaces is automatically rewritten to that preference file.

Information may be cached somewhere. I don't know where.

Dock menus accessibility

My experience of VoiceOver with Dock is that whilst Dock menus are accessible, the routine for changing a binding would be not particularly user-friendly.

Alternatives

There's scope for a third party developer to write an application, maybe a preference pane, for easier overview/management of bindings.

share|improve this answer
    
I spent so long looking for this information. This is useful to set Space assignments for menubar applications (i.e. those without a dock icon to right-click on.) Thank you so much. –  elliottcable Sep 2 '13 at 23:41
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.