There are two modes in RedNotebook, the edit mode and the preview mode.


The main text field is the container for your normal diary entries like this one:

Today I went to the pet shop and bought a tiger. Then we went to the pool park and had a nice time playing ultimate frisbee. Afterwards we watched "Life of Brian".


As you see, the text can be formatted bold, italic, --struck through-- and underlined. As a convenience there is also the "Format" button.

A blank line starts a new paragraph, two backslashes \\ result in a newline.

To see the result, click on the "Preview" button. You can also see how this text was formatted by looking at its source.

Lists can be created by using the following syntax, if you use "+" instead of "-" you can create a numbered list:

- First Item
  - Indented Item
- Do not forget two blank lines after a list


Tagging is easy. Just use #hashtags like on twitter.

Images, Files and Links

RedNotebook lets you insert images, files and links into your entries. To do so, select the appropriate option in the "Insert" pull-down menu above the main text field. The text will be inserted at the current cursor position. Note that currently, the things you insert are only linked to, but not copied into your journal directory.

With the insert button you cannot insert links to directories on your computer. Those can be inserted manually however (``[Home file:///home/]`` becomes Home).

Entry references

You can reference days in your journal by simply writing the date in [YYYY-MM-DD] format. A date like 2019-02-14 will be rendered as a clickable link in preview mode.

Alternatively, you can name your references. For example,

[Today #2019-02-14] was a good day.

will be shown as

Today was a good day.


RedNotebook supports templates. Click on the arrow next to the "Template" button to see some options. You can have one template for every day of the week and unlimited arbitrarily named templates. The files 1.txt to 7.txt in the template directory correspond to the templates for each day of the week. The current weekday's template will be filled into the text area when you click on "Template". You can open the template files from inside RedNotebook by opening the menu next to the "Template" button.


On the left you find the search box. Double-clicking on a day in the search results lets you jump to it.

You can search for text or dates (e.g. 2014, 2014-01, 2014-01-19).


The most frequently used words will appear in the word cloud on the left. Its contents are only refreshed when RedNotebook starts and when the journal is saved.

If a word appears in the cloud that you don't want to see there, right-click and select to hide it. Alternatively, you can open the Preferences dialog and add the word to the cloud blacklist. Short words with less than five letters can be white-listed there as well. [Regular expressions] are allowed in the lists. If you want to hide words with special characters, you can escape them with a backslash: 3\.50\?

You can limit the number of displayed words by tweaking the 'Tags in cloud' configuration option. If this option is set to 0, no tags are displayed.

You can hide the word cloud by adding the regular expression .* to the blacklist. This will filter out all words.


RedNotebook supports spellchecking your entries. This feature needs the pyenchant library (python-enchant on Ubuntu). Spellchecking can be turned on and off by toggling the menu item in the "Edit" menu.

You can select the spellchecking language by right-clicking on the main text area (in edit mode) and choosing it from the submenu "Languages".

Adding custom dictionaries under Windows

You can add more aspell dictionary files to the directory <RedNotebook Dir>\lib\aspell-0.60\. If RedNotebook is running, you need to restart it for new dictionaries to be recognized. You can find aspell dictionaries at Please read the README files included in the tarballs for information on how to compile the necessary files.


Make sure you check out the customizable options in the preferences dialog. You can open this dialog by clicking on the entry in the "Edit" menu.


Everything you enter will be saved automatically at regular intervals and when you exit the program. To avoid data loss you should backup your journal regularly. "Backup" in the "Journal" menu saves all your entered data in a zip file.


In the "Journal" menu you also find the "Export" button. Click on "Export" and export your diary to Plain Text, PDF, HTML or Latex.

To obtain a PDF of your journal, either export to HTML, open the resulting file in a browser and print it to PDF, or export to LaTeX and compile the file with pdflatex.

Latex caveats

Make sure to type all links with the full path including the protocol:

Synchronize across multiple computers

Syncing RedNotebook with a remote server is easy. You can either use a cloud service like Dropbox or save your journal to your own server.


If you have a Dropbox account, you can just save your journal in a subdirectory of the Dropbox folder in your home directory. Alternatives to Dropbox, which give you complete control over your where your data is stored, include Syncthing.

Directly save to remote FTP or SSH server

With Linux you can have your journal directory on a remote server. To use the feature you have to connect your computer to the remote server. This is most easily done in Nautilus by clicking on "File" -> "Connect to Server". Be sure to add a bookmark for the server. This way you can see your server in Nautilus at all times on the left side. The next time you open RedNotebook you will find your server in the "New", "Open" and "Save As" dialogs. There you can select a new folder on the server for your journal.

External sync with remote server

If you have your own server, you might want to try Conduit or Unison. To sync or backup your journal you have to sync your journal folder (default is "$HOME/.rednotebook/data/") with a folder on your server.

Obviously you have to be connected to the internet to use that feature. Be sure to backup your data regularly if you plan to save your content remotely. There are always more pitfalls when an internet connection is involved.

Dual boot

Using RedNotebook from multiple operating systems on the same computer is also possible. Save your journal with "Journal->Save As" in a directory all systems can access. Then on the other systems you can open the journal with "Journal->Open".

Optionally, you can also share your settings and templates. The relevant setting is found in the file "rednotebook/files/default.cfg". There you can set the value of userDir to the path where you want to share your settings between the systems.

Portable mode

RedNotebook can be run in portable mode. In this mode, the template directory, the configuration and the log file are saved in the application directory instead of in the home directory. Additionally, the path to the last opened journal is remembered relatively to the application directory.

To use RedNotebook on a flash drive on Windows, run the installer and select a directory on your USB drive as the installation directory. You probably don't need the "Start Menu Group" and Desktop icons in portable mode.

To activate portable mode, change into the files/ directory and in the default.cfg file set portable=1.

Convert Latex output to PDF

In recent RedNotebook versions you can export your journal directly to PDF, so this section may be obsolete. However, some people may prefer to export their journal to Latex first and convert it to PDF later. Here is how you do it:


For the conversion on Linux you need some extra packages: texlive-latex-base and texlive-latex-recommended. Maybe you also need texlive-latex-extra. Those contain the pdflatex program and are available in the repositories of most Linux distros.

You can convert the .tex file to PDF by using the following commands:

pdflatex your-rednotebook-export.tex
makeindex your-rednotebook-export
pdflatex your-rednotebook-export.tex

If you omit the last two commands, your PDF won't have an index of tags.

If you run into any problems during the conversion, the easiest way to solve them is to install a latex editor (e.g. [Kile]) and do the conversion with it. That way you can see the errors right away and get rid of them by editing the file.


You can open an exported Latex file with Texniccenter and convert it to PDF with MikTex. Visit and for the programs and instructions. Basically, you have to download both programs, open the .tex file with Texniccenter and select "Build Output" from the "Output" menu. The program will then create the PDF in the same directory.

Keyboard shortcuts

Show help <Ctrl> + H
Find <Ctrl> + F
Export <Ctrl> + E
Spellcheck F7
Fullscreen F11
Go back one day <Ctrl> + PageUp
Go forward one day <Ctrl> + PageDown
Go to today <Alt> + Home (Pos1)
Insert link <Ctrl> + L
Insert date/time <Ctrl> + D
Bold <Ctrl> + B
Italic <Ctrl> + I
Monospace <Ctrl> + M
Underline <Ctrl> + U
Strikethrough <Ctrl> + K
Remove format <Ctrl> + R

You can find more shortcuts in the menus in the main menu bar.


You can use e.g. TrueCrypt to encrypt your journal. The general idea is to create and mount an encrypted folder with TrueCrypt and put your journal files in there.

In many Linux distributions it has become pretty easy to encrypt your entire home partition. I would recommend to do that to anyone who wishes to protect her/his diary and all other personal files. This method is especially useful for laptop users, because their computers are more likely to be stolen. If you encrypt your home partition all RedNotebook data will be encrypted, too.

Appearance on Windows

You can use a GTK3 compatible theme to change the appearance of your RedNotebook installation. Once you find a GTK3 compatible theme, copy the theme into <RedNotebook Dir>\share\themes, e.g., C:\Program Files (x86)\RedNotebook\share\themes and then edit C:\Program Files (x86)\RedNotebook\etc\gtk-3.0\settings.ini to comment out the current theme setting and add your own.

For example, for using the FlatStudio theme, download the *.tar.gz file and extract it. Out of the four themes -- FlatStudio, FlatStudioDark, FlatStudioLight, FlatStudioGray -- pick one of the folders (e.g., FlatStudioDark) and copy it into <RedNotebook Dir>\share\themes. Then edit etc\gtk-3.0\settings.ini so it looks similar to this:

# gtk-theme-name=win32

Finally, relaunch RedNotebook.

Alternative 1: set GTK_THEME=FlatStudioDark in user environment variables. This overrides the theme set in settings.ini and persists even after reinstalling RedNotebook. However, this might change the theme of every GTK application on Windows.

Alternative 2: set GTK_THEME=FlatStudioDark in the application shortcut as follows:

C:\Windows\System32\cmd.exe /c "SET GTK_THEME=FlatStudioDark&& ^
START /D ^"C:\Program Files (x86)\RedNotebook^" rednotebook.exe"

Then set application to Run: Minimized (in application shortcut properties). This also overrides the theme set in settings.ini. This won't affect any other app but it does change the shortcut icon to a cmd icon, as expected.


Multiple entries

You can add multiple entries to a single day by separating your entries with different titles (=== Work ===, === Family ===).

Week numbers

If you'd like to see the week numbers in the calendar, you can set the value of weekNumbers to 1 in the configuration file. This file normally resides at $HOME/.rednotebook/configuration.cfg.


To change the language on Linux, use the environment variables LANGUAGE, LC_CTYPE and/or LC_TIME:

The environment variable LC_ALL sets both LC_CTYPE and LC_TIME simultaneously. For example, to have a German interface, start a terminal and call LANGUAGE=de_DE.utf8 rednotebook.

On Windows, set or create the LANGUAGE environment variable with the desired language code (e.g., de, de_DE or de_DE.UTF-8):

  1. Right-click My Computer and click Properties.
  2. In the System Properties window, click on the Advanced tab (Windows XP) or go to Advanced System Settings (Windows 7).
  3. In the Advanced section, click the Environment Variables button.
  4. Click the New button and insert LANGUAGE at the top and your language code at the bottom.


You can insert titles into your post by adding "="s around your title text. = My Title = is the biggest heading, ===== My Title ===== is the smallest heading. A title line can only contain the title, nothing else.

Numbered titles can be created by using "+" instead of "=". ""+ My Title +"" produces a title like "1.", +++++ My Title +++++ produces a title like

Insert HTML or Latex code

To insert custom code into your entries surround the code with single quotes. Use 2 single quotes for inline insertions and 3 single quotes if you want to insert a whole paragraph. For paragraphs be sure to put the single quotes on their own line.

Text Output
''<font color="red">Red</font>'' Red
''$a^2$'' $a^2$ (a2 in Latex)

This feature can be used to insert e.g. Latex formulas:

$$\sum_{i=1}^{n} i =rac{ncdot (n+1)}{2}$$

will produce a nice looking formula in the Latex export.

Verbatim text (Preserve format)

To insert preformatted text preserving newlines and spaces, you can use the backquotes (`). Use 2 backquotes for inline insertions and 3 backquotes if you want to insert a whole paragraph. For paragraphs be sure to put the backquotes on their own line.

Two examples (have a look at the source to see how it's done):

To install rednotebook use sudo apt-get install rednotebook.

class Robot:
    def greet(self):
        print 'Hello World'

robot = Robot()

Unparsed text

Formatting commands inside two pairs of "" are not interpreted (""**not bold**"").


Comments can be inserted after percent signs (%). They will not be shown in the preview and the exports. The % has to be the first character on the line.

List of all entries

To get a list of your entries search for "-". You can sort the resulting list chronologically by pressing the "Date" button.

Command line options

usage: [-h] [--version] [--date START_DATE] [journal]

RedNotebook is a modern desktop journal. It lets you format, tag and
search your entries. You can also add pictures, links and customizable
templates, spell check your notes, and export to plain text, HTML or

positional arguments:
  journal            (optional) Specify the directory storing the journal data.
                     The journal argument can be one of the following:
                      - An absolute path (e.g. /home/username/myjournal)
                      - A relative path (e.g. ../dir/myjournal)
                      - The name of a directory under $HOME/.rednotebook/ (e.g. myjournal)
                     If the journal argument is omitted then the last session's journal
                     path will be used. At the first program start, this defaults to

  -h, --help         show this help message and exit
  --version          show program's version number and exit
  --date START_DATE  load specified date (format: YYYY-MM-DD)

Data format

The content of a RedNotebook journal is saved in a directory with many files, not just one file. The directory name is used as a name for the journal.

In the directory there are several files all conforming to the naming scheme <year>-<month>.txt (e.g. 2010-05.txt). Obviously these files correspond to months (e.g. May 2010).

Each month file contains plain text for the days of that month. The text is actually YAML markup. Without the (unnecessary) python directives the files look like this:

24: {text: "This is a normal text entry."}
  Ideas: {"Invent Anti-Hangover machine": null}
  text: "This is another text entry, shown in the main text area."

As you can see, the data format uses a dictionary (hashmap) for storing the information. The outer dictionary has the day numbers as keys and the day content as values. The day values consist of another dictionary. It can have a key "text" whose value will be inserted in the main content area. Additionally there can be multiple other keys that stand for the categories that belong to that day. Each category contains a dictionary mapping category entries to the null value.

In summary the data format is a hierarchy of dictionaries. This way the format can be easily extended if the need for that arises.

All textual content can be formatted with markup.


If you have any questions or comments, feel free to post them on the mailing list or contact me directly.


There is no software without bugs, so if you encounter one please drop me a note. This way RedNotebook can get better, not only for you, but for all users.

Bug reports should go here, but if you don't know how to use that site, a simple mail is equally fine.