This tutorial will show you how to share webpages or copy text directly into your org files without opening any apps.
I prefer this because of how seamless it is. The phone screen is never fully taken over to prevent context switching. Just keep browsing or whatever and know that you haven't forgotten about 'x'.
Install from Play Store ($11.61)
- Hacker's Keyboard
- Termux
- Termux:Float
- Termux:Boot
- Tasker
- AutoShare
- AutoTools
All files go into the termux home directory unless otherwise specified.
Obviously, I meant for these files to be in a specific order but gists don't allow that. Just do the Termux setup first and the Tasker setup last and everything else is pretty independent.
Once finished, the 'AutoShare' button in the share menu will set off the link capture. For the note capture, select some text and hit the three dots next to 'Copy' and 'Paste' and click 'AutoShare'.
Updates on Jan 26, 2021
Added a cleanup hook for org capture. This will prevent an org-protocol capture from overwriting any changes made to IN.org from another device or daemon.
Both links and notes go into the same top-level headline in order to get a better timeline view of your captures.
Added a grep to find the url in
org-link.sh
. Some applications share text along with a url, this grep will try to pull out what most looks like a url. This involved adding a task to the tasker instructions.Removed 'termux-wake-lock' from boot script. This is not necessary unless you want to use sshd. The screen will always be unlocked when you press a share button.