Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
midori:faq [2013/08/07 17:14] – add explanation of webkit versions, variations, and naming gue5t | midori:faq [2017/02/21 14:36] – [Security features] alemao | ||
---|---|---|---|
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: | ||
< | < | ||
+ | |||
+ | === Making the current tab more visible === | ||
+ | |||
+ | To make the current tab more visible in Midori, when running Elementary edit the file / | ||
+ | |||
+ | < | ||
+ | font-weight: | ||
+ | |||
+ | Note that this will also affect tabs on Files, Scratch and other apps. The change is presumably applicable to other GTK+3 based themes but it wasn't tested. | ||
=== Disable middle click pasting === | === Disable middle click pasting === | ||
Line 72: | Line 87: | ||
export XDG_CACHE_HOME=/ | export XDG_CACHE_HOME=/ | ||
- | |||
===== Security features ===== | ===== Security features ===== | ||
Line 88: | Line 102: | ||
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" | ||
+ | |||
+ | In order to solve it, follow the steps: | ||
+ | 1- make sure that gnome-keyring-pkcs11.so exists in your machine, the location can be found with: | ||
+ | $ sudo find / -name gnome-keyring-pkcs11.so | ||
+ | |||
+ | Depending on the architecture it can be under / | ||
+ | |||
+ | If you don't find them, you must install it:\\ | ||
+ | |||
+ | **64bit machine: **\\ | ||
+ | $ sudo apt-get install libp11-kit-gnome-keyring | ||
+ | |||
+ | **32bit machine: **\\ | ||
+ | $ sudo apt-get install libp11-kit-gnome-keyring: | ||
+ | |||
+ | After that the file should be in the expected place. | ||
+ | |||
+ | 2- Now **CLOSE** Midori. | ||
+ | |||
+ | 3- After it is totally closed, run: | ||
+ | |||
+ | **64bit machine: **\\ | ||
+ | $ modutil -add gnome-keyring -libfile ./ | ||
+ | |||
+ | **32bit machine: **\\ | ||
+ | $ modutil -add gnome-keyring -libfile ./ | ||
== A testcase for self-signed certificates == | == A testcase for self-signed certificates == | ||
Line 113: | Line 153: | ||
<code bash> | <code bash> | ||
- | sudo apt-get install | + | 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 | ||
</ | </ | ||
Line 133: | Line 175: | ||
=== Scroll with middle mouse button/ pan-scrolling === | === Scroll with middle mouse button/ pan-scrolling === | ||
+ | |||
+ | Windows-style middle-click behavior is | ||
http:// | http:// | ||
Line 139: | Line 183: | ||
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 438: | Line 482: | ||
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 446: | Line 490: | ||
button=2 | button=2 | ||
- | As of Midori 0.5.0 individual gestures can be configured freely, consult | + | As of Midori 0.5.0 individual gestures can be configured freely |
+ | Consult | ||
[gestures] | [gestures] | ||
Line 452: | Line 497: | ||
TabPrevious=SW; | TabPrevious=SW; | ||
TabNext=SE; | TabNext=SE; | ||
- | |||
- | Separated by ; the right-hand values are cardinal directions, (W)est, (E)east, (N)orth, (S)outh. You can also combine eg. WE for West East. | ||
Additionally, | Additionally, | ||
Line 506: | Line 549: | ||
Customize as needed: | Customize as needed: | ||
- | < | + | < |
text-decoration: | text-decoration: | ||
} | } | ||
Line 521: | Line 564: | ||
}</ | }</ | ||
- | ===== Understanding WebKit Version Numbers ===== | + | === Tweaking fonts via CSS === |
- | 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 | + | 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 [[http:// | ||
+ | |||
+ | WebKitGTK+ itself uses two other important libraries: [[https:// | ||
+ | ===== 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 | ||
WebKit itself is a library which works in many environments, | WebKit itself is a library which works in many environments, | ||
Line 531: | Line 591: | ||
WebKit has a "new API layer ... designed from the ground up to support a split process model" | WebKit has a "new API layer ... designed from the ground up to support a split process model" | ||
- | The version of WebKitGTK+ | + | To find out the version of WebKitGTK+ |
=== Version Number Interactions === | === Version Number Interactions === | ||
- | WebKit2 | + | The WebKit2 |
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 " | ||
+ | </ |