Checkpoint master
authorJude N <jude@pwan.org>
Sun, 9 Aug 2020 22:31:53 +0000 (18:31 -0400)
committerJude N <jude@pwan.org>
Sun, 9 Aug 2020 22:31:53 +0000 (18:31 -0400)
content/hints/orgmode.rst [new file with mode: 0644]
pelicanconf.py

diff --git a/content/hints/orgmode.rst b/content/hints/orgmode.rst
new file mode 100644 (file)
index 0000000..68009c4
--- /dev/null
@@ -0,0 +1,105 @@
+#############
+How I orgmode
+#############
+
+:date: 2020-07-13
+:tags: hint, orgmode, orgzly, owncloud
+:category: hints
+:author: Jude N
+
+This post covers how I'm keeping my `orgmode`_  notebooks synced between my desktop and phone.  There are also some tips on how I resolve merge conflicts in my notebooks and other hints for using Orgzly.
+
+Setup
+=====
+
+.. uml::
+
+    node workstation {
+      folder "orgs" as workstation_orgs
+    }
+    
+
+    node laptop  {
+      folder "orgs" as laptop_orgs
+    }
+
+    cloud ownCloud {
+      folder "orgs" as owncloud_orgs
+    }
+    
+    node phone {
+      node Orgzly {
+        folder notebooks
+      }
+    }
+
+    workstation_orgs - owncloud_orgs
+    owncloud_orgs - notebooks
+    owncloud_orgs -- laptop_orgs
+
+(The `Pelican PlantUML plugin`_ is pretty nice.)
+    
+Owncloud Server
+---------------
+
+Set up an `owncloud`_ server somewhere where both my desktop and phone can reach it.
+
+Desktop: Owncloud client and git repo
+-------------------------------------
+
+On the desktop, install the owncloud client and configured ~/owncloud to be shared with the server.  Also set up an ~/owncloud/org directory and add an ~/org symlink that points to ~/owncloud/org.  This is mostly to make it easier to access the org files.
+
+Update your emacs and/or vi configs to support orgmode.  I'll update the org files in the editor that's more convenient at the time, though I'll use emacs if I need to update the deadline of a task.
+
+I've also added .git to the owncloud and did a 'git init' in the ~/owncloud/org directory.  This repo will be used in the 'Handling Conflicts' section below.
+
+Create or move your notebook files into the ~/owncloud/org directory and make sure they have a '.org' extension.  Verify that the org files are being synced to the owncloud server.
+
+Make sure your owncloud client is set to start when your desktop reboots.
+
+Phone: Owncloud client and Orgzly
+---------------------------------
+
+Install the `owncloud client`_ on your phone.  Configure it to sync with the owncloud server and verify it's syncing the notebook files from the server.
+
+Also install and configure  `Orgzly`_.  For the syncing the repositories `use WebDAV` with the URL https://<your-owncloud-server>/remote.php/webdav/org.  I originally tried using local storage, but I couldn't get that to work.
+
+Then for each of the notebooks, `set the link` to https://<your-owncloud-server>/remote.php/webdav/org.  Update one of your notebooks with Orgzly and verify the change is synced to your desktop.
+
+
+Day-to-day Usage
+================
+
+Throughout the day, I'm usually using Orgzly, checking the Agenda tab for overdue and upcoming tasks, and adding new tasks and notes.
+
+I'm access the Notebooks on the desktop less frequently, mostly archiving completed tasks, and adding links and notes to research tasks.  I also tend to move tasks between notebooks from the desktop.
+
+
+Handling Recurring Events
+-------------------------
+
+I ignore the scheduled time setting in Orgzly, and only set the deadlines with warning times.  Then I treat the notification that's generated from warning time passing as the time I should start on a task.
+
+For repeating events, I use the '++' modifier for tasks.  This way if I miss a few iterations of a task it will add the next iteration in the future.  
+
+I'm also try to set an appropriate warning period when setting tasks.
+
+It took me a while to figure out I could tap on the date itself to bring up a calender instead of being limited to the 'today', 'tomorrow', and 'next week' options.  <shrug>.
+
+Handling Conflicts
+------------------
+Sometimes when I'm updating the notebooks on both my desktop and phone, orgzly will say there's a conflict.
+
+When this happens I go to my desktop and make a checkpoint commit of any outstanding changes on the ~/owncloud/org repo.  Then I push the Notebook from Orgzly (the Cloud with the 'up' arrow.
+
+Then on the desktop, I do a 'git diff' and adjust Notebook as needed.
+
+Usually this includes adding some new notes or adjusting some deadlines.  
+
+.. _orgmode: https://orgmode.org/
+.. _orgzly: http://www.orgzly.com/
+.. _owncloud: https://owncloud.org/
+.. _owncloud client: https://owncloud.com/apps/
+.. _set the link: http://www.orgzly.com/help#4268ee7
+.. _use WebDAV: http://www.orgzly.com/help#sync-repo-webdav
+.. _Pelican PlantUML plugin: https://github.com/getpelican/pelican-plugins/tree/master/plantuml
index d7a296d..1bb7a66 100644 (file)
@@ -44,3 +44,5 @@ THEME = "../pelican-themes/pelican-mockingbird"
 
 DISPLAY_PAGES_ON_MENU = True
 
+PLUGIN_PATHS = ['../pelican-plugins']
+PLUGINS = ['plantuml']