Xfce Wiki

Sub domains

This is an old revision of the document!

Midori - Frequently asked questions

This is a list of frequently asked questions about the Midori Web Browser. Anyone feel free to improve and/ or extend this page, but keep it clean and easy to read for other Xfce users.

Getting started

About Midori

What is "Midori" and why should I use it?

Midori is a Web Browser, that aims to be lightweight and fast. It aligns well with the Xfce philosophy of making the most out of available resources.

How to pronounce Midori and what does the name mean?

Pronounce it “midoɺi”, with a Bavarian/ Japanese “r” or “Mee-Doh-Ree” in English or read it Italian. The name comes from the Japanese word 緑 (みどり) for the colour “green”.

What does the logo mean?

The paw of a green cat. Obviously. Also it resembles the letter “M” in “Midori”. The curving is supposed to emphasize speed.

On which platforms does Midori run currently?

Midori is basically very portable and should run on all platforms that its dependencies support.

Under which license is Midori distributed?

Midori and all delivered artwork are licensed under the LGPL2.

Common problems

There are missing icons/ warnings

The set of themed icons Midori can use is very limited. For instance icons for a new tab or the throbber are not guaranteed to be available. To fix this, install a Freedesktop.org spec compliant icon theme, such as Tango or Gnome, or one that is compatible with these.

Tweaking Midori on the Gtk level

If you don't have a desktop application that takes care of Gtk settings or if your interface doesn't support a particular feature, you can modify any settings easily manually by specifying them in a text file called ~/.gtkrc-2.0 or /etc/gtk-2.0/gtkrc:

Use Tango as a fallback for your icon theme:

gtk-icon-theme = "MySuperFancyTheme"
gtk-fallback-icon-theme = "Tango"

Use a smaller toolbar:

gtk-toolbar-icon-size = GTK_ICON_SIZE_SMALL_TOOLBAR

Enable changing hotkeys while hovering menu items:

gtk-can-change-accels = 1

Midori crashes shortly before pages are loaded

There appears to be an issue with Glib 2.16. The recommended solution is to upgrade your Glib package to 2.18.

Flash/ Netscape plugins don't work

You need to set MOZ_PLUGIN_PATH, for example like this:

export MOZ_PLUGIN_PATH="/usr/lib/mozilla/plugins"

The official Flash plugin is called libflashplayer.so .

You can either run that above line and run Midori in the same terminal afterwards or, for the long term, put it in ~/.bash_profile or /etc/profile.d or your respective distribution's place for this.

Flash is crashing all the time

Have a look at NSPluginWrapper which implements plugins in their own process so they can't drag down the whole browser.

HTTPS URLS won't load

That's a problem with WebKit. You can work around it to some extent if you start Midori like so:

export WEBKIT_IGNORE_SSL_ERRORS="1" midori

GIO-2.0 version

If you're trying to build midori on an older system, when you run

./waf configure

you may get the following message:

Checking for gio-2.0 >= 2.16.0    : Package gio-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gio-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gio-2.0' found

This may mean that you don't have libglib2.0-dev installed, or that the version you have is too old.

On a Debian machine you can check the libglib2.0 version with:

user@debian:~/midori-0.1.9$ dpkg -l | grep glib
ii  libglib2.0-0             2.12.4-2+etch1           The GLib library of C routines
ii  libglib2.0-data          2.12.4-2+etch1           Common files for GLib library
ii  libglib2.0-dev           2.12.4-2+etch1           Development files for the GLib library

In this case, the libglib2.0 with etch is at 2.12.4-2+etch1, glib needs to be >= 2.16 (currently as of Sep 2009 it is at 2.20.1-2 on sqeeze.)

Javascript Popup windows

By default, Midori blocks all popup windows that openen on their own. With WebKitGTK+ 1.1.11 or higher, you can use a hidden setting to enable these windows.

  1. Quit Midori
  2. Open the file ~/.config/midori/config
  3. Add a line “javascript-can-open-windows-automatically=true”

Scroll with middle mouse button

No video in HTML5 Video objects

Webkit using gstreamer 0.10 as a video framework. So in order to make it work make sure that you have following gstreamer packages installed:

  1. gstreamer0.10-alsa for alsa sound output or gstreamer0.10-pulseaudio for pulseaudio output
  2. gstreamer0.10-plugins-good and gstreamer0.10-ffmpeg plugins

Cant import bookmarks from firefox

