Updated Tips and Tricks (textile)
@@ -97,56 +97,3 @@ export UNDERLINE='\\033[4m'
|
|||||||
</pre>
|
</pre>
|
||||||
<img src=http://0xabad1dea.net/img/todo-highcolors.png>
|
<img src=http://0xabad1dea.net/img/todo-highcolors.png>
|
||||||
|
|
||||||
*Syncing your todo.txt with ownCloud.*
|
|
||||||
|
|
||||||
*Requirements:*
|
|
||||||
OwnCloud instance URL & credentials.
|
|
||||||
OwnCloud sync client for method 1
|
|
||||||
davfs2 support for method 2
|
|
||||||
|
|
||||||
|
|
||||||
*Method 1: ownCloud Sync Client*
|
|
||||||
|
|
||||||
1. Install the ownCloud Sync Agent. Directions "here":http://owncloud.org/sync-clients/
|
|
||||||
2. Copy all of your todo.txt scripts, text files, and add-ons to a directory within the
|
|
||||||
default ownCloud sync directory. (Optionally you can create a hard link to the own cloud
|
|
||||||
directory but sym links do NOT work with the ownCloud sync client at this time).
|
|
||||||
3. Follow the process described in "Access todo.sh from anywhere in the file tree" and
|
|
||||||
"Avoid typing todo.sh every time"
|
|
||||||
|
|
||||||
*Notes:*
|
|
||||||
- Do this on all the devices where you would like your todo list available.
|
|
||||||
|
|
||||||
- If the sync client is not an option or if it doesn't work so well for your distro
|
|
||||||
try method 2.
|
|
||||||
|
|
||||||
*Method 2: WebDav mount.*
|
|
||||||
|
|
||||||
1. Install davfs2 support on your distro of choice. Directions for the command line and
|
|
||||||
the gui for most operating systems can be found "here":http://doc.owncloud.org/server/4.5/user_manual/connecting_webdav.html
|
|
||||||
|
|
||||||
2. Follow steps 2 and 3 of Method1.
|
|
||||||
|
|
||||||
3. A few options to consider:
|
|
||||||
|
|
||||||
- Make the file system mount automatically using fstab.
|
|
||||||
- Use the guid and uid parameters on fstab to set group ownership and then add
|
|
||||||
users you'd like to give todo.txt access to instead of relying on the user
|
|
||||||
who mounts the webdav.
|
|
||||||
- Don't forget the 'exec' parameter. By default webdav won't let you
|
|
||||||
execute any files even if you change their file permissions!
|
|
||||||
- Read the mount.davfs2 man page for more exciting and useful options!
|
|
||||||
|
|
||||||
*Special Note!:*
|
|
||||||
|
|
||||||
You will receive errors when you try any of the todo.txt features that require in-place
|
|
||||||
editing of files. You may receive an error like "sed: cannot rename /todo.txt:
|
|
||||||
I/O error. To insure you don't recieve any errors, and can continue to happily use
|
|
||||||
ownCloud to sync your todo lists, disable file locks in davfs2.conf.
|
|
||||||
|
|
||||||
Set use_locks to 0 in /etc/davfs2/davfs2.conf:
|
|
||||||
<pre>
|
|
||||||
#use_locks 1
|
|
||||||
use_locks 0
|
|
||||||
</pre>
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user