[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
howtos:taskwarrior [2012/09/04 20:35 (UTC)] – [Managing Your Todo List] Due Dates Formats sycamorexhowtos:taskwarrior [2012/09/26 00:49 (UTC)] (current) – deleted page - moved to the howtos:general_admin section mfillpot
Line 1: Line 1:
-<!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> 
-====== Todo Lists in TaskWarrior ====== 
  
-[[http://taskwarrior.org/projects/show/taskwarrior|Taskwarrior]] is a powerful command-line todo list manager which can be installed from [[http://slackbuilds.org/repository/13.37/office/task/|SlackBuilds.org]]. Please note that it depends on [[http://slackbuilds.org/repository/13.37/development/lua/|Lua]]. 
- 
-===== Managing Your Todo List ===== 
- 
-You can use TaskWarrior in 2 ways: 
- 
-1. By invoking the ''Task Shell'' and issuing ''TW'' commands: 
- 
-<code>% task shell 
-task 2.1.1 shell 
- 
-Enter any task command (such as 'list'), or hit 'Enter'. 
-There is no need to include the 'task' command itself. 
-Enter 'quit' (or 'bye', 'exit') to end the session. 
- 
-task></code> 
- 
-2. By typing ''TW'' commands directly from a system shell (eg. Bash) preceded with the ''task'' command. This is the approach we are going to take in this tutorial. In order to limit the amount of typing we could create a shell alias. If you use Bash, please edit (or create) the following file ''~/.bashrc'': 
- 
-<code>alias t=task</code> 
- 
-In this HOWTO we are going to use the full ''task'' command. 
- 
-=== Adding Tasks === 
- 
-<code>% task add Email Bob     
-Created task 1. 
-% task add priority:H Book a ticket 
-Created task 2.</code> 
- 
-We have just created 2 tasks with the second one being of high priority. 
- 
-=== Adding Due Dates === 
- 
-<code>% task 1 modify due:09/09/2012 
-% task 4 modify due:today 
-% task 5 modify due:3days</code> 
- 
-=== Displaying Tasks === 
- 
-<code>% task 
- 
-ID Project Pri Due        A Age Urgency Description   
-                                    Book a ticket 
-             09/09/2012               Email Bob     
- 
-2 tasks</code> 
- 
-Please note that because of high priority, task 2 is at the top of the list. There are a few ways you can list your tasks: 
- 
- * task 
- * task minimal 
- * task ls 
- * task list 
- * task long 
- 
-Each method differs in terms of the amount of displayed information. 
- 
-=== Starting a Task === 
- 
-<code>% task 1 start</code> 
- 
-=== Marking Tasks as Done === 
- 
-<code>% task 2 done 
-Completed task 2 'Book a ticket'. 
-Completed 1 task. 
-% task ls 
- 
-ID Project Pri Description 
-             Email Bob 
- 
-1 task</code> 
- 
-=== Deleting Tasks === 
- 
-<code>% task 1 delete</code> 
- 
-Alternatively, you can ''undo'' the task you've just created: 
- 
-<code>% task undo</code> 
- 
-=== Duplicating Tasks === 
- 
-We have got the following task: 
- 
-<code>ID Project Pri Due A Age Urgency Description      
-                  3s       6 Phone Lennart about the code</code> 
- 
-You can duplicate the task with some modifications 
- 
-<code>% task 4 duplicate /Lennart/Linus/</code> 
- 
-<code>ID Project Pri Due A Age Urgency Description      
-                  1m       6 Phone Lennart about the code 
-                  7s       6 Phone Linus about the code</code> 
- 
-=== Modifying Tasks === 
- 
-You have just realised that one of your tasks contains a spelling mistake: 
-<code>ID Project Pri Due A Age Urgency Description                   
-... 
-                   16s       0 Install Slakware on the lappy</code> 
- 
-We can modify an existing task: 
- 
-<code>% task 6 modify /Slakware/Slackware/g</code> 
- 
-<code>ID Project Pri Due A Age Urgency Description                                
-                 14m       6 Phone Lennart about the code               
-                 14m       6 Phone Linus about the code                 
-                   43m       0 Email Bob 
-                   33m       0 Install Opera                              
-                   31m       0 Upgrade Angband 
-                   12m       0 Install Slackware on the lappy             
-                    6m       0 Create a SlackBuild for my new program 
-                    4m       0 Buy a present for Billy                    
-                    4m       0 Test my SlackBuilds on Slackware 14 
-10                    2m       0 Feed the dog                               
-11                    2m       0 Change my email address on SlackBuilds.org 
-12                   28s       0 Tax Return                                 
-13                    1s       0 Upgrade SlackBuilds</code> 
- 
- 
-<code>% task 1-6 modify project:misc    
-% task 7,9,11,13 modify project:SB 
-% task 8,10 modify project:home</code> 
- 
-<code>ID Project Pri Due A Age Urgency Description                                
-13 SB      H         13m       7 Upgrade SlackBuilds                        
-10 home    H         16m       7 Feed the dog                               
- 4 misc    H         28m       7 Phone Lennart about the code               
- 5 misc    H         28m       7 Phone Linus about the code                 
-12                 14m       6 Tax Return                                 
- 9 SB      M         18m     4.9 Test my SlackBuilds on Slackware 14        
-11 SB      M         16m     4.9 Change my email address on SlackBuilds.org 
- 8 home    M         18m     4.9 Buy a present for Billy                    
- 1 misc    M         57m     4.9 Email Bob                                  
- 6 misc    M         26m     4.9 Install Slackware on the lappy             
- 7 SB      L         20m     2.8 Create a SlackBuild for my new program     
- 2 misc    L         47m     2.8 Install Opera                              
- 3 misc    L         44m     2.8 Upgrade Angband                            
- 
-13 tasks</code> 
- 
-You can display a breakdown of your projects: 
- 
-<code>% task projects 
- 
-Project Tasks Pri:None Pri:L Pri:M Pri:H 
-(none)      1        0             1 
-SB          4        0             1 
-home        2        0             1 
-misc        6        0             2 
- 
-3 projects (13 tasks)</code> 
- 
-=== Adding / Removing Tags === 
- 
-You can add tags by: 
- 
-<code>% task 3,5,7-10 modify +work</code> 
- 
-You can remove tags by: 
- 
-<code>% task 7 modify -work</code> 
- 
-<note>Please note that tags are only displayed when you list your tasks with the ''long'' option.</note> 
- 
-=== Selective Display of Tasks === 
- 
-Display your tasks by priority: 
- 
-<code>% task priority:H 
-[task next priority:H] 
- 
-ID Project Pri Due A Age Urgency Description                  
-13 SB      H         15m       7 Upgrade SlackBuilds          
-10 home    H         18m       7 Feed the dog                 
- 4 misc    H         30m       7 Phone Lennart about the code 
- 5 misc    H         30m       7 Phone Linus about the code   
-12                 16m       6 Tax Return                   
- 
-5 tasks</code> 
- 
-Display your tasks by project: 
- 
-<code>% task project:SB 
-[task next project:SB] 
- 
-ID Project Pri Due A Age Urgency Description                                
-13 SB      H         16m       7 Upgrade SlackBuilds                        
- 9 SB      M         20m     4.9 Test my SlackBuilds on Slackware 14        
-11 SB      M         18m     4.9 Change my email address on SlackBuilds.org 
- 7 SB      L         22m     2.8 Create a SlackBuild for my new program     
- 
-4 tasks</code> 
- 
-Display your tasks by tag: 
- 
-<code>% task +work</code> 
- 
-=== Adding annotations === 
- 
-You can annotate a task: 
- 
-<code>% task 9 annotate i3 builds fine</code> 
- 
-<code>ID Project Pri Due A Age Urgency Description                                
-... 
- 9 SB      M          1h     5.8 Test my SlackBuilds on Slackware 14        
-                                   9/1/2012 yajl works fine                 
-                                   9/3/2012 i3 builds fine                  
-...</code> 
- 
-=== Displaying Statistics === 
- 
-<code>% task stats</code> 
- 
-===== Colours in TaskWarrior ===== 
- 
-You can enable one of the colour themes in ~/.taskrc by uncommenting one of the lines: 
- 
-<code># Color theme (uncomment one to use) 
-#include /usr/share/doc/task/rc/light-16.theme 
-#include /usr/share/doc/task/rc/light-256.theme 
-#include /usr/share/doc/task/rc/dark-16.theme 
-#include /usr/share/doc/task/rc/dark-256.theme 
-#include /usr/share/doc/task/rc/dark-red-256.theme 
-include /usr/share/doc/task/rc/dark-green-256.theme 
-#include /usr/share/doc/task/rc/dark-blue-256.theme 
-#include /usr/share/doc/task/rc/dark-violets-256.theme 
-#include /usr/share/doc/task/rc/dark-yellow-green.theme 
-#include /usr/share/doc/task/rc/dark-gray-256.theme</code> 
- 
-The ''dark-green-256'' theme looks as follows: 
- 
-{{ :howtos:task.png?nolink | TaskWarrior}} 
- 
-You can display current colours (variables + colour values) with: 
- 
-<code>% task color legend</code> 
- 
-Colour themes can be easily customised by editing theme files. All the theme files are located in ''/usr/share/doc/task/rc/''. 
- 
-===== Displaying a Calendar ===== 
- 
-All the tasks that have a due date assigned will be marked on the calendar. Additionally you can enable the display of holidays by specifying a country in ''~/.taskrc'': 
- 
-<code>include /usr/local/share/doc/task/rc/holidays-GB.rc</code> 
- 
-The ''/usr/share/doc/task/rc/'' directory contains holidays for other countries as well. 
- 
-===== TaskWarrior Integration ===== 
- 
-TaskWarrior is a very flexible and powerful tool. What makes it even more useful is the possibility of integrating it into your working environment.  
- 
-==== TaskWarrior and i3 ==== 
- 
-==== TaskWarrior and Conky ==== 
- 
-====== Sources ====== 
- 
-  * Originally written by [[wiki:user:sycamorex | sycamorex]] 
-<!-- * Contrbutions by [[wiki:user:yyy | User Y]] --> 
- 
-<!-- Please do not modify anything below, except adding new tags.--> 
-<!-- You must also remove the tag-word "template" below. Otherwise your page will not show up in the Table of Contents --> 
-{{tag>howtos software taskwarrior todo gtd}} 
 howtos:taskwarrior ()