Currently midori doesnt import bookmarks from firefox. But there is a way to do this manually.

  1. Export your bookmarks from firefox into html file. (Bookmarks → Manage bookmarks → Import/Export → Export into html)
  2. Select Netscape as “input format” and XBEL as “output format”, select a file with your exported bookmarks and press “Convert”
  3. Import file into midori. (Bookmarks → Import bookmarks)


Download Managers

Midori can start downloads with an external download manager. To use that feature, open up the Preferences and insert the name of a program executable in the Download Manager executable. There is a list of download managers on Wikipedia.

Uget (former Urlgfe)

UGet is a cross platform download manager. It can watch the clipboard to offer download dialogues automatically and it can be configured to pass through files, such as torrents, to the appropriate handler.


GGet is a download manager primarily for the GNOME desktop, but it also works in other unix/ GTk+ environments.


A simple shell script that uses wget to download the files and informs the user with a notification when the downloads are complete.

You need a notification daemon, usually you already have the one from GNOME, but there is also notification-daemon-xfce and xfce4-notifyd (only in git).

test -z "0.70€" && exit 1
if [ -f ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs ]; then
    . ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs
notify-send -t 1500 -u low -i gtk-save Midori\ Download "Download started...
wget "$*" -P $XDG_DOWNLOAD_DIR || exit 2
notify-send -u low -i gtk-save Midori\ Download "The download is complete.
<a href=\"file://$XDG_DOWNLOAD_DIR\">$XDG_DOWNLOAD_DIR</a>"

Proxy servers

By running a local proxy you can modify web content even before it has reached Midori. That allows you to do things similar to what user scripts and user styles provide and even others that neither is suitable for.

To use Midori with a proxy server, there are two options:

1. WebKit is built with libcurl. Define an environment variable http_proxy and set it to your proxy server like so:

export http_proxy =

2. WebKit is built with libsoup. Midori >= 0.1.2, is built with libsoup. Try to open some web page. Now open the preferences, and you should see a Network tab with a 'Proxy server' field.


Privoxy is a non-caching web proxy with filter capabilites and particular support for blocking advertisements before even loading them.



Mousehole is a scriptable proxy server written in Ruby.



Polipo is a caching web proxy (a web cache) designed to be used by one person or a small group of people. It is similar in spirit to WWWOFFLE, but the implementation techniques are more like the ones used by Squid.


Mouse Gestures

Midori has an extension that implements Mouse Gestures now. It is only available in the repository and won't work with a copy older than 2009-01-21.

For a quick and dirty overview of the gestures in the current release take a look at the preliminary manual. Further information is available at the MGX website.

Additionally, there are programs allowing mouse gestures system-wide, for example EasyStroke.

Search Engines

Search engines are tools to ease searches on different web sites. In order to search something with a website, that site must provide a search feature available with a web form. In this example, we will setup a search engine for the English Wikipedia.

Step 1: Search the web form, and find the right parameters

The search form of the Wikipedia web site is available in the left column. Just enter your search terms (for example “Midori browser”) and validate. You're then directed to a result page. You can see its address in the location bar. It is http://en.wikipedia.org/wiki/Special:Search?search=Midori+browser&go=Go. Notice that your search terms are present in the result page address.

Step 2: Setting up a search engine in Midori

Now, open the Search Engine Manager

Here it is

If you validate the Add button, you are presented an interface to enter different parameters. Choose a name and a description. Then enter a search URL. That is your previous search URL with your search term replaced with %s. When searching something with that search engine, Midori will use the search URL, replace %s with your search terms, and bring you to computed URL. We don't care about the icon yet. A token can be used as a shorthand for a keyboard search. It's therefore important to use an easy to remember token. For example, we use “wp” for the Wikipepdia. More to come about tokens latter.

Now, your search engine is created.

You can check its presence in the Midori search bar

Step 3: Use your search engine

Now, you can use it by typing your search term in the location bar. If you search for “Midori browser”, you should be redirected to http://en.wikipedia.org/wiki/Special:Search?search=Midori+browser&go=Go. Since we assigned the token “wp” to our search engine, you can also access the result page by typing “wp Midori browser” in the location bar.

Tip: You can go through the this tutorial and replace all instances of “en.” in “en.wikipedia.org” with “fr.” or any other Wikipedia country code and you will have your Wikipedia search in your favourite language.

User scripts


