Learn to use Dropbox to sync your Blender Settings across all your machines

If you use Blender on multiple machines, such as a desktop machine and a laptop, then chances are you get tired of constantly update your settings to match the other machine. This is particularly annoying anytime a new feature comes out and you change your default settings. Suddenly both machines are out-of-sync again.

In my studio, I have three machines. A 27″ iMac and a 15″ Retina Macbook Pro both running Mac OS X Mountain Lion, and then a custom desktop box running Ubuntu Linux. I use Blender on all of them. But due to the nature of constantly updating and improving my default configurations, I’m constantly finding the machines to have slightly different settings. More than anything, this is annoying for custom hotkeys.

For a while I simply stopped customizing my settings so that I wouldn’t have to worry about it being out of sync. Then I decided to solve this once and for all by making all of the machines sync automatically.

This is actually a little easier than it sounds.

Step 1: Use Dropbox

If you don’t already use Dropbox in your daily life then you’re missing out. It is an incredible piece of software that has become ingrained in daily life here at CG Cookie. We use it for everything. Seriously. It allows you to keep all of your files in sync across multiple machines, so long as those files are within the Dropbox folder.

 

dropbox-logotype-web@2x

If you’re not already familiar with Dropbox, then check out their tour HERE. Otherwise, I’m going to assume you already have it and know how to use it.

Step 2: Move Blender Config to Dropbox

Anytime you save your settings in Blender, it saves out specific files in a pre-defined location. This is also true for all user-installed add-ons, custom themes, etc. This location is known as the Blender Config folder and can be found at these locations:

Mac OS X: /Users/{user}/Library/Application Support/Blender/

Linux: $HOME/.config/blender/

Windows Vista/7/8 : C:\Users\username\AppData\Roaming\Blender Foundation\Blender\

Windows XP: C:\Documents and Settings\username\Application Data\Blender Foundation\Blender\

First you’ll need to find the directory above. In recent version of Mac OS X, and in Windows, the Library/ and AppData\ directories are hidden. But you can access them from the location bar in Windows by typing in the exact path, and in OS X by pressing Cmd+G from your home user home and typing “Library”.

Once you have found the Blender/ directory, we need to move it into the Dropbox. In my case, I’ve moved it to Dropbox/Blender-Config/Blender/

Note: while doing this don’t do ANYTHING with Blender. If you open or save anything with Blender during this move it’ll create a new settings directory, which you’ll have to remove.

We are now ready to do the real magic, making symbolic links.

 

Step 3: Make Symbolic Links

If you’re not familiar with symbolic links, then you’re in for a treat! Symbolic links act a bit like shortcuts, but they’re better. When you create a symbolic link from one location to another, it creates a connection between the two locations, making your computer think they both go to the exact same place, when in reality only the original location is real.

This is useful because it means we can store our Blender config directory in Dropbox and yet make Blender think it’s still in the original location.

For this tutorial, I’m going to show you how to create the symbolic links via command line on Mac OS X and Linux. If you’re on Windows then check out this tutorial from HowToGeek for the symbolic link portion:

To create the symbolic link first open a command prompt (on OS X use /Applications/Utilities/Terminal.app). Next do the following (be sure you’ve moved your Blender/ directory to Dropbox!):

 

cardboardbox_arrowsMac OS X:

cd Library/Application\ Support/

ln -s /Users/username/Dropbox/Blender-Config/ Blender

Linux: 

cd .config/

ln -s $HOME/Dropbox/Blender-Config/ Blender

That’s it! You should now have a symbolic link from the original config location to Dropbox. You can test this by going to the original location and checking for a Blender/ directory. Opening that directory will then take you to Dropbox/Blender-Config/Blender/. This also means that now when Blender saves out any settings, Blender will think it’s saving them to the normal location, when it’s actually saving all settings to Dropbox. Nifty huh?

But wait, there’s more.

Step 4: Repeat for Each Machine

You now need to recreate the above symbolic link for each of your machines that you want synced. Otherwise the syncing will not do any good.

Once you have done this you are ready to go!

Step 5: Live in Peace

