Outils pour utilisateurs

Outils du site


issue162:critique2

Ceci est une ancienne révision du document !


I have been using Ubuntu as my main at-home OS for approximately 10 years. One of the things I like most about Linux is that I can freely modify, customize, and break the OS without breaking any laws or Terms of Service clauses. Additionally, I am a huge fan of the way so many applications in Linux do one thing really, really well.

This brings me to my review of Task Warrior – the Linux command-line To-Do List. I first took a look at Task Warrior several years ago. It is very lightweight and blazing fast – the best thing, from my perspective, is that it runs in the terminal. Task Warrior is in the Ubuntu repository so installation is simple.

To run Task Warrior, simply open the terminal and type task add followed by the text of the task you want to add. The very first time you run Task Warrior, it will ask you if you want to add a generic .taskrc file to your home directory.

Once you say yes, you will be ready to go.

The basic syntax for adding a task is:

task add <task description> project:<project name> due:<due date><T due time> priority:<H,M,L>

For example, to add a task with the description “Write Task Warrior Review” for the project “Linux” with the due date “tomorrow” at “3:00 pm”, and the priority M, you would type:

task add Write Task Warrior Review project:Linux due:tomT15:00 priority:M

Tasks may be sorted by project, status, due date, priority, or almost any other tag you care to assign to a task.

Task Warrior comes with many predefined reports, but the one I use most often is invoked with the command task list (see image below).

have used many different To-Do lists and calendar programs over the years, and, after trying many different options, I found myself wishing that Task Warrior were easier to use on multiple machines.

In a nutshell, if you want to sync your tasks to another device you need to have access to a Task Server. Recently I stumbled across one such task server called FreeCinc (https://freecinc.com/). Jack Desert, the guy who created FreeCinc is just a really cool Linux guy who allows anyone to generate keys for his server free of change. Once you click “Generate Keys”, you are taken to a page from which you can download three files. You are also given all of the code you need to run in the terminal in order to get your version of Task Warrior to sync with his server.

The three files you will need are the key.pem, cert.pem, and ca.pem files. I would save these files to a location such as Google Drive so you can access them on a mobile device. I recommend that you also save a PDF of the web page with the necessary code so that you can set up Task Warrior using the same account on another machine.

In my case, it is really important to me that I can access my tasks on my Android phone. Thankfully there is a free application in the Google Play Store called Foreground which lets you sync with a task server.

Once you install Foreground on your phone, you need to configure it to read and write to the account on Jack’s FreeCinc server. This is where saving the three files we downloaded earlier to Google Drive comes in. In the configuration options, there are three folders you can press and search to load the appropriate files. Aside from the three files we downloaded and saved to Google Drive, you will need to type in the name of the server – FreeCinc.

Once this has been done, you should be able to sync tasks from your computer to your phone and from your phone to your computer.

Total setup time on the computer, the task server, and the phone took less than 30 minutes.

The people who wrote Task Warrior provide a lot of really clear information regarding how to actually use the program. An excellent place to begin is at: https://taskwarrior.org/docs/start.html

I hope someone finds this article helpful.

issue162/critique2.1604234090.txt.gz · Dernière modification : 2020/11/01 13:34 de auntiee