no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
Previous revisionNext revision | |||
— | midori:faq [2012/10/04 16:30] – kalikiana | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Midori - Frequently asked questions ====== | ||
+ | **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. | ||
+ | |||
+ | ====== Getting started ====== | ||
+ | |||
+ | === What is " | ||
+ | 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. | ||
+ | |||
+ | === How to pronounce Midori and what does the name mean? === | ||
+ | Pronounce it " | ||
+ | |||
+ | === What does the logo mean? === | ||
+ | The paw of a green cat. Obviously. Also it resembles the letter " | ||
+ | |||
+ | === On which platforms does Midori run currently? === | ||
+ | Midori is basically very portable and should run on all platforms that its dependencies support. | ||
+ | |||
+ | === Under which license is Midori distributed? | ||
+ | Midori and all delivered artwork are licensed under the LGPL2. | ||
+ | |||
+ | ====== Common problems ====== | ||
+ | |||
+ | === Why does Google Mail/ Calendar/ Maps, Facebook not work or show mobile version? === | ||
+ | |||
+ | Some websites discriminate against your browser. | ||
+ | |||
+ | If you have Midori older than 0.3.5, go to Preferences > Network > Identify As, and choose Custom. Paste this into the entry: | ||
+ | |||
+ | Mozilla/5.0 (X11; Linux) AppleWebKit/ | ||
+ | |||
+ | If this doesn' | ||
+ | |||
+ | Many other websites use similar means of detecting the browser. | ||
+ | |||
+ | Ideally Google would follow [[http:// | ||
+ | |||
+ | === 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. | ||
+ | |||
+ | === Tweaking Midori on the Gtk level === | ||
+ | If you don't have a desktop application that takes care of Gtk settings or if your interface doesn' | ||
+ | |||
+ | Use Tango as a fallback for your icon theme: | ||
+ | < | ||
+ | gtk-fallback-icon-theme = " | ||
+ | |||
+ | Use a smaller toolbar: | ||
+ | < | ||
+ | |||
+ | Only for those not running a complete DE like Xfce, Elementary, etc...\\ | ||
+ | There is a preference: Preferences → Browsing → Toolbar Style: Small icons | ||
+ | |||
+ | Enable changing hotkeys while hovering menu items: | ||
+ | < | ||
+ | |||
+ | === Midori crashes shortly before pages are loaded === | ||
+ | There appears to be an issue with Glib 2.16. The recommended solution is to upgrade your Glib package to 2.18. | ||
+ | |||
+ | === How can I change the cache folder (to tmpfs)? === | ||
+ | |||
+ | On Linux and BSD, you can set XDG_CACHE_HOME for all applications, | ||
+ | |||
+ | 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 >= 0.4.7 supports [[gcr|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' | ||
+ | |||
+ | === Windows support === | ||
+ | |||
+ | WebKitGTK+ and thusly Midori on Windows doesn' | ||
+ | |||
+ | Starting with WebkitGTK+ 1.8.2 (Midori 0.4.7) Netscape plugins are now supported if they' | ||
+ | |||
+ | === Netscape plugins on Linux, BSD and OS X === | ||
+ | |||
+ | You need to set MOZ_PLUGIN_PATH, | ||
+ | |||
+ | <code bash> | ||
+ | |||
+ | The official Flash plugin is called libflashplayer.so . | ||
+ | |||
+ | 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/ 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 cresh the whole browser and Flash, which is GTK+2 can run in GTK+3. | ||
+ | |||
+ | sudo apt-get install nspluginwrapper | ||
+ | sudo nspluginwrapper -i / | ||
+ | nspluginwrapper -v -a -n -i | ||
+ | |||
+ | === HTTPS URLS won't load === | ||
+ | |||
+ | That's a problem with WebKit. You can work around it to some extent if you start Midori like so: | ||
+ | |||
+ | <code bash> | ||
+ | |||
+ | === 256-bit encryption isn't supported? === | ||
+ | |||
+ | There' | ||
+ | |||
+ | === Scroll with middle mouse button/ pan-scrolling === | ||
+ | |||
+ | http:// | ||
+ | |||
+ | Bug: https:// | ||
+ | Upstream Bug: https:// | ||
+ | |||
+ | === HTML5 Video doesn' | ||
+ | |||
+ | You need to have GStreamer plugins installed which implement the codecs. | ||
+ | |||
+ | - You need gstreamer0.10-pulse if you're using PulseAudio. | ||
+ | - You may need gstreamer0.10-alsa for ALSA, depending on your distribution. | ||
+ | - You need plugins for Theora, gstreamer0.10-base and MPEG-4 incluing aac (e.g. gst-plugins-faad), | ||
+ | - For Youtube or Vimeo, you need WebKitGTK+ 1.1.20 or newer. | ||
+ | - You can [[http:// | ||
+ | - Since Midori 0.3.5 you can look at " | ||
+ | |||
+ | === Java doesn' | ||
+ | |||
+ | Java is supported in WebKitGTK+ since 1.1.22. If you need Java, you need to upgrade to at least that version. Sun/ Oracle Java as well as IcedTea are known to work. Distribution specific setup might be required, such as setting LD_LIBRARY_PATH to include the location of libxul.so and making a symbolic link for libnpjp2.so to / | ||
+ | |||
+ | icedtea6 version 1.8 and above has been known to crash midori. | ||
+ | |||
+ | === How do I get rid of the menubar? === | ||
+ | |||
+ | In the menubar, go to View -> Toolbars -> Menubar, voilà the menubar is gone and a new icon appears at the right end of the toolbar. Click the icon to access functionality that otherwise sits in the menubar. | ||
+ | Midori 0.3.2 disables the menubar by default. | ||
+ | |||
+ | === Why can't I use periods when searching from the location bar? === | ||
+ | |||
+ | Midori tries to make a smart guess on whether you are searching for something or typing a valid address by hand. Yet there are ambiguous cases so it fails. | ||
+ | |||
+ | Try using ' | ||
+ | |||
+ | === How can I reload and bypass the cache? === | ||
+ | |||
+ | Hold the Shift key while clicking Refresh in the toolbar (this works in Chromium, Mozilla, Opera and Safari, too). | ||
+ | Since Midori 0.3.2 you can use Ctrl+Shift+R. | ||
+ | |||
+ | === How do I make tabs pinned/ sticky/ minimized? === | ||
+ | |||
+ | Right-click the tab label, and click ' | ||
+ | |||
+ | === Why doesn' | ||
+ | |||
+ | You need to set Preferences > Network > Identify As to Firefox. | ||
+ | |||
+ | === Opening html email with Mutt === | ||
+ | |||
+ | Place the following in ~/ | ||
+ | |||
+ | < | ||
+ | |||
+ | === Scrolling on website xyz is very slow === | ||
+ | |||
+ | - Go to Tools > Extensions | ||
+ | - Enable 'User Addons' | ||
+ | - Create a text file .local/ | ||
+ | - Put this into the file: * {-webkit-box-shadow: | ||
+ | |||
+ | === File opening doesn' | ||
+ | |||
+ | Midori opens files with GIO, and falls back to xdg-open, exo-open or gnome-open if these are available. All of this relies on freedesktop.org MIME configuration. To tweak this there are multiple options: | ||
+ | |||
+ | - Use 'Open With' with a graphical file manager | ||
+ | - Edit ~/ | ||
+ | - Run something like ‘xdg-mime default evince.desktop application/ | ||
+ | |||
+ | xdg-open knows how to handle GNOME, KDE and Xfce. | ||
+ | LXDE is unfortunately not supported yet, see https:// | ||
+ | |||
+ | === Open magnet:, irc:, apt: and friends with an application === | ||
+ | |||
+ | As of git 2011-03-05 02:40:00 UTC and Midori 0.3.3 you can | ||
+ | |||
+ | Add a line to ~/ | ||
+ | |||
+ | < | ||
+ | |||
+ | Or install an application which advertises the scheme like so: | ||
+ | |||
+ | < | ||
+ | |||
+ | Note that incomplete .desktop files will silently fail and it will look as if it doesn' | ||
+ | |||
+ | === Spell check === | ||
+ | |||
+ | First enable spell checking: | ||
+ | Edit-> | ||
+ | |||
+ | 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? === | ||
+ | |||
+ | You can change [[http:// | ||
+ | |||
+ | === How do I change the proxy server from the toolbar or statusbar? === | ||
+ | |||
+ | - Activate the Statusbar Features plugin. | ||
+ | - Close Midori. | ||
+ | - Create a folder ~/ | ||
+ | - Create a text file " | ||
+ | - Type the following for the default setup: | ||
+ | |||
+ | [settings] | ||
+ | items=auto-load-images; | ||
+ | |||
+ | Add button types separated by semicolon: | ||
+ | |||
+ | * proxy-type Proxy Server | ||
+ | * preferred-encoding Character Set/ Encoding | ||
+ | * enable-spell-checking Spell Check | ||
+ | * zoom-text-and-images Only zoom in text, or text and images | ||
+ | * first-party-cookies-only First party cookies only | ||
+ | * site-data-rules see [[# | ||
+ | |||
+ | Most settings listed at http:// | ||
+ | ====== Privacy ====== | ||
+ | |||
+ | ===== Blacklist cookies ===== | ||
+ | |||
+ | As of Midori 0.4.4 you can add a hidden option to ~/ | ||
+ | |||
+ | < | ||
+ | |||
+ | - Values prefixed with " | ||
+ | - Values prefixed with " | ||
+ | - Values prefixed with " | ||
+ | - No wildcards. | ||
+ | - LSO, local storage and application caches ignore all policies. | ||
+ | |||
+ | The feature is currently experimental and will change in future versions. | ||
+ | |||
+ | ===== Adblock ====== | ||
+ | |||
+ | The Advertisement Blocker can be activated under Extensions. It uses the same lists as Adblock Plus. URLs are blocked completely and never loaded. Lists can be added through the option button on the right side in the extension list. | ||
+ | |||
+ | ====== Modes ====== | ||
+ | |||
+ | ===== Web Applications ===== | ||
+ | |||
+ | There are two closely related features to open websites as dedicated windows of their own. You can do the following to use them: | ||
+ | |||
+ | - Right-click a hyperlink → Open as Web Application | ||
+ | - Add or Edit a bookmark → [x] Run as web application | ||
+ | - Type ‘midori -a http:// | ||
+ | You can also add options such as ‘-e Fullscreen’, | ||
+ | |||
+ | ===== Private Browsing ===== | ||
+ | |||
+ | File menu/ App Menu button → Private Browsing | ||
+ | |||
+ | A private window is a separate process, so crashes don't affect the normal browser session. No sensitive data such as cookies, history or bookmarks are stored. No extensions are loaded. Panels are not available. | ||
+ | |||
+ | As of Midori 0.2.9 Private Browsing uses preferences, | ||
+ | |||
+ | As of Midori 0.3.4 the --private command line switch opens a private browsing instance with normal preferences, | ||
+ | DNS prefetching is disabled in this mode, also referrers are stripped down to the hostname when navigating between different websites. | ||
+ | |||
+ | 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 ===== | ||
+ | |||
+ | There is no specific mode, instead you use several command line switches. A typical fullscreen setup with no toolbar that opens about:blank and resets the session after 2 minutes of inactivity for instance: | ||
+ | |||
+ | <code bash> | ||
+ | |||
+ | Available commands for -e can be listed with " | ||
+ | |||
+ | If needed, a customized profile can be created with " | ||
+ | |||
+ | To restrict pages that can be opened, you can use a regular expression. The expression is a blacklist. To block undesirable sites you can do something like: | ||
+ | |||
+ | <code bash>-b ' | ||
+ | |||
+ | By negating the expression you can also whitelist pages. | ||
+ | |||
+ | <code bash>-b ' | ||
+ | |||
+ | Any links outside end up in an error page. All images and other files won't be loaded. | ||
+ | |||
+ | ====== Proxy servers ====== | ||
+ | |||
+ | By running a local proxy you can modify web content even before it has reached Midori. That allows you to do things similar to what user scripts and user styles provide and even others that neither is suitable for. | ||
+ | |||
+ | === Privoxy === | ||
+ | |||
+ | Privoxy is a non-caching web proxy with filter capabilites and particular support for blocking advertisements before even loading them. | ||
+ | |||
+ | http:// | ||
+ | |||
+ | === Mousehole === | ||
+ | |||
+ | Mousehole is a scriptable proxy server written in Ruby. | ||
+ | |||
+ | http:// | ||
+ | |||
+ | === Polipo === | ||
+ | |||
+ | | ||
+ | | ||
+ | the implementation techniques are more like the ones used by Squid. | ||
+ | |||
+ | http:// | ||
+ | |||
+ | === Are SOCKS proxy servers supported? === | ||
+ | |||
+ | The coming libSoup 2.40 will support SOCKS proxies, [[https:// | ||
+ | |||
+ | libSoup < 2.40 only supports HTTP proxy servers directly. A way to use SOCKS on Unix is to use tsocks with SSH as follows: | ||
+ | |||
+ | - Install ' | ||
+ | - Open / | ||
+ | - Type something like this, you can choose the port freely: < | ||
+ | server = 127.0.0.1 | ||
+ | server_type = 5 | ||
+ | server_port = 5555</ | ||
+ | - Open an SSH connection with the same port: < | ||
+ | - Run Midori with " | ||
+ | - Now you can use for example http:// | ||
+ | - If the connection fails for some reason, you should see a connection error. | ||
+ | |||
+ | ====== Keyboard Hotkeys ====== | ||
+ | |||
+ | === HJKL === | ||
+ | |||
+ | You can use the Vim-like key bindings [hjkl] to navigate a page. h=left j=down k=up l=right | ||
+ | |||
+ | k | ||
+ | | ||
+ | j | ||
+ | |||
+ | You can also use the arrow keys to do the same. | ||
+ | |||
+ | === Following Links === | ||
+ | |||
+ | To enable Hints in Midori, similar to vimperator in Firefox or xxxterm, press . | ||
+ | |||
+ | With hints enabled, type the link number, and press Enter to open the link in the current tab, or Ctrl-Enter to open the link in a new tab. To clear a typed link number before pressing Enter or Ctrl-Enter, use Escape. | ||
+ | |||
+ | === Use Ctrl(+Shift)+Tab to switch between pages === | ||
+ | |||
+ | Since Midori 0.3.5 Ctrl+Tab is supported by default. | ||
+ | |||
+ | In older versions you can enable the History List extension under Tools → Extensions. | ||
+ | |||
+ | === Customizing keyboard shortcuts === | ||
+ | |||
+ | Enable the Shortcuts extension Tools → Extensions. To edit a keybinding Tools → Customize Shortcuts... | ||
+ | |||
+ | === Using Find === | ||
+ | |||
+ | Default shortcuts for Find are: | ||
+ | |||
+ | Find: | ||
+ | FindNext: | ||
+ | FindPrevious: | ||
+ | |||
+ | Dismissing Find: | ||
+ | |||
+ | When using Ctrl+f to bring up Find, use Ctrl+f again or ESC. When using "/" | ||
+ | |||
+ | ====== Mouse Gestures ====== | ||
+ | |||
+ | By default the right mouse button initiates gestures. | ||
+ | |||
+ | You can change the button using a hidden option: | ||
+ | |||
+ | - Create a text file ~/ | ||
+ | - Type the following in there: | ||
+ | |||
+ | [settings] | ||
+ | button=2 | ||
+ | |||
+ | For a quick and dirty overview of the gestures in the current release take a look at the [[http:// | ||
+ | Further information is available at the [[http:// | ||
+ | |||
+ | Additionally, | ||
+ | |||
+ | ====== User scripts and styles ====== | ||
+ | |||
+ | UserScripts are scripts applied on some, or on all web pages. They can modify | ||
+ | |||
+ | === How to install a UserScript === | ||
+ | |||
+ | First enable the "User Addons" | ||
+ | |||
+ | Now you need to find some scripts. You can find some at [[http:// | ||
+ | |||
+ | If you have Midori 0.3.0 or newer, you will be offered to install scripts as soon as you see them on the page. | ||
+ | |||
+ | To manually install a userscript, you have to download the script as a file, and put it in the folder **~/ | ||
+ | |||
+ | If the script is only shown as source code on the page, you first have to create a new text file in a text editor, copy the source code into the new file, and save it as my-user-script.js where " | ||
+ | |||
+ | === Compatibility with GreaseMonkey === | ||
+ | |||
+ | As previously mentioned, Midori can use most scripts you will find. Midori supports Greasemonkey' | ||
+ | |||
+ | === Flash blocking via a User script === | ||
+ | |||
+ | You can use [[http:// | ||
+ | |||
+ | === Flash blocking via a User style === | ||
+ | |||
+ | You can also use [[http:// | ||
+ | |||
+ | ===== User styles ===== | ||
+ | |||
+ | User styles are CSS Cascading Style sheets that are loaded locally and applied on top of web pages, similar to User scripts, in order to add or alter functionality and also fix bugs. | ||
+ | |||
+ | === How to install a user style === | ||
+ | |||
+ | First, you need to find some styles (or write your own). You can find some at [[http:// | ||
+ | |||
+ | To install a user style, you have to download the style as a file, and put it in the following directory **~/ | ||
+ | |||
+ | Note, if the style is only shown as source code on the page, you first have to create a new text file in a text editor, copy the source code into the new file, and save it as my-user-style.css where " | ||
+ | |||
+ | === How to install a user style before Midori 0.0.20 === | ||
+ | |||
+ | Open up the Preferences and use the file chooser button beside User Stylesheet to choose a style sheet file. The style sheet will from now on be applied to all sites automatically. | ||
+ | |||
+ | === A user css to display the url when a link is hovered === | ||
+ | |||
+ | This user css is used to display the corresponding url when a link is hovered. This is similar to what chromium/ | ||
+ | |||
+ | Customize as needed: | ||
+ | |||
+ | < | ||
+ | text-decoration: | ||
+ | } | ||
+ | a[href]: | ||
+ | content: attr(href); | ||
+ | position: fixed; left: 4px; bottom: 4px; | ||
+ | padding: 0 6px !important; | ||
+ | max-width: 95%; overflow: hidden; | ||
+ | white-space: | ||
+ | font:10pt sans-serif !important; text-shadow: | ||
+ | background-color: | ||
+ | opacity: 0.8; outline: ButtonFace solid thick; | ||
+ | z-index: 9999; | ||
+ | }</ |