Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
midori:faq [2012/09/18 15:22] – [Flash doesn't work] pfor | midori:faq [2014/06/05 00:36] – cleanup and explain gstreamer version numbers gue5t | ||
---|---|---|---|
Line 3: | Line 3: | ||
**This document is licensed under the LGPL 2.1.** | **This document is licensed under the LGPL 2.1.** | ||
- | This is a list of frequently asked questions about the Midori Web Browser. Anyone feel free to improve | + | This is a list of frequently asked questions about the Midori Web Browser. Anyone |
- | ====== | + | ====== |
=== What is " | === What is " | ||
- | Midori is a Web Browser, | + | Midori is a Web browser |
=== How to pronounce Midori and what does the name mean? === | === How to pronounce Midori and what does the name mean? === | ||
Line 17: | Line 17: | ||
=== On which platforms does Midori run currently? === | === On which platforms does Midori run currently? === | ||
- | Midori is basically very portable and should run on all platforms that its dependencies support. | + | Midori is portable and should run on all platforms that its dependencies support. Releases exist on various Linux distributions, |
=== Under which license is Midori distributed? | === Under which license is Midori distributed? | ||
Line 26: | Line 26: | ||
=== Why does Google Mail/ Calendar/ Maps, Facebook not work or show mobile version? === | === Why does Google Mail/ Calendar/ Maps, Facebook not work or show mobile version? === | ||
- | Some websites | + | Some websites |
- | If you have Midori older than 0.3.5, go to Preferences > Network > Identify As, and choose Custom. Paste this into the entry: | + | You can change the browser name sent to web sites at Preferences > Network > Identify As |
- | Mozilla/5.0 (X11; Linux) AppleWebKit/531.2+ Midori/0.3 | + | Either choose a predefined user-agent or choose Custom and find a suitable string in [[http://useragentstring.com/pages/ |
- | + | ||
- | If this doesn' | + | |
Many other websites use similar means of detecting the browser. | Many other websites use similar means of detecting the browser. | ||
- | Ideally | + | Google [[http:// |
=== There are missing icons/ warnings === | === There are missing icons/ warnings === | ||
- | The set of themed | + | Midori uses a wide variety |
+ | |||
+ | if you need to set a custom path for these to be " | ||
+ | |||
+ | XDG_DATA_HOME=/ | ||
+ | |||
+ | will add an extra path for the icons/... directory | ||
+ | |||
+ | In addition, GTK3 may remove icons from menus. This may be changed by placing < | ||
=== Tweaking Midori on the Gtk level === | === Tweaking Midori on the Gtk level === | ||
Line 56: | Line 62: | ||
Enable changing hotkeys while hovering menu items: | Enable changing hotkeys while hovering menu items: | ||
< | < | ||
+ | |||
+ | === Disable middle click pasting === | ||
+ | As of GTK+ >= 3.4 one can disable it globally in ~/ | ||
+ | < | ||
+ | |||
+ | Otherwise by adding a line to ~/ | ||
+ | < | ||
=== Midori crashes shortly before pages are loaded === | === Midori crashes shortly before pages are loaded === | ||
Line 65: | Line 78: | ||
export XDG_CACHE_HOME=/ | export XDG_CACHE_HOME=/ | ||
+ | ===== Security features ===== | ||
+ | |||
+ | === HSTS/ HTTP Strict Transport Security === | ||
+ | |||
+ | Midori >= 0.4.7 automatically picks up the Strict-Transport-Security header and caches sites locally. By design, there' | ||
=== Certificate Handling === | === Certificate Handling === | ||
- | Midori >= 0.4.7 supports [[gcr|http:// | + | Midori uses the system' |
+ | |||
+ | Midori >= 0.4.7 supports [[http:// | ||
== Error granting trust: Couldn' | == Error granting trust: Couldn' | ||
- | No key store is available or it's incorrectly setup. By default GNOME keyring can do this. Under Xfce it is recommended to enable "GNOME services" | + | No key store is available or it's incorrectly setup. By default GNOME keyring can do this. Under Xfce it is recommended to enable "GNOME services" |
== A testcase for self-signed certificates == | == A testcase for self-signed certificates == | ||
Line 81: | Line 101: | ||
=== Windows support === | === Windows support === | ||
- | WebKitGTK+ and thusly Midori on Windows doesn' | + | Starting with WebkitGTK+ 1.8.2 (Midori 0.4.7) Netscape plugins are now supported |
- | + | ||
- | Starting with WebkitGTK+ 1.8.2 (Midori 0.4.7) Netscape plugins are now supported. | + | |
- | Midori should pick them up from standard netscape plugins locations. | + | |
=== Netscape plugins on Linux, BSD and OS X === | === Netscape plugins on Linux, BSD and OS X === | ||
Line 98: | Line 115: | ||
=== Flash is crashing/ No Flash with GTK+3 === | === Flash is crashing/ No Flash with GTK+3 === | ||
- | nspluginwrapper is a program that runs Flash and other Netscape plugins in a separate process. So a crash can' | + | nspluginwrapper is a program that runs Flash and other Netscape plugins in a separate process. So a crash can' |
+ | <code bash> | ||
sudo apt-get install nspluginwrapper | sudo apt-get install nspluginwrapper | ||
- | sudo nspluginwrapper | + | # On Debian/ Ubuntu |
- | nspluginwrapper -v -a -n -i | + | sudo apt-get install |
+ | # cd into the folder where the plugin was installed | ||
+ | nspluginwrapper -v -a -n -i libflashplayer.so | ||
+ | </ | ||
+ | |||
+ | ~/.mozilla can also be used with Adobe' | ||
+ | |||
+ | Another remedy is using WebKit2 - starting with Midori 0.4.9 experimental support is available, [[https:// | ||
=== HTTPS URLS won't load === | === HTTPS URLS won't load === | ||
Line 115: | Line 140: | ||
=== Scroll with middle mouse button/ pan-scrolling === | === Scroll with middle mouse button/ pan-scrolling === | ||
+ | |||
+ | Windows-style middle-click behavior is | ||
http:// | http:// | ||
Line 121: | Line 148: | ||
Upstream Bug: https:// | Upstream Bug: https:// | ||
- | === HTML5 Video doesn' | + | === HTML5 Video/ Audio doesn' |
- | You need to have GStreamer plugins installed which implement the codecs. | + | [[# |
- | - You need gstreamer0.10-pulse if you're using PulseAudio. | + | - You need gstreamer(0.10/1.0)-pulse if you're using PulseAudio. |
- | - You may need gstreamer0.10-alsa for ALSA, depending on your distribution. | + | - You may need gstreamer(0.10/1.0)-alsa for ALSA, depending on your distribution. |
- | - You need plugins for Theora, | + | - You need plugins for Theora, |
- For Youtube or Vimeo, you need WebKitGTK+ 1.1.20 or newer. | - For Youtube or Vimeo, you need WebKitGTK+ 1.1.20 or newer. | ||
- You can [[http:// | - You can [[http:// | ||
- | - Since Midori 0.3.5 you can look at "about: | + | - You can look at about: |
=== Java doesn' | === Java doesn' | ||
Line 161: | Line 188: | ||
You need to set Preferences > Network > Identify As to Firefox. | You need to set Preferences > Network > Identify As to Firefox. | ||
+ | |||
+ | === Google Docs says "Clear your caches" | ||
+ | |||
+ | If you use the Adblock extension, EasyPrivacy may conflict with Google Docs. Disable the subscription if you use it. Otherwise try disabling Adblock entirely. | ||
=== Opening html email with Mutt === | === Opening html email with Mutt === | ||
Line 186: | Line 217: | ||
LXDE is unfortunately not supported yet, see https:// | LXDE is unfortunately not supported yet, see https:// | ||
- | === Open magnet:, irc:, apt: and friends | + | === Open magnet:, irc:, apt:, bitcoin: |
As of git 2011-03-05 02:40:00 UTC and Midori 0.3.3 you can | As of git 2011-03-05 02:40:00 UTC and Midori 0.3.3 you can | ||
Line 199: | Line 230: | ||
Note that incomplete .desktop files will silently fail and it will look as if it doesn' | Note that incomplete .desktop files will silently fail and it will look as if it doesn' | ||
+ | |||
+ | For [[http:// | ||
=== Spell check === | === Spell check === | ||
Line 205: | Line 238: | ||
Edit-> | Edit-> | ||
- | Now while typing any errors should get underlined in red. To get suggestions, | + | Now while typing any errors should get underlined in red. To get suggestions, |
- | On Windows | + | On Windows [[http:// |
- | You need to go to [[http:// | + | |
- | zipped file for your locale(s) and unpack the content of zip file(s) | + | |
- | share/ | + | |
- | and *.dic files extracted from zip file(s) | + | |
=== Is it possible to disable Same Origin Policy? What Webkit settings not in the preferences can I change? === | === Is it possible to disable Same Origin Policy? What Webkit settings not in the preferences can I change? === | ||
Line 281: | Line 310: | ||
The same options available to -a/ --app can be used for private browsing mode. | The same options available to -a/ --app can be used for private browsing mode. | ||
+ | |||
+ | ===== Portable mode/ Win32 ===== | ||
+ | |||
+ | On Windows builds, -P/ --portable causes all data to be written to the " | ||
===== Kiosk mode ===== | ===== Kiosk mode ===== | ||
Line 301: | Line 334: | ||
Any links outside end up in an error page. All images and other files won't be loaded. | Any links outside end up in an error page. All images and other files won't be loaded. | ||
+ | |||
+ | ===== Always open Midori in Fullscreen ===== | ||
+ | |||
+ | Using the WM to get Midori into fullscreen mode, or calling " | ||
+ | |||
+ | If for whatever reason this isn't enough, [[https:// | ||
+ | |||
+ | ~/ | ||
+ | |||
+ | (begin | ||
+ | (if | ||
+ | (and | ||
+ | (is (application_name) " | ||
+ | ) | ||
+ | (begin | ||
+ | (maximize) | ||
+ | ) | ||
+ | ) | ||
+ | ) | ||
+ | |||
+ | ===== Overriding settings and loading extensions ===== | ||
+ | |||
+ | As of Midori 0.5.0 the --execute command line switch got more powerful: | ||
+ | |||
+ | '' | ||
+ | |||
+ | '' | ||
====== Proxy servers ====== | ====== Proxy servers ====== | ||
Line 328: | Line 388: | ||
=== Are SOCKS proxy servers supported? === | === Are SOCKS proxy servers supported? === | ||
- | The coming | + | As of Midori 0.5.0 and libSoup 2.40 SOCKS proxies |
libSoup < 2.40 only supports HTTP proxy servers directly. A way to use SOCKS on Unix is to use tsocks with SSH as follows: | libSoup < 2.40 only supports HTTP proxy servers directly. A way to use SOCKS on Unix is to use tsocks with SSH as follows: | ||
Line 387: | Line 447: | ||
By default the right mouse button initiates gestures. | By default the right mouse button initiates gestures. | ||
- | You can change the button using a hidden option: | + | You can change the button |
- | - Create a text file ~/ | + | - Create a text file ~/ |
- Type the following in there: | - Type the following in there: | ||
Line 395: | Line 455: | ||
button=2 | button=2 | ||
- | For a quick and dirty overview | + | As of Midori 0.5.0 individual |
- | Further information is available | + | Consult " |
- | Additionally, | + | [gestures] |
+ | Quit=W;E; | ||
+ | TabPrevious=SW; | ||
+ | TabNext=SE; | ||
+ | Additionally, | ||
====== User scripts and styles ====== | ====== User scripts and styles ====== | ||
Line 450: | Line 514: | ||
Customize as needed: | Customize as needed: | ||
- | < | + | < |
text-decoration: | text-decoration: | ||
} | } | ||
Line 464: | Line 528: | ||
z-index: 9999; | z-index: 9999; | ||
}</ | }</ | ||
+ | |||
+ | === Tweaking fonts via CSS === | ||
+ | |||
+ | If changing system-wide font settings isn't bringing the desired results or rendering should be tweaked only for websites CSS can be an alternative. Add the following to **~/ | ||
+ | |||
+ | Customize as needed: | ||
+ | |||
+ | <code css>* { | ||
+ | font-smooth: | ||
+ | -webkit-font-smoothing: | ||
+ | text-rendering: | ||
+ | }</ | ||
+ | |||
+ | ===== Midori Architecture ===== | ||
+ | |||
+ | Midori stands on the shoulders of three giants in particular: the software libraries GTK+, WebKitGTK+, and libsoup. GTK+ provides the buttons, windows and menus, WebKitGTK+ draws and controls web pages, and libsoup downloads those pages. | ||
+ | |||
+ | WebKitGTK+ itself uses two other important libraries: JavaScriptCore, | ||
+ | |||
+ | ===== WebKit Version Numbers ===== | ||
+ | |||
+ | WebKit is the core of the Midori browser, and it determines how web pages are rendered. Because WebKit is a complex piece of software and compatible with various libraries, its version numbers and naming schemes can at times be confusing. | ||
+ | |||
+ | WebKit itself is a library which works in many environments, | ||
+ | |||
+ | WebKitGTK+ can be compiled against either GTK+2 or GTK+3. This will result in library filenames like libwebkitgtk-1.0.so or libwebkitgtk-3.0.so, | ||
+ | |||
+ | WebKit has a "new API layer ... designed from the ground up to support a split process model" | ||
+ | |||
+ | To find out the version of WebKitGTK+ your build of Midori is using, visit about: | ||
+ | |||
+ | === Version Number Interactions === | ||
+ | |||
+ | The WebKit2 API layer is available from fairly old WebKit versions through the present, but Midori' | ||
+ | |||
+ | Midori' | ||
+ | |||
+ | ====== Midori and mediaHerald ====== | ||
+ | |||
+ | |||
+ | mediaHerald is a dbus service (/ | ||
+ | |||
+ | If you want to get the video title and the uri is easy more than easy :-) . | ||
+ | <code bash> | ||
+ | #!/bin/sh | ||
+ | |||
+ | eval $(dbus-send --session --print-reply --dest=org.midori.mediaHerald / | ||
+ | / | ||
+ | while (1) { | ||
+ | getline line | ||
+ | if (line ~ /string "/) | ||
+ | sub(/ | ||
+ | print line | ||
+ | break | ||
+ | } | ||
+ | } | ||
+ | / | ||
+ | while (1) { | ||
+ | getline line | ||
+ | if (line ~ /string "/) | ||
+ | sub(/ | ||
+ | print line | ||
+ | break | ||
+ | } | ||
+ | } | ||
+ | ') | ||
+ | echo " | ||
+ | </ |