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/06/23 12:02] – kalikiana | midori:faq [2014/06/05 00:00] – [Getting started] clean up grammar and mention working platforms 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 |
====== Getting started ====== | ====== Getting started ====== | ||
=== 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 === | ||
+ | |||
+ | Midori uses the system' | ||
+ | |||
+ | Midori >= 0.4.7 supports [[http:// | ||
+ | |||
+ | == 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" | ||
+ | |||
+ | == A testcase for self-signed certificates == | ||
+ | |||
+ | https:// | ||
===== Flash doesn' | ===== Flash doesn' | ||
=== Windows support === | === Windows support === | ||
- | WebKitGTK+ and thusly | + | Starting with WebkitGTK+ 1.8.2 (Midori |
=== Netscape plugins on Linux, BSD and OS X === | === Netscape plugins on Linux, BSD and OS X === | ||
Line 81: | Line 113: | ||
You can either run that above line and run Midori in the same terminal afterwards or, for the long term, put it in ~/ | You can either run that above line and run Midori in the same terminal afterwards or, for the long term, put it in ~/ | ||
- | === Flash is crashing | + | === 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't crash the whole browser and Flash, which is GTK+2 can run in GTK+3. | ||
+ | |||
+ | <code bash> | ||
+ | sudo apt-get install nspluginwrapper | ||
+ | # On Debian/ Ubuntu - on other systems http:// | ||
+ | sudo apt-get install flashplugin-installer | ||
+ | # cd into the folder where the plugin was installed | ||
+ | nspluginwrapper -v -a -n -i libflashplayer.so | ||
+ | </ | ||
+ | |||
+ | ~/.mozilla can also be used with Adobe' | ||
- | Try searching for a package named nspluginwrapper or similar in your distribution repositories. It implements plugins in their own process so they can't drag down the whole browser. | + | 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 99: | Line 143: | ||
http:// | http:// | ||
- | Bug: https:// | + | Bug: https:// |
Upstream Bug: https:// | Upstream Bug: https:// | ||
Line 142: | Line 186: | ||
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 167: | Line 215: | ||
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 180: | Line 228: | ||
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 186: | Line 236: | ||
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 [[http:// | ||
=== 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 196: | Line 248: | ||
- Activate the Statusbar Features plugin. | - Activate the Statusbar Features plugin. | ||
- Close Midori. | - Close Midori. | ||
- | - Create a folder ~/ | + | - Create a folder ~/ |
- Create a text file " | - Create a text file " | ||
- Type the following for the default setup: | - Type the following for the default setup: | ||
- | [config] | + | [settings] |
items=auto-load-images; | items=auto-load-images; | ||
Line 256: | Line 308: | ||
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 276: | Line 332: | ||
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 303: | Line 386: | ||
=== 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 362: | Line 445: | ||
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 370: | Line 453: | ||
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 425: | Line 512: | ||
Customize as needed: | Customize as needed: | ||
- | < | + | < |
text-decoration: | text-decoration: | ||
} | } | ||
Line 439: | Line 526: | ||
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: | ||
+ | }</ | ||
+ | |||
+ | |||
+ | ===== Understanding WebKit Version Numbers ===== | ||
+ | |||
+ | WebKit is the core of the Midori browser and often shows up in bug reports. Because WebKit is a complex piece of software and compatible with various libraries, its version numbers and naming schemes are not always clear to end-users. Read on and be enlightened: | ||
+ | |||
+ | 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" | ||
+ | |||
+ | The version of WebKitGTK+ is only interesting from the standpoint of which API features were available and which bugs were present in that particular release; it's best checked by visiting about: | ||
+ | |||
+ | === Version Number Interactions === | ||
+ | |||
+ | WebKit2 can be built even with quite old WebKit versions, though 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 " | ||
+ | </ |