DaemonForums  

Go Back   DaemonForums > Miscellaneous > Guides

Guides All Guides and HOWTO's.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 30th March 2017
e1-531g e1-531g is offline
ISO Quartermaster
 
Join Date: Mar 2014
Posts: 628
Default Taskwarrior: Sharing task list between Windows and OpenBSD

productivity/taskwarrior
Wikipedia: Taskwarrior
Quote:
Taskwarrior is an open-source, cross platform time and task management tool. It has a command-line interface rather than a graphical user interface.
A shared tasks list is stored on the FAT32 filesystem. The filesystem is visible as F:\ drive. Shared list path is f:\shared_task_list, however Taskwarrior inside Cygwin accesses shared list by path /shared_tasks.

OpenBSD has access to shared list directory by path /mnt/fat_part_windows/shared_task_list/.


Install and configure Taskwarrior inside Windows 8.1 64-bit
Taskwarrior can be used by Windows users inside Cygwin environment.

1. Download and install Cygwin
Head to https://cygwin.com/install.html and download setup-x86_64.exe.
Execute setup-x86_64.exe.
Follow instructions up to "Select Packages".
Here change View to Category, then find and click following packages:
  • All->Editors->Vim
  • All->Utils->task
Follow further instructions displayed by an installer to complete an installation.

2. Create directories
  • C:\home
  • F:\shared_task_list
3. Execute Cygwin environment by finding and clicking on it inside Start screen.

4. Edit /etc/fstab inside Vim editor.
# vim /etc/fstab
add following lines, save changes, quit:

f:\shared_task_list /shared_tasks fat32 binary 0 0
c:\home /home ntfs binary 0 0

5. Edit /etc/nsswitch.conf
# vim /etc/nsswitch.conf
Uncomment following line, save, quit:
db_home /home/%U

6. Restart Cygwin
$ exit
execute Cygwin again

7. Create Taskwarrior's config for every Windows account:
Login to every Windows user account you are going to use, execute Cygwin, then execute Taskwarrior:
$ task
accept default config file.
Edit ~/.taskrc:
$ vim ~/.taskrc
Change data.location line to:
data.location=/shared_tasks

8 Extra step: Some minimal hardening:
$ chown ${USER} ~/
$ chmod go-rwx ~/



OpenBSD-current (OpenBSD 6.1-beta)
1. Install Taskwarrior
Execute as root:
# doas pkg_add taskwarrior

2. Execute as everyday user account:
$ task
and accept default config file.
Edit ~/.taskrc:
$ vim ~/.taskrc
Change data.location line to:
data.location=/mnt/fat_part_windows/shared_task_list/
__________________
Signature: Furthermore, I consider that systemd must be destroyed.
Based on Latin oratorical phrase

Last edited by e1-531g; 31st March 2017 at 10:58 AM. Reason: nsswitch fix, version change
Reply With Quote
Reply

Tags
calendar, organizer, productivity, taskwarrior

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Emacs Org-mode vs Taskwarrior e1-531g General software and network 5 26th October 2017 04:31 PM
How to forward OpenBSD mailing list? fender0107401 OpenBSD General 2 12th December 2010 03:56 PM
OpenBSD misc mailing list troll J65nko Off-Topic 11 6th November 2010 08:07 PM
OpenBSD clarifying the role of OpenBSD's tech@ mailing list ocicat News 0 28th August 2010 04:54 AM
OpenBSD mailing list Mr-Biscuit Off-Topic 4 2nd May 2010 04:06 PM


All times are GMT. The time now is 11:08 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick