Hi all, I’m working on setting my terminal to display different tasks and information when I login. I have problems with attention and I frequently forget to do important things, so I really need to do this to help myself. I’m aware some of this will cause my terminal to be more slow when I first login. That’s fine even if it takes an additional second to login. I have a rough mockup attached in the picture. The mockup uses the pr -Tm command to display my calendar side-by-side with my schedule and todo list, but here’s where I’m at:

  1. Calendar is automated by ncal -C
  2. Weather is automated using curl wttr.in/New%20York?0
  3. Schedule is just a text file at the moment
  4. Todo is just a text file at the moment

I’m looking to also automate my schedule and todo from the command line, but I don’t want to use Google-based tools or tools that connect to an external server in general. I’m looking for terminal-based tools where I can add events to my schedule with descriptions, times, and dates (support for recurring events is a bonus, but maybe not required), and then fetch my daily schedule and print it. Does anybody know a good way to handle this part? I could setup a simple database to store and interact with my schedule, but I feel like there has to already be a good tool like that available. However, my searches keeps pulling up things that aren’t quite what I want…

Thanks for reading this! I appreciate any advice you have for the Linux side of things.

  • jadedctrl@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    For calendar, I use khal, which offers a TUI (ikhal command) and a non-captive UI that can print a simple list like you might want (khal command). It supports multiple calendars, ical, recurring events, etc. Since it support ical, you can add locations, times, dates, alarms, pretty much anything you want. No database required, each event is saved into a seperate ical file (easy to import into another program, if you wanna switch someday).

    I also use todoman for to-do lists, which is pretty similar to khal in terms of interface — having both a captive TUI and a non-captive UI.

    I realize this doesn’t interest you, but as a side-note: Both of these use portable file-formats that can be synced with any pretty much any calendar-syncing service using vdirsyncer, which I use to sync my events and todo-lists and address book using Posteo.

    • graham1@gekinzuku.comOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      Thanks for suggesting khal! I actually just stumbled across it while trying to find something that does exactly what I want. My only complaint with khal is that I want a todo list with khal as well. I have a tendency to forget important things, and it would be great if I could throw things onto a list that doesn’t have times or dates, but gets displayed regardless. Do you know if that’s possible with khal? For example, either above or below my schedule on the right column I’d have a todo list.