Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
midori:faq [2013/10/18 05:46] – [Common problems] twobob | midori:faq [2020/08/06 06:12] (current) – asffdd | ||
---|---|---|---|
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 " | if you need to set a custom path for these to be " | ||
Line 45: | Line 43: | ||
XDG_DATA_HOME=/ | XDG_DATA_HOME=/ | ||
- | will add an extra path for the icons/.. directory | + | 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 62: | 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 93: | 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 140: | 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 146: | 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 375: | Line 412: | ||
http:// | http:// | ||
+ | https:// | ||
=== Polipo === | === Polipo === | ||
Line 527: | Line 565: | ||
}</ | }</ | ||
- | ===== 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 537: | Line 592: | ||
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 " | ||
+ | </ |