Remind is a lightweight tool for reminders

I like to use lightweight tools whenever possible as there is no point in running IceWM if one uses KDE or GNOME applications for everyday tasks. Because my memory is far from perfect, I like my computer to remind me about the projects I have to work on and about classes I have to attend.

There are some obvious choices for this kind of task if one uses KDE or GNOME. For exapmle, Korganizer would be great tool for keeping your calendar and to do lists. I decided to use a command line tool, remind, for storing all the information about my meetings, classes, and deadlines.

Remind uses a plain text file for storing information. The syntax for ordinary reminders is pretty simple and evident, as you can see from a few lines of my .reminders:

REM 22 September AT 16:00 YLY Mercatori
REM Tue AT 08:30 YLY/MENY1
REM Tue AT 11:15 TKMY1_ls17
REM Tue AT 14:15 RuIb1

These are reminders for a meeting on the 22nd of September at 16:00 and three reminders for my classes on tuesdays. It is possible to use much more sophisticated reminders that have rules for deciding the date of some action. You can also set the remind to warn you in advance, before the actual date of the reminder, but I like to keep my reminders simple.

I like to use remind for printing a schedule for the next week every sunday. As I have stored my reminders in the file .reminders this can be done easily with a simple command: rem -c+1



If a weekly calendar is not enough for you, you might consider printing out a PostScript calendar of your reminders for the next twelve months with remind -p12 .reminders |rem2ps >remind.ps.




There are many good sites about using remind in an efficient way. Let your computer remind you of your meetings, classes and deadlines. It will help you to get things done!

[1] Manage your time with Remind
[2] Remind: The Ultimate Personal Calendar
[3] 43 Folders' wiki

TinyME release

TinyME has released the first alpha of release 2008.1. It's specs are still very light, and consequently it can be installed in just about any hardware built during the last decade.

  • Pentium processor
  • 64MB of RAM
  • Usable at 640×480, but 800×600 is much better resolution.

HOWTO Create a Readable PostScript or Pdf File out of a Man Page

I find myself often reading man pages of unix programs to be able to use the installed software more efficiently. That is one of the reasons I prefer to use a lightweight installation of "real" distribution instead of some tiny distributions that leave all the unncessary files like documentation out of the system to save some megabytes.

The standard output of man is unfortunately not very pleasant to read. But as man pages are written in a typesetting language called groff and processed through the groff engine, the same source can be used to produce a highly readable PostScript file. All you need to do is to use man with the following options instead of the ordinary man command:

man -Tps man > man.ps

This produces a PostScript file man.ps out of the man page for man. You can either use your favourite viewer for viewing the PostScript file, print it out to a printer, or convert it with ps2pdf to a pdf file, if you prefer a pdf.

ps2pdf man.ps

The following screenshot shows man page man as a pdf file, viewed with xpdf.

Using Keyboard Shortcuts with IceWM

Some time ago I wrote a short IceWM tutorial. As you might remember, IceWM is one of my preferred lightweight window managers. It's not too demanding for the system resources and can thus run very well on my rather old computers.



IceWM has so many hidden features that it is not possible to deal with all of them in a single tutorial. One of the features I left out from my tutorial was using keyboard shortcuts for more efficient use of the desktop.

The keyboard shortcuts are configured by the file ~/.icewm/keys. Your distribution might have added some definitions already, or you could copy the default shortcuts from the file /etc/icewm/keys. The syntax used for configuration is pretty evident, just follow the example of the default file.

My settings are rather simple:

key "Alt+Ctrl+t" xterm
key "Alt+Ctrl+e" emacs
key "Alt+Ctrl+f" firefox

Now I can start xterm by pressing Alt+Ctrl+t and Emacs by pressing Alt+Ctrl+e. You should define your own keyboard shortcuts, too

HOWTO Read rtf Files in Linux Console

Today I continue where I finished yesterday. I have so far written about reading doc and pdf files in Linux command line. Today I turn to rich text format, that is the files with extension rtf. Rtf is a very common format used by those who are at least slightly familiar with the compatibility problems caused by using Word's binary file format. Also rtf can be viewed using lightweight tools, it is not necessary to use OpenOffice.org to read the file.

I was reminded by my reader Reidar about catdoc, yet another Linux tool for reading windows file formats. As I don't have MS Word installed on any of my computers, I used Abiword for writing a short text (in fact this blog posting!) and saved it as a rich text file. And I was not disappointed by catdoc. It printed the content of my file on screen just like cat would do with an ordinary plain text file. You might be able to find it in the repositories of your distribution.

Catdoc is a tool that doesn't attempt to analyze and reproduce file formatting. It just extracts readable text from the file. What it can do, is to handle all versions of Word and convert character encodings. It can also read RTF files and convert Excel and PowerPoint files. You should install it in any system running on an old computer.



I thought that there are no console editors that can edit rich text files. I was not even sure whether it such editors would make any sense. But as I knew that Emacs can do everything one might some day need to do with her computer, I decided to google for "Emacs rtf". Surprisingly, or maybe not, there actually is an Emacs extension for editing rich text files and VIM should be able to edit rtf files out of the box. We are living in a strange world, aren't we?

HOWTO Read PDF Files in Console

I wrote about using Antiword for reading .doc files on the commandline yesterday. I think I get at least as oft pdf (portable document format) files attached to emails as I get .doc files. There are, of course, several alternatives for viewing pdf files when one is using X windows. You can, for example, use Evince, Kpdf or Xpdf for viewing the omnipresent pdf files.

I happen to read my email through a ssh connection on an Unix or sometimes a Linux system of my university. In order to view a pdf file, I have to save the attached file and use sftp to download the file to my desktop if I want to read it using a graphical pdf viewer.

Fortunately, there is a command line alternative even for reading pdf files! These can of course be used not only in a remote system over a ssh connection, but in any lightweight Linux system, even with a system with no X installed.



Ps2ascii uses Ghostscript for the conversion. It can convert both PostScript and PDF to ASCII text. It does not produce perfectly formatted output, but is certainly good enough for a quick & dirty conversion to have a glance at the textual content of a pdf file as the screenshot of Debian Reference shows.

HOWTO Read .doc Files in Console

We all receive .doc files attached to our emails. Sometimes we just have to read them, no matter how much we despise documents written with MS Word, or people who use MS Word.

There are several alternative solutions for the task. One, and probably the easiest solution, is to use OpenOffice.org Writer for reading documents produced with MS Word. A lighter solution would be to use Abiword. If you are using KDE, you could try Kword for opening the file. All of the mentioned word processors can pretty well import documents in .doc format.



Very often, all I need from a document is its textual information. It does not matter for me what is the used font and how well or poorly the document has been formatted. In this case, I usually do not bother to open a word processor just to read a document. All I need is a command line application, antiword. Antiword has been ported to a wide selection of operating systems ranging from DOS to Amiga. So it does not surprise at all, that it is available also for Linux. Use your distributions package management application for installing it.

Antiword is able to convert Word documents to plain text, to PostScript, to PDF and to XML/DocBook. My needs are more modest, plain text is all I need.

Antiword is a command line tool. Thus, all I need to convert this text from antiword.doc to plain text and read it through a pager is:

antiword antiword.doc | less




I can't imagine a simpler solution to this problem caused by the widespread use of proprietary binary file formats. Unfortunately the latest version of Antiword dates from 2005. It does not yet convert files written in the latest 2007 incarnation of the binary bloat.