Emacs: Setting up MobileOrg and dropbox

Setting up MobileOrg on my iPhone was a little bit of fiddle, so I wanted to share the little tidbit I didn’t find when googling my mistakes.

The steps to follow is outlined in the MobileOrg manual: https://mobileorg.github.io/documentation

When setting up MobileOrg (in init.el) – don’t change the “org-mobile-directory” to something else than Apps/MobileOrg (the dropbox path can be different though):
(setq org-mobile-directory “~/Applications/dropbox/Apps/MobileOrg”)
The manual even states so:

  • upon successful login, a new folder, ~/Dropbox/Apps/MobileOrg will automatically be created.
  • You should edit your Org mode configuration to contain something like this:
;; Set to the location of your Org files on your local system
(setq org-directory "~/org")
;; Set to the name of the file where new notes will be stored
(setq org-mobile-inbox-for-pull "~/org/flagged.org")
;; Set to <your Dropbox root directory>/MobileOrg.
(setq org-mobile-directory "~/Dropbox/Apps/MobileOrg")

Link: https://mobileorg.github.io/documentation/#browsing-your-org-files

I tried setting the org-mobile-directory to something else, which resulted in successful sync but empty list of files. It seems like despite the possibility to change the org-mobile-directory, the iPhone app expects it to be that folder. Which also means: don’t change the value of “Index File” in the iPhone settings. The iPhone app knows where to look for the index.org file.

If you want to sync whole directories, just state them like this:

(setq org-mobile-files (quote (“~/ownCloud/emacs/”


Happy org-moding!

About Haridasi

integrity - the state of being whole, entire, or undiminished.
This entry was posted in Technology and tagged . Bookmark the permalink.

One Response to Emacs: Setting up MobileOrg and dropbox

Leave a Reply

Your email address will not be published. Required fields are marked *