With all machines now synced with Dropbox, and the symbolic links in place for each machine, your Blender settings will automatically be synced. This includes all add-ons you install, any themes your create, any layouts you change, and even any custom hot-keys you add.

Enjoy!

 

computers-synced

 

FAQs:

Q: Can I use other syncing software, such as Sugar Sync with this technique?

A: You sure can! Any software that keeps files in sync between multiple machines should do the trick. The symbolic links are what make this work, not the syncing software specifically.

 

 

Discussion

37 Responses to “Keeping Blender Configs Synced Across Multiple Machines with Dropbox”
  1. Sam Schad
    Posts: 2

    Yes! Great that you should post about this. Been doing this for about six months myself. What a time-saver!

    #
    1
    Jan 31, 2013 at 8:39 am
  2. Posts: 35

    Thanks Jonathan, This is really helpful I use multiple stations and I always end up adjust theme by hand..

    #
    2
    Jan 31, 2013 at 8:49 am
  3. Posts: 14

    Is not working for me.

    Got windows XP and theres no “roaming” directory

    #
    3
    Jan 31, 2013 at 9:31 am
    • Posts: 4

      In XP, it is “C:\Documents and Settings\\Application Data\Blender Foundation\Blender\”.

      #
      3.1
      Jan 31, 2013 at 9:38 am
      • Posts: 4

        That’s weird, it took out “username” in angle brackets…

        Anyways it is: “C:\Documents and Settings\username\Application Data\Blender Foundation\Blender\”

        #
        3.1.1
        Jan 31, 2013 at 9:39 am
      • Posts: 2949

        Thanks for this! I’ve updated the original post.

        #
        Jan 31, 2013 at 11:49 am
    • Posts: 4

      And btw, it’s “C:\Users\{username}\AppData\Roaming\Blender Foundation\Blender\” in Windows Vista/7.

      #
      3.2
      Jan 31, 2013 at 9:41 am
  4. Posts: 263

    Can I save a blend file in windows 7 and bring It into Ubuntu with no problems? Are there extra steps if I’m doing that?

    Jeremy
    (Sorry haven’t watched video yet if you answer that in the video)

    #
    4
    Jan 31, 2013 at 10:21 am
    • Posts: 7

      You shouldn’t have any problem at all opening a .blend file in Ubuntu that was created in Windows 7.

      #
      4.1
      Jan 31, 2013 at 10:47 am
    • Posts: 2949

      No problems at all! Blend files are OS independent.

      #
      4.2
      Jan 31, 2013 at 11:50 am
      • Posts: 53

        having just gotten over a severe ubuntu crash and having to port over everything to windows 7 makes this a great thing! having blender so open plateform is great! greeeeaaaat i tell you!

        #
        4.2.1
        Jan 31, 2013 at 9:30 pm
  5. Posts: 85

    I’ve got a Win7 system in both computers and am just a little confused as to what folder I connect to, to make Blender look there for start-up. I’ve got the move the config file to the Dropbox and select that as the “Pick Link Source” but I’m not sure what folder to click on for the “Drop As” folder and what mode to select once I do that. Anybody else on Windows 7 here?

    #
    5
    Jan 31, 2013 at 2:05 pm
  6. Posts: 10

    Kewl, never thought about this tip

    #
    6
    Jan 31, 2013 at 2:44 pm
  7. Posts: 10

    Kewl, never thought about this tip. Very clever

    #
    7
    Jan 31, 2013 at 2:44 pm
  8. Posts: 27

    Good idea with dropbox.

    I’m using git with github.com for my Dotfiles on my linux box – to sync and versioning my blender config files.

    #
    8
    Jan 31, 2013 at 4:04 pm
  9. Defiantly going to be doing this. I wasn’t sure it was possible or I’d have probably tried something like this awhile ago.

    #
    9
    Jan 31, 2013 at 8:24 pm
    • TFS
      Posts: 7

      Please its nearly the weekend. Don’t do it defiantly, take a cool pill and definitely do it :-)

      #
      9.1
      Feb 1, 2013 at 3:49 am
  10. Sweet stuff, I’m going to do this with my GoogleDrive.
    Thank Jonathan!

    #
    10
    Feb 1, 2013 at 3:25 pm
  11. D.S.
    Posts: 2

    I use this for my blender and minecraft files. I can play/work at home/work and never miss a beat.

    #
    11
    Feb 1, 2013 at 3:30 pm
  12. Posts: 3

    For Windows Vista, 7 and 8 the path is wrong. It’s:
    C:\Users\username\AppData\Roaming\Blender Foundation\Blender\

    #
    12
    Feb 2, 2013 at 9:32 pm
  13. Posts: 2

    If you are having trouble finding the directory on windows, you can open a explorer window (not Internet Explorer…) and just type in %appdata% in the directory box and press enter and you will be in the directory where the “Blender Foundation” folder is located.

    I believe this has worked since Windows Vista at least.

    #
    13
    Feb 7, 2013 at 11:24 am
    • Posts: 2

      I should add that the exact path can differ between windows versions (XP, Vista, 7, 8 etc…) and between different language versions and regions.

      It might also be configured to be in a completely different place if you are on a machine on a corporate network for example.

      #
      13.1
      Feb 7, 2013 at 11:27 am
  14. Posts: 32

    Great tip, very useful indeed.

    #
    14
    Feb 7, 2013 at 3:12 pm
  15. Posts: 12

    Never thought of doing this, but that’s ingenious!
    Great tip!

    #
    15
    Feb 9, 2013 at 5:22 pm
  16. Nikhil Salvi
    Posts: 1

    Thanks for the tip, Jonathan. Want to know what happens when we update Blender in Ubuntu and Windows? Does it affect the installation process or what?

    #
    16
    Feb 11, 2013 at 6:30 am
  17. noko
    Posts: 2

    >2012
    >using macs

    #
    17
    Mar 6, 2013 at 10:43 am
  18. Posts: 1

    I’m on a mac and Blender is not in the Application Support Folder. I don’t know how to find the Blender/directory. Help!

    #
    18
    Mar 16, 2013 at 4:44 pm
    • Posts: 454

      I don’t use a mac but try searching your hard drive for blender.
      -Alex

      #
      18.1
      Mar 17, 2013 at 6:01 am
    • Posts: 71

      There are two ‘Library’s on a Mac. Look in both. Mine was in Users/myname/Library/
      That is different from /Library (or Macintosh HD/Library).

      #
      18.2
      Apr 6, 2013 at 10:46 am
  19. Mark T
    Posts: 1

    On a Mac, I copied the path to the new location, entering it as:

    ln -s /Users/mthrapp/Desktop/DROPBOX – ESAEO/Dropbox/- LIBRARY/Blender Library/- Config/Blender

    And the Terminal returns “No such file or directory”. I copied it verbatim. What am I missing

    #
    19
    Mar 19, 2013 at 9:02 am
    • Posts: 71

      Sounds kind of long. Not sure how you have Dropbox set up on your Mac, but on mine, I don’t go through the desktop. My command on your computer would be ln -s Users/mthrapp/Dropbox/Blender-Config/Blender
      Make sure though, you do that after cd Library/Application\ Support/

      #
      19.1
      Apr 6, 2013 at 10:42 am
  20. Posts: 1

    ATTENTION Mac users, I was having the “No such file or directory” Terminal message too, but it was in response to the cd Library/Application\ Support/ command, not to the ln -s /Users/username/Dropbox/Blender-Config/Blender one.

    It appears the first command line was missing a part, and I actually put my actual username in both of them (only small letters), so the whole thing as it worked for me was:

    cd /Users/myactualusername/Library/Application\ Support/
    ln -s /Users/myactualusername/Dropbox/Blender-Config/Blender

    And only that made the alias folder, none of several other options had worked first. Some others created a sort of “alias blanc file”, but it never really worked and the test suggested in the cgcookie instructions never took me to the original folder in Dropbox, and it does now. So don’t be misguided, this worked for me.

    Hope it helps.

    Best,

    Demian

    #
    20
    Apr 13, 2013 at 7:04 pm

Leave a Comment

You must be logged in to post a comment.