Xfce Wiki

Sub domains
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
midori_faq [2009/08/09 15:04] – Feed (RSS/Atom) Spotting 87.68.28.148midori_faq [2010/04/15 22:38] – SOCKS > Get the ordered list counting from 1 to 7 mike
Line 42: Line 42:
 You need to set MOZ_PLUGIN_PATH, for example like this: You need to set MOZ_PLUGIN_PATH, for example like this:
  
-<code bash>export MOZ_PLUGIN_PATH="/usr/lib/mozilla/plugins:/opt/mozilla/lib/plugins"</code>+<code bash>export MOZ_PLUGIN_PATH="/usr/lib/mozilla/plugins"</code> 
 + 
 +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. 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 [[http://gwenole.beauchesne.info/en/blog/2008/12/26/nspluginwrapper_1.2.0|NSPluginWrapper]] which implements plugins in their own process so they can't drag down the whole browser.
  
 === HTTPS URLS won't load === === HTTPS URLS won't load ===
Line 51: Line 57:
  
 <code bash>export WEBKIT_IGNORE_SSL_ERRORS="1" midori</code> <code bash>export WEBKIT_IGNORE_SSL_ERRORS="1" midori</code>
 +
 +=== GIO-2.0 version ===
 +
 +If you're trying to build midori on an older system, when you run
 +<code>./waf configure</code>
 +you may get the following message:
 +
 +<code>
 +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
 +</code>
 +
 +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:
 +
 +<code>
 +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
 +</code>
 +
 +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.
 +
 +  - Quit Midori
 +  - Open the file ~/.config/midori/config
 +  - Add a line "javascript-can-open-windows-automatically=true"
 +
 +There is also a preference in the git version as of 2010-03-23.
 +
 +=== Scroll with middle mouse button ===
 +
 +http://ubuntuforums.org/showthread.php?t=478418
 +
 +=== 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: 
 +
 +  - gstreamer0.10-alsa for alsa sound output or gstreamer0.10-pulseaudio for pulseaudio output
 +  - 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.
 +
 +  - Export your bookmarks from firefox into html file. (Bookmarks -> Manage bookmarks -> Import/Export -> Export into html)
 +  - Go to http://www.linkagogo.com/go/Convert
 +  - Select Netscape as "input format" and XBEL as "output format", select a file with your exported bookmarks and press "Convert"
 +  - Import file into midori. (Bookmarks -> Import bookmarks)
 +
 +=== Java doesn't work, applets don't show up ===
 +
 +Java is supported in WebKitGTK+ since 1.1.22. If you need Java, you need to upgrade to at least that version. Sun/ Oracle Java as well as IcedTea are known to work. Distribution specific setup might be required, such as setting LD_LIBRARY_PATH to include the location of libxul.so.
 +
 +=== Are SOCKS proxy servers supported? ===
 +
 +Currently only HTTP proxy servers are supported directly. A way to use SOCKS on Unix is to use tsocks with SSH as follows:
 +
 +  - Install 'tsocks'
 +  - Open /etc/tsocks.conf in an editor
 +  - Type something like this, you can choose the port freely: <code>
 +server = 127.0.0.1
 +server_type = 5
 +server_port = 5555</code>
 +  - Open an SSH connection with the same port: <code> ssh -D localhost:5555 myhost.com </code>
 +  - Run Midori with "tsocks" in front of it: <code> tsocks midori </code>
 +  - Now you can use for example http://www.whatsmyip.org/ to verify that you are using a SOCKS connection. The IP address should match the one of your SSH host. Remember to keep the SSH login running, and don't suspend it, otherwise it won't work.
 +  - If the connection fails for some reason, you should see a connection error.
  
 ====== Features ====== ====== Features ======
Line 56: Line 137:
  
 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 [[http://en.wikipedia.org/wiki/Comparison_of_download_managers|Wikipedia]]. 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 [[http://en.wikipedia.org/wiki/Comparison_of_download_managers|Wikipedia]].
 +
 +=== Uget (former Urlgfe) ===
 +
 +[[http://urlget.sourceforge.net/|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 === === GGet ===
Line 69: Line 154:
 <code bash>#!/bin/sh <code bash>#!/bin/sh
  
-test -z "$1" && exit 1+test -z "0.70€" && exit 1
  
 if [ -f ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs ]; then if [ -f ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs ]; then
Line 81: Line 166:
 notify-send -u low -i gtk-save Midori\ Download "The download is complete. notify-send -u low -i gtk-save Midori\ Download "The download is complete.
 <a href=\"file://$XDG_DOWNLOAD_DIR\">$XDG_DOWNLOAD_DIR</a>"</code> <a href=\"file://$XDG_DOWNLOAD_DIR\">$XDG_DOWNLOAD_DIR</a>"</code>
- 
 ===== Proxy servers ===== ===== Proxy servers =====
  
Line 105: Line 189:
  
 http://code.whytheluckystiff.net/mouseHole/ http://code.whytheluckystiff.net/mouseHole/
 +
 +=== Polipo ===
 +
 + 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.
 +
 +http://www.pps.jussieu.fr/~jch/software/polipo/
 +
 ===== Mouse Gestures ===== ===== Mouse Gestures =====
  
Line 185: Line 278:
  
 You can also use [[http://rightfootin.blogspot.com/2009/04/flashblock-wannabe.html|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. You can also use [[http://rightfootin.blogspot.com/2009/04/flashblock-wannabe.html|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 =====
  
Line 204: Line 295:
  
 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. 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.
- 
-=== Ad blocking via a User style === 
- 
-You can use [[http://userstyles.org/styles/299|Ad Blocking FiltersetP]] as a style sheet in order to remove advertisings from web sites. 
  
 ===== Reporting a bug ===== ===== Reporting a bug =====
  
-If you find a bug in Midori, the first step to have it fixed is to report it to Midori's bug tracker. You will improve chances to have the bug fixed if you [[http://www.chiark.greenend.org.uk/~sgtatham/bugs.html|report it effectively]]. So here are some tips to make you report useful.+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 [[http://www.chiark.greenend.org.uk/~sgtatham/bugs.html|report it effectively]]. So here are some tips to make your report useful.
  
 === Is the bug related to WebKit or Midori ? === === Is the bug related to WebKit or Midori ? ===
Line 217: Line 304:
 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. 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.
  
-So, before opening a bug report in Midori's bugtracker, please check if the problem comes from the WebKit side or on midori side. Webkit provides a minimal browser named GtkLauncher. If you use your Linux distribution package, GtkLauncher is +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'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 ). 
-in likely in your WebKit package. If you have compiled WebKit yourself, GtkLauncher +If you compiled WebKit yourself, GtkLauncher should be in the **Programs/** directory.
-should be in the **Programs/** directory.+
  
-So, launch GtkLauncher and open the problematic website. If the problem occurs in +First, launch GtkLauncher and open the problematic website. If the same problem occurs in 
-GtkLauncher, you've probably encountered a bug in WebKit itself. So it is +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 [[http://bugs.webkit.org/|WebKit bug tracker]]. 
-more likely to be fixed if you report it in the [[http://bugs.webkit.org/|bug tracker of WebKit]]. If the problem appears in Midori but not in GtkLauncher, you've probably encountered a Midori problemreport it in the [[http://www.twotoasts.de/bugs/|bug tracker of Midori]].+If the problem appears in Midori but not in GtkLauncher, you've probably encountered a Midori problem, so should report it via the [[http://www.twotoasts.de/bugs/|Midori bug tracker]].