如何在Mac OS X中使用GeekTool设置桌面任务清单

如何在Mac OS X中使用GeekTool设置桌面任务清单

If you’re one of those people who need to know what you need to do all the time, then putting a todo list on your desktop will help you immensely. Here’s how to create your own as a constant reminder.

如果您是一直需要知道您需要做什么的人之一,那么将待办事项列表放在桌面上将对您有很大帮助。 这是创建自己的不断提醒的方法。

Today, we’ll be showing you how to put a todo list on your desktop in OS X, and also a couple of tweaks you can make with our initial setup.

今天,我们将向您展示如何在OS X的桌面上放置待办事项列表,以及您可以通过初始设置进行的一些调整。

最初设定 (Initial Setup)

First, you’ll need GeekTool. It’s a preference pane, so all you need to do to access it once it’s installed is go to System Preferences and click on the GeekTool icon, which should be in the last row in the “Other” section.

首先,您需要GeekTool 。 这是一个首选项窗格,因此安装后只需访问系统首选项,然后单击GeekTool图标,该图标应位于“其他”部分的最后一行。

But before we do anything with GeekTool, we need to create our todo list file. Open your favorite text editor (I’d suggest something other than TextEdit) and type in some todos. Anything will work here, we just need a basic file. When you’re done, save it as a text file named todo.txt and put it on your desktop for easy access:

但是在使用GeekTool进行任何操作之前,我们需要创建待办事项列表文件。 打开您喜欢的文本编辑器(我建议您使用TextEdit以外的其他工具),然后输入一些待办事项。 任何东西都可以在这里工作,我们只需要一个基本文件。 完成后,将其另存为名为todo.txt的文本文件,并将其放在桌面上以方便访问:

如何在Mac OS X中使用GeekTool设置桌面任务清单

Now to configure GeekTool. When you first open GeekTool, it looks like this:

现在配置GeekTool。 首次打开GeekTool时,它如下所示:

如何在Mac OS X中使用GeekTool设置桌面任务清单

See those three icons labeled File, Image, and Shell? Those are known as Geeklets. You can drag them to the desktop to create a new Geeklet. The one we’ll need for our todo list is Shell, so drag that to the desktop:

看到标记为“文件”,“图像”和“外壳”的那三个图标? 这些被称为极客。 您可以将它们拖到桌面上以创建新的Geeklet。 我们需要的待办事项列表是Shell,因此将其拖到桌面上:

如何在Mac OS X中使用GeekTool设置桌面任务清单

When you select the new Geeklet, the options window pops up. This allows you to configure the Geeklet:

当您选择新的Geeklet时,将弹出选项窗口。 这使您可以配置Geeklet:

如何在Mac OS X中使用GeekTool设置桌面任务清单

We’ll be using a terminal command known as cat to display our todo.txt file. So, to use cat to display our file, all we need to do is type cat ~/Desktop/todo.txt into the command field of our Geeklet options:

我们将使用称为cat的终端命令来显示我们的todo.txt文件。 因此,要使用cat显示文件,我们需要做的就是在Geeklet选项的命令字段中输入cat〜 cat ~/Desktop/todo.txt

如何在Mac OS X中使用GeekTool设置桌面任务清单

Your todo.txt file should be displayed on the desktop:

您的todo.txt文件应显示在桌面上:

如何在Mac OS X中使用GeekTool设置桌面任务清单

That’s it for the basic setup. Read on for some helpful tweaks and how to use it with Notational Velocity.

基本设置就是这样。 请继续阅读以了解一些有用的调整,以及如何将其与Notational Velocity一起使用。

调整 (Tweaks)

The first thing you’ll want to do with your new Geeklet is to make it pretty. Right now, our Geeklet uses black text and a small font, so to change that we’re going to go back to our Geeklet options and select “Set Font and Color”:

您要使用新Geeklet要做的第一件事就是使其漂亮。 现在,我们的Geeklet使用黑色文本和一个小字体,因此要进行更改,我们将返回到Geeklet选项,然后选择“设置字体和颜色”:

如何在Mac OS X中使用GeekTool设置桌面任务清单

From there, you’ll get a font palette where you can choose which font and size to use. If you click on the white button on the top-right, you’ll get a color palette where you can choose the color:

从那里,您将获得一个字体调色板,您可以在其中选择要使用的字体和大小。 如果单击右上角的白色按钮,将获得一个调色板,您可以在其中选择颜色:

如何在Mac OS X中使用GeekTool设置桌面任务清单

The next thing you’ll want to do it to set the refresh interval. This will make it so you can just edit your todo.txt file and then have it automatically update on the desktop after a set period of time. To do this, go back to your Geeklet options and put in the number of seconds you want in the “Refresh every” field:

接下来,您需要设置刷新间隔。 这样就可以了,因此您只需编辑todo.txt文件,然后在设定的时间后使其在桌面上自动更新。 为此,请返回至Geeklet选项,然后在“刷新每个”字段中输入所需的秒数:

如何在Mac OS X中使用GeekTool设置桌面任务清单

That’s it for basic tweaks, but there’s one more: setting up your todo.txt file in Notational Velocity, a notes application. Read on to see how.

完成基本调整就可以了,但还有更多其他事项:在Notes应用程序Notational Velocity中设置todo.txt文件。 继续阅读以了解操作方法。

设定符号速度 (Setup in Notational Velocity)

Notational Velocity is one of my favorite applications. I keep all my important ideas and notes in it. So, rather than opening my todo.txt file in a text editor every time I want to change it, I keep it in Notational Velocity.

记号速度是我最喜欢的应用程序之一。 我保留了所有重要的想法和笔记。 因此,我不想每次更改文本时都在文本编辑器中打开todo.txt文件,而是将其保存在Notational Velocity中。

Of course, first you’ll need Notational Velocity. Once it’s installed, you’ll want to go to Preferences and go to the “Storage” tab. Select “Plain Text Files” from the dropdown menu and you’re good:

当然,首先您需要使用Notational Velocity。 安装完成后,您将要转到“首选项”并转到“存储”选项卡。 从下拉菜单中选择“纯文本文件”,您会很好:

如何在Mac OS X中使用GeekTool设置桌面任务清单

Now, you can create a new todo file in Notational Velocity and it’ll create a text file that you can read from with GeekTool. But, since our file is in a different place we’ll have to modify the command we use to read it:

现在,您可以在Notational Velocity中创建一个新的todo文件,并且它将创建一个文本文件,您可以使用GeekTool读取该文件。 但是,由于文件位于其他位置,因此我们必须修改用于读取文件的命令:

cat ~/Library/Application\ Support/Notational\ Data/todo.txt

cat ~/Library/Application\ Support/Notational\ Data/todo.txt

One of the huge advantages of having your todo list in Notational Velocity is that it can sync with SimpleNote, so you can use the iOS app and mNote for Android to make your todo list accessible from anywhere.

在Notational Velocity中使用待办事项列表的巨大优势之一是它可以与SimpleNote同步,因此您可以使用iOS应用和适用于Android的mNote使待办事项列表可以从任何地方访问。

翻译自: https://www.howtogeek.com/howto/31850/how-to-set-up-a-desktop-todo-list-with-geektool-in-mac-os-x/