Sync Dopus Configuration

I'm also using dotfiles to sync DOpus settings between devices with dotbot.

Here's how I set it up:

  • dotbot creates a symlink from ~/dotfiles/dopusdata to ~/AppData/Roaming/GPSoftware/Directory Opus/
  • All files of DOpus's /dopusdata (alias) folder are in the dotfiles repo; just some are excluded using .gitignore, based on what seemed to better not be synced, see below.
  • I excluded files with
    • secrets (except /prefs/smtp/email, which is in prefs.oxc that can't really be excluded. However, I don't use the email setting anyway.)
    • GUIDs and other identifiers that seem to be unique per Windows installation
    • binary data (no idea what those contain, and whether they're unique per device)
    • Settings and data that I want to maintain separately per device, e.g., Favorites, Smart Favorites, and the default lister settings.
      • I created a hard link from the actual ConfigFiles/favorites.ofv to ConfigFiles/favorites-device1.ofv, to still have a backup in the git repo. However, that's not used by DOpus directly. Hard link was created using mklink /H favorites-device1.ofv favorites.ofv. I did the same for Layouts/System/default.oll.

I did set that up a couple of days ago, and so far it works well to sync settings. I always Exit DOPus before performing git pull.

The only thing I realized is not synced are the "favorite preferences" you can set in the preferences view, i.e., the feature to pin preferences to the top of the preferences view. Those might be stored in /dopuslocaldata or /dopusglobaldata, which I do not sync currently.

I'd also like to see an update of HOW TO: Backup or locate your Opus configuration (Advanced), as it seems incomplete (and outdated?).

My .gitignore:

# contains secrets
ConfigFiles/ftp.oxc
ConfigFiles/proxy.oxc

# contains guid
ConfigFiles/archives.oxc
ConfigFiles/exploreroverride.oxc
ConfigFiles/shellprops.oxc

Formats/shell.off
Formats/system.off

# binary data
Formats/system.bin
dopus.dat

# local data
ConfigFiles/favorites.ofv
ConfigFiles/smartfav.osf*
Layouts/System/default.oll

# other files
userdata.omd

# directories
Collections/
Logs/
Themes/
UISpacings/
2 Likes