UZBL-Browser

From ArchWiki
Revision as of 01:53, 10 June 2011 by Thehodapp (Talk | contribs) (Major editing all over the page. Added article summary, more overview, Install fixes, more command info, tips, plugins --~~~~)

Jump to: navigation, search

This template has only maintenance purposes. For linking to local translations please use interlanguage links, see Help:i18n#Interlanguage links.


Local languages: Català – Dansk – English – Español – Esperanto – Hrvatski – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Norsk Bokmål – Polski – Português – Slovenský – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – العربية – ไทย – 日本語 – 正體中文 – 简体中文 – 한국어


External languages (all articles in these languages should be moved to the external wiki): Deutsch – Français – Română – Suomi – Svenska – Tiếng Việt – Türkçe – فارسی

Summary help replacing me
A lightweight browser based on the UNIX philosophy. This article addresses the steps necessary to run and configure Uzbl.
Resources
Uzbl Homepage

Uzbl is a lightweight browser based on uzbl-core. Uzbl adheres to the UNIX philosophy of "Write programs that do one thing and do it well". The uzbl-browser package includes uzbl-core, uzbl-browser, uzbl-tabbed, and uzbl-event-manager. Most users will want to use uzbl-browser or uzbl-tabbed as they provide the fullest set of tools for browsing. Uzbl-browser allows for a single page per window (with as many windows as you want), while uzbl-tabbed provides a wrapper for uzbl-browser and implements basic tabs with multiple pages per window.

Installation

The uzbl-browser package can be found in the community repository and may be installed via pacman with the following:

# pacman -S uzbl-browser

Arch users may come across a problem where the browser is not responding to any input from the keyboard. To fix this, edit Template:Filename and change the first line of each file to:

#!/usr/bin/env python2

(taken from Uzbl FAQ)

Plugins

Uzbl can make use outside browser plugins like Flash and Java. Installing these packages will enable their use in uzbl-browser and uzbl-tabbed.

Commands

One of the biggest advantages of using Uzbl is that nearly everything can be controlled by the keyboard. This is preferable to the traditional mouse/keyboard combo because less moving around of the hands is needed. Vim users will find Uzbl much easier to pick-up, especially as the default bindings loosely resemble Vim keystrokes. For instance, following a link requires the user to type Template:Codeline, and then the keystrokes in the box that appears next to each link on the page. Shortening the command to just Template:Codeline in the config file allows for even faster navigation.

Below are basic, default commands that can be used with uzbl-browser and uzbl-tabbed. These commands can all be found in Template:Filename (which is usually located in Template:Filename). The default settings work well, but many users like to edit them to suit their preferences and in fact, it is encouraged to change this file to suit your needs. More help with editing the config file can be found on the Uzbl readme.

Navigation

o         = enter uri
O         = edit uri
b         = back
m         = forward
S         = stop
r         = reload
R         = reload ignoring cache
fl        = spawn numbers next to each hyperlink. Type the number after typing fl to follow the link.
gh        = go home

Page Movement

j         = scroll up
k         = scroll down
h         = scroll left
l         = scroll right
PgUp      = scroll page up
ctrl+b    = scroll page up
PgDn      = scroll page down
ctrl+f    = scroll page down
Home      = vertical beginning of the page
<<        = vertical beginning of the page
End       = vertical end of the page
>>        = vertical end of the page
Space     = vertical end of the page
^         = horizontal beginning of the page
$         = horizontal end of the page
/         = find in page
?         = find backwards in page
n         = repeat find forward
N         = repeat find backwards

Zooming

+         = zoom_in
-         = zoom_out
T         = toggle_zoom_type
1         = set zoom_level = 1
2         = set zoom_level = 2

Searching

ddg       = search term in DuckDuckGo
gg        = search term in Google
\wiki     = search term in Wikipedia

Inserting Text

i         = toggle_insert_mode   (Esc works to go back to command mode much like vim)
fi        = go to the first input field and enter insert mode

Bookmarks and History

B         = insert bookmark (bookmarks are saved in ~/.local/share/uzbl/bookmarks
U         = load url from history via dmenu
u         = load url from bookmarks via dmenu

Tabs (when using uzbl-tabbed)

go        = load uri in new tab
gt        = go to next tab
gT        = go to previous tab
gn        = open new tab
gi+n      = goto 'n' tab

Other

t         = show/hide status bar
w         = open new window
ZZ        = exit
:         = enter command
Esc       = back to normal mode
ctrl+[    = back to normal mode

Tips & Tricks

alias uzbl='uzbl-tabbed'

Links

Sources