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 [2013/10/18 05:46] – [Common problems] twobobmidori:faq [2014/06/05 00:00] – [Getting started] rename section 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 and/ or extend this page, but keep it clean and easy to read for other Xfce users.+This is a list of frequently asked questions about the Midori Web Browser. Anyone should feel free to improve or extend this page, but keep it clean and easy to read for other users.
  
-====== Getting started ======+====== About Midori ======
  
 === What is "Midori" and why should I use it? === === What is "Midori" and why should I use it? ===
-Midori is a Web Browser, that aims to be lightweight and fast. It aligns well with the Xfce philosophy of making the most out of available resources.+Midori is a Web browser that aims to be lightweight and fast. It aligns well with the Xfce philosophy of making the most out of available resources. It has a customizable interface using the GTK+ toolkit.
  
 === 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, for Windows versions prior to 8.1 (for now), and BSD.
  
 === 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 discriminate against your browser.+Some websites give up if they don't recognize your browser as Chrome, Firefox, IE, etc.
  
-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.+Either choose a predefined user-agent or choose Custom and find a suitable string in [[http://useragentstring.com/pages/useragentstring.php|a list]].
- +
-If this doesn't do the trick, try choosing Safari or Firefox.+
  
 Many other websites use similar means of detecting the browser. Many other websites use similar means of detecting the browser.
  
-Ideally Google would follow [[http://code.google.com/p/doctype/wiki/ArticleGoogleChromeCompatFAQ#UserAgent_Detection|their own recommendation]] at some point.+Google [[http://web.archive.org/web/20100625211333/http://code.google.com/p/doctype/wiki/ArticleGoogleChromeCompatFAQ|previously recommended]] the superior practice for website creators of checking which features are present rather than browser name/version, but has since weakened this stance with their browser's growing market share.
  
 === There are missing icons/ warnings === === There are missing icons/ warnings ===
-The set of themed icons Midori can use is very limited. For instance icons for a new tab or the throbber are not guaranteed to be available. To fix this, install a Freedesktop.org spec compliant icon theme, such as Elementary, Faenza, Buuf or GNOME.+Midori uses a wide variety of icons which may not be present in all themes. For instance icons for a new tab, to represent scripts, or the throbber may not available. To fix this, install a Freedesktop.org spec compliant icon theme, such as Elementary, Faenza, Buuf or GNOME.
  
 if you need to set a custom path for these to be "searched in" (Kiosks and embedded devices for example): if you need to set a custom path for these to be "searched in" (Kiosks and embedded devices for example):
Line 45: Line 43:
 XDG_DATA_HOME=/path/to/location   XDG_DATA_HOME=/path/to/location  
  
-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 <code>gtk-menu-images=true</code> in the file ~/.config/gtk-3.0/settings.ini
  
 === Tweaking Midori on the Gtk level === === Tweaking Midori on the Gtk level ===
Line 526: Line 526:
             z-index: 9999;             z-index: 9999;
         }</code>         }</code>
 +
 +=== 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 **~/.local/share/midori/styles**, then restart Midori and make sure that it is enabled Tools → Userstyles.
 +
 +Customize as needed:
 +
 +<code css>* {
 +    font-smooth:always;
 +    -webkit-font-smoothing: antialiased;
 +    text-rendering: optimizeLegibility
 +}</code>
 +
  
 ===== Understanding WebKit Version Numbers ===== ===== Understanding WebKit Version Numbers =====
Line 544: Line 557:
  
 Midori's support for WebKit2 is still provisional, and likely unsuitable for real-world daily usage; much work is being done in this area so that Midori can use WebKit2 by default at some point in the future. Midori's support for WebKit2 is still provisional, and likely unsuitable for real-world daily usage; much work is being done in this area so that Midori can use WebKit2 by default at some point in the future.
 +
 +====== Midori and mediaHerald ======
 +
 +
 +mediaHerald is a dbus service (/org/midori/mediaHeraldallow) users to connect to dbus and check the titme and url of the video that midori plays in **YOUTUBE**, **VIMEO** or **DAILYMOTION**, the extension which does the work is called webmedia-now-playing.
 +
 +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 /org/midori/mediaHerald org.freedesktop.DBus.Properties.GetAll string:"org.midori.mediaHerald" | awk '
 +    /string  *"VideoTitle/{
 +        while (1) {
 +            getline line
 +            if (line ~ /string "/)
 +                sub(/.*string /, "TITLE=", line)
 +                print line
 +                break
 +            }
 +        }
 +        /string  *"VideoUri/{
 +        while (1) {
 +            getline line
 +            if (line ~ /string "/)
 +                sub(/.*string /, "URI=", line)
 +                print line
 +                break
 +            }
 +        }
 +    ')
 +echo "Midori is now playing: $TITLE ,the uri is: $URI"
 +</code>