====== FAQ ======

Mail [[pardus@cpan.org|pardus]] if you have questions that you would like to see answered below.

=== How do I set a default directory? ===
If you edit your config file (close **zim** first) and set ''default_root'' to the default directory you can run zim without arguments. See [[:zim:usage:preferences|preferences]] for more information.

=== How do you close these "tabs" ? ===
Uhm, if you mean the buttons above your page, technically that are not tabs but a path bar keeping track of your history or recent pages. The buttons in this bar map to pages in your browse history, not to open pages or something like that. You can not "close" something that is in your history.

=== I would like zim to hide in the system tray. ===
There is a [[zim:usage:plugins|plugin]] for that which can be turned on in the [[zim:usage:preferences|preferences dialog]]. Note that you need to have the ''Gtk2::TrayIcon'' perl module installed to use this plugin.

=== Is it possible to get a bigger font ? ===
The font used by **zim** is just the gtk default. At the moment it is not possible to configure the font for **zim** specifically but you can set your gtk font to another size. Just put something like 

	gtk-font-name = "Sans 14"

in the ''~/.gtkrc-2.0'' file.

=== How do I change the toolbar style ? ===
You can add the following lines to your ''~/.gtkrc-2.0'' file.

	gtk-toolbar-style     = GTK_TOOLBAR_ICONS
	gtk-toolbar-icon-size = GTK_ICON_SIZE_SMALL_TOOLBAR

This removes text labels in the toolbar and sets the icons to a small size.

=== What about the Gnome HIG? ===
**Zim** tries to follow the [[http://developer.gnome.org/projects/gup/hig/|HIG]] when practical, but doesn't adhere very strictly to it.

=== Does it run on windows? ===
Yes it does. You will need to get perl, gtk+ and the perl Gtk2 bindings to work though. Installing perl is easy (see [[http://www.activestate.com/|ActiveState]]), for installing the gtk perl bindings see the FAQ on http://gtk2-perl.sourceforge.net.

Also have a look at [[http://dewarim.de/wms/programme/installing_zim.html|Installing Zim on Windows XP]]

We are still looking for a volunteer to build and maintain a windows executable.

=== How do I compile a "statically linked" binary ? ===
Theoretically you can do this using the [[http://search.cpan.org/~autrijus/PAR/|PAR module]]. Practically speaking there are a number of bugs to fix before this will work.

If you want to give it a try type "./''Build static''" in the source tree on a system that has **zim** installed. This should build a single executable containing perl, gtk+ and **zim** This is a highly experimental build action though. The resulting executable is buggy and may segfault at random. This has not been tested for windows.