UserScripts are scripts applied on some, or on all web pages. They can modify pages locally to add or alter functionality. That includes fixing bugs in web pages. User scripts are also available in other browsers, in the form of Mozilla's Greasemonkey or Opera's User JavaScript.

GreaseMonkey compatibility

Midori's support for user scripts aims to be compatible with Greasemonkey to a good extent. Midori supports Greasemonkey's @include and @exclude metadata. So user scripts have a way to define on which pages they will be executed. Midori does not support advanced metadata, such as @require and @resource, so user scripts cannot define dependencies on other scripts. Midori also does not support greasemonkey's api. Be aware that scripts must be compatible with Webkit. A Greasemonkey script that makes use of functionality specific to Gecko will not work in Midori.

How to install a UserScript

First, you need to find some scripts (or write your own). You can find some at userscripts.org. As explained previously, a lot of scripts work, while others do not work.

To install a userscript, you have to download the script as a file, and put it in the folder ~/.local/share/midori/scripts (you may need to create that folder if it does not exist). Midori will automatically see and use it, which you can also see in the user scripts panel.

Note, if the script is only shown as source code on the page, you first have to create a new text file in a text editor, copy the source code into the new file, and save it as my-user-script.user.js where “.user.js” is the extension.

Feed (RSS/Atom) reading via a UserScript

Midori is indeed sure can handle RSS and ATOM feeds (via it's Feed Panel extension) and yet, it's lack of spotting feed addresses makes it pretty difficult to find these addresses on websites that do not have an organized list of feeds addresses. To track those hidden (not well organized) feeds you can use RSS+Atom Feed Subscribe Button Generator as a user script which finds RSS/Atom links on a page and inserts feed subscription links on the Top Left of the page, and just Right-Click on the newly created RSS/Atom oblong box Copy Link Location and add the address to your favorite news aggregator.

Flash blocking via a UserScript

You can use BlockFlash2 as a user script which “Replaces” Flash individual flash elements with a button that says [Play Flash].

Flash blocking via a User style

You can also use FlashBlock WannaBe as a user script in order to replace Flash elements with placeholders and load them on click. The script is pretty advanced compared to most Flash blockers found on the web.

User styles


User styles are CSS Cascading Style sheets that are loaded locally and applied on top of web pages, similar to User scripts, in order to add or alter functionality and also fix bugs.

How to install a user style

First, you need to find some styles (or write your own). You can find some at userstyles.org. Many styles may or may not work, depending on whether the author decided to use browser specific features.

To install a user style, you have to download the style as a file, and put it in the folder ~/.local/share/midori/styles (you may need to create that folder if it does not exist). Midori will automatically see and use it, which you can also see in the user styles panel.

Note, if the style is only shown as source code on the page, you first have to create a new text file in a text editor, copy the source code into the new file, and save it as my-user-style.user.css where “.user.css” is the extension.

How to install a user style before Midori 0.0.20

Open up the Preferences and use the file chooser button beside User Stylesheet to choose a style sheet file. The style sheet will from now on be applied to all sites automatically.

Reporting a bug

If you find a bug in Midori, the first step to have it fixed is to report it with Midori's bug tracker. You will improve chances to have the bug fixed if you report it effectively. So here are some tips to make your report useful.

Midori is based on the WebKitGtk rendering engine. This means the process of displaying web content on a page is done mainly by the WebKit library. If your bug involves the user interface of Midori (buttons, menu, addressbar, behavior and so on) it's definitely a bug in Midori. If your bug involves a crash when visiting a specific website, or a page displaying improperly, this could be a WebKit problem.

Before opening a bug report in Midori's bugtracker, please check if the problem comes from the WebKit side or is on the Midori side. Webkit provides a minimal browser named GtkLauncher. If you installed WebKit via your Linux distribution's package, GtkLauncher should be installed as part of that WebKit package. If you're on a Debian system (tested on squeeze) you can find it in /usr/lib/webkit-(version)/libexec/GtkLauncher (e.g. /usr/lib/webkit-1.0-2/libexec/GtkLauncher ). If you compiled WebKit yourself, GtkLauncher should be in the Programs/ directory.

First, launch GtkLauncher and open the problematic website. If the same problem occurs in GtkLauncher too, you've probably encountered a bug in WebKit itself. The problem is therefore more likely to be fixed if you report it via the WebKit bug tracker. If the problem appears in Midori but not in GtkLauncher, you've probably encountered a Midori problem, so should report it via the Midori bug tracker.