mirror of
https://github.com/LCTT/TranslateProject.git
synced 2025-02-22 00:40:10 +08:00
translated
This commit is contained in:
parent
b5201133dd
commit
7bc3a97336
@ -1,87 +0,0 @@
|
|||||||
translating---geekpi
|
|
||||||
|
|
||||||
Get organized at the Linux command line with Calcurse
|
|
||||||
======
|
|
||||||
|
|
||||||
Keep up with your calendar and to-do list with Calcurse.
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
Do you need complex, feature-packed graphical or web applications to get and stay organized? I don't think so. The right command line tool can do the job and do it well.
|
|
||||||
|
|
||||||
Of course, uttering the words command and line together can strike fear into the hearts of some Linux users. The command line, to them, is terra incognita.
|
|
||||||
|
|
||||||
Organizing yourself at the command line is easy with [Calcurse][1]. Calcurse brings a graphical look and feel to a text-based interface. You get the simplicity and focus of the command line married to ease of use and navigation.
|
|
||||||
|
|
||||||
Let's take a closer look at Calcurse, which is open sourced under the BSD License.
|
|
||||||
|
|
||||||
### Getting the software
|
|
||||||
|
|
||||||
If compiling code is your thing (it's not mine, generally), you can grab the source code from the [Calcurse website][1]. Otherwise, get the [binary installer][2] for your Linux distribution. You might even be able to get Calcurse from your Linux distro's package manager. It never hurts to check.
|
|
||||||
|
|
||||||
Compile or install Calcurse (neither takes all that long), and you're ready to go.
|
|
||||||
|
|
||||||
### Using Calcurse
|
|
||||||
|
|
||||||
Crack open a terminal window and type **calcurse**.
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
Calcurse's interface consists of three panels:
|
|
||||||
|
|
||||||
* Appointments (the left side of the screen)
|
|
||||||
* Calendar (the top right)
|
|
||||||
* To-do list (the bottom right)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Move between the panels by pressing the Tab key on your keyboard. To add a new item to a panel, press **a**. Calcurse walks you through what you need to do to add the item.
|
|
||||||
|
|
||||||
One interesting quirk is that the Appointment and Calendar panels work together. You add an appointment by tabbing to the Calendar panel. There, you choose the date for your appointment. Once you do that, you tab back to the Appointments panel. I know …
|
|
||||||
|
|
||||||
Press **a** to set a start time, a duration (in minutes), and a description of the appointment. The start time and duration are optional. Calcurse displays appointments on the day they're due.
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
Here's what a day's appointments look like:
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
The to-do list works on its own. Tab to the ToDo panel and (again) press **a**. Type a description of the task, then set a priority (1 is the highest and 9 is the lowest). Calcurse lists your uncompleted tasks in the ToDo panel.
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
If your task has a long description, Calcurse truncates it. You can view long descriptions by navigating to the task using the up or down arrow keys on your keyboard, then pressing **v**.
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
Calcurse saves its information in text files in a hidden folder called **.calcurse** in your home directory—for example, **/home/scott/.calcurse**. If Calcurse stops working, it's easy to find your information.
|
|
||||||
|
|
||||||
### Other useful features
|
|
||||||
|
|
||||||
Other Calcurse features include the ability to set recurring appointments. To do that, find the appointment you want to repeat and press **r** in the Appointments panel. You'll be asked to set the frequency (for example, daily or weekly) and how long you want the appointment to repeat.
|
|
||||||
|
|
||||||
You can also import calendars in [ICAL][3] format or export your data in either ICAL or [PCAL][4] format. With ICAL, you can share your data with other calendar applications. With PCAL, you can generate a Postscript version of your calendar.
|
|
||||||
|
|
||||||
There are also a number of command line arguments you can pass to Calcurse. You can read about them [in the documentation][5].
|
|
||||||
|
|
||||||
While simple, Calcurse does a solid job of helping you keep organized. You'll need to be a bit more mindful of your tasks and appointments, but you'll be able to focus better on what you need to do and where you need to be.
|
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
via: https://opensource.com/article/18/10/calcurse
|
|
||||||
|
|
||||||
作者:[Scott Nesbitt][a]
|
|
||||||
选题:[lujun9972][b]
|
|
||||||
译者:[译者ID](https://github.com/译者ID)
|
|
||||||
校对:[校对者ID](https://github.com/校对者ID)
|
|
||||||
|
|
||||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
|
|
||||||
|
|
||||||
[a]: https://opensource.com/users/scottnesbitt
|
|
||||||
[b]: https://github.com/lujun9972
|
|
||||||
[1]: http://www.calcurse.org/
|
|
||||||
[2]: http://www.calcurse.org/downloads/#packages
|
|
||||||
[3]: https://tools.ietf.org/html/rfc2445
|
|
||||||
[4]: http://pcal.sourceforge.net/
|
|
||||||
[5]: http://www.calcurse.org/files/manual.chunked/ar01s04.html#_invocation
|
|
@ -0,0 +1,86 @@
|
|||||||
|
使用 Calcurse 在 Linux 命令行中组织任务
|
||||||
|
======
|
||||||
|
|
||||||
|
使用 Calcurse 了解你的日历和待办事项列表。
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
你是否需要复杂,功能丰富的图形或 Web 程序才能保持井井有条?我不这么认为。正确的命令行工具可以完成工作并且做得很好。
|
||||||
|
|
||||||
|
当然,说出命令行这个词可能会让一些 Linux 用户感到害怕。对他们来说,命令行是未知领域。
|
||||||
|
|
||||||
|
使用 [Calcurse][1] 可以轻松地在命令行中进行组织任务。Calcurse 在基于文本的界面里带来了图形化外观。你可以得到简单、结合易用性的命令行和导航。
|
||||||
|
|
||||||
|
让我们仔细看看 Calcurse,它是在 BSD 许可证下开源的。
|
||||||
|
|
||||||
|
### 获取软件
|
||||||
|
|
||||||
|
如果你喜欢编译代码(我通常不喜欢),你可以从[Calcurse 网站][1]获取源码。否则,根据你的 Linux 发行版获取[二进制安装程序][2]。你甚至可以从 Linux 发行版的软件包管理器中获取 Calcurse。检查一下不会有错的。
|
||||||
|
|
||||||
|
编译或安装 Calcurse 后(两者都不用太长时间),你就可以开始使用了。
|
||||||
|
|
||||||
|
### 使用 Calcurse
|
||||||
|
|
||||||
|
打开终端并输入 **calcurse**。
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Calcurse 的界面由三个面板组成:
|
||||||
|
|
||||||
|
* 预约(屏幕左侧)
|
||||||
|
* 日历(右上角)
|
||||||
|
* 待办事项清单(右下角)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
按键盘上的 Tab 键在面板之间移动。要在面板添加新项目,请按下 **a**。Calcurse 将指导你完成添加项目所需的操作。
|
||||||
|
|
||||||
|
一个有趣的地方地预约和日历面板一起生效。你选中日历面板并添加一个预约。在那里,你选择一个预约的日期。完成后,你回到预约面板。我知道。。。
|
||||||
|
|
||||||
|
按下 **a** 设置开始时间,持续时间(以分钟为单位)和预约说明。开始时间和持续时间是可选的。Calcurse 在它们到期的那天显示预约。
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
一天的预约看起来像:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
待办事项列表独立运作。选中待办面板并(再次)按下 **a**。输入任务的描述,然后设置优先级(1 表示最高,9 表示最低)。Calcurse 会在待办事项面板中列出未完成的任务。
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
如果你的任务有很长的描述,那么 Calcurse 会截断它。你可以使用键盘上的向上或向下箭头键浏览任务,然后按下 **v** 查看描述。
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Calcurse 将其信息以文本形式保存在你的主目录下名为 **.calcurse** 的隐藏文件夹中,例如 **/home/scott/.calcurse**。如果 Calcurse 停止工作,那也很容易找到你的信息。
|
||||||
|
|
||||||
|
### 其他有用的功能
|
||||||
|
|
||||||
|
Calcurse 其他的功能包括设置重复预约的功能。要执行此操作,找出要重复的预约,然后在预约面板中按下 **r**。系统会要求你设置频率(例如,每天或每周)以及你希望重复预约的时间。
|
||||||
|
|
||||||
|
你还可以导入 [ICAL][3] 格式的日历或以 ICAL 或 [PCAL][4] 格式导出数据。使用 ICAL,你可以与其他日历程序共享数据。使用 PCAL,你可以生成日历的 Postscript 版本。
|
||||||
|
|
||||||
|
你还可以将许多命令行参数传递给 Calcurse。你可以[在文档中][5]阅读它们。
|
||||||
|
|
||||||
|
虽然很简单,但 Calcurse 可以帮助你保持井井有条。你需要更加关注自己的任务和预约,但是你将能够更好地关注你需要做什么以及你需要做的方向。
|
||||||
|
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
via: https://opensource.com/article/18/10/calcurse
|
||||||
|
|
||||||
|
作者:[Scott Nesbitt][a]
|
||||||
|
选题:[lujun9972][b]
|
||||||
|
译者:[geekpi](https://github.com/geekpi)
|
||||||
|
校对:[校对者ID](https://github.com/校对者ID)
|
||||||
|
|
||||||
|
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
|
||||||
|
|
||||||
|
[a]: https://opensource.com/users/scottnesbitt
|
||||||
|
[b]: https://github.com/lujun9972
|
||||||
|
[1]: http://www.calcurse.org/
|
||||||
|
[2]: http://www.calcurse.org/downloads/#packages
|
||||||
|
[3]: https://tools.ietf.org/html/rfc2445
|
||||||
|
[4]: http://pcal.sourceforge.net/
|
||||||
|
[5]: http://www.calcurse.org/files/manual.chunked/ar01s04.html#_invocation
|
Loading…
Reference in New Issue
Block a user