Difference between revisions of "Jumanji"

From ArchWiki
Jump to: navigation, search
(Link Following: added: C-s for view source; added link to hinting-script)
(30 intermediate revisions by 13 users not shown)
Line 1: Line 1:
[[Category:Internet and Email (English)]]
+
[[Category:Web Browser]]
==Overview==
+
[http://pwmt.org/projects/jumanji/ jumanji] is a web browser that provides a minimalistic and space saving interface as well as an easy usage that mainly focuses on keyboard interaction like vimperator does
jumanji is a web browser that provides a minimalistic and space saving interface as well as an easy usage that mainly focuses on keyboard interaction like vimperator does
 
  
===Installation===
+
==Installation==
====Method 1: AUR (Recommended)====
+
===Method 1: AUR (Recommended)===
[http://aur.archlinux.org/packages.php?ID=38684 jumanji] is available from the Arch User Community Repositories.
+
[https://aur.archlinux.org/packages.php?ID=38684 jumanji] is available from the [[Arch User Repository]].
  
====Method 2: From Source====
+
===Method 2: From Source===
 
Grab the source from git, change the config.h as desired, compile and install as follows:  
 
Grab the source from git, change the config.h as desired, compile and install as follows:  
 
  git clone git://pwmt.org/jumanji.git
 
  git clone git://pwmt.org/jumanji.git
Line 13: Line 12:
 
  make install
 
  make install
  
===Commands===
+
==Configuration==
 +
===config.h===
 +
To modify config.h:
 +
* get jumanji-git PKGBUILD from AUR
 +
* {{Ic|makepkg}}
 +
* {{Ic|git --git-dir src/jumanji/ init}}
 +
* change src/jumanji/config.def.h
 +
* {{Ic|makepkg -e}}
 +
 
 +
===rc file configuration===
 +
jumanji allows for a lot of user configuration either by modifying the config.def.h file or through a rc file located at '''~/.config/jumanji/jumanjirc'''. you can set searchengines, homepages, custom stylesheets, user scripts, proxy. Change the default download directory and much more. A sample configuration file below shows how to customize jumanji.
 +
# jumanji configuration
 +
# search engines
 +
searchengine ggl http://www.google.com/search?q=%s
 +
searchengine wiki http://en.wikipedia.org/w/index.php?search=%s
 +
# browser settings
 +
set homepage http://www.google.com/ig
 +
set auto_save 60
 +
set single_instance false
 +
# Use privoxy for adblocking
 +
set proxy localhost:8118
 +
# look n feel
 +
set font monospace normal 9
 +
set stylesheet file:///home/inxs/.config/jumanji/style.css
 +
# follow hints
 +
script ~/.config/jumanji/scripts/hinting.js
 +
# downloads
 +
set download_dir ~/downloads/
 +
set download_command urxvt -e sh -c "wget --load-cookies ~/.config/jumanji/cookies '%s' -O '%s'";
 +
# keybindings
 +
map <C-,> nav_history previous
 +
map <C-.> nav_history next
 +
bmap ^DD$ quit
 +
 
 +
==Commands==
 
Below are some basic commands that can be used with jumanji  
 
Below are some basic commands that can be used with jumanji  
  
====Look and Feel====
+
===Look and Feel===
  C-m = Toggle status bar
+
  C-m       = Toggle status bar
  C-n = Toggle tab bar
+
  C-n       = Toggle tab bar
  
====Page Navigation====
+
===Page Navigation===
  o         = enter url to open in same tab
+
  o         = enter url to open in same tab
  t           = enter url to open in new tab
+
  t         = enter url to open in new tab
  j           = scroll down
+
  j         = scroll down
  k         = scroll up
+
  k         = scroll up
  h         = scroll left
+
  h         = scroll left
  l           = scroll right
+
  l         = scroll right
 +
C-d      = scroll down (half the screen)
 +
C-u      = scroll up (half the screen)
 +
space    = page down
 
  gg        = beginning
 
  gg        = beginning
  G or space = end
+
  G         = end
  C-o     = back
+
  C-o       = back
 
  C-i      = forward
 
  C-i      = forward
  :stop   = stop
+
  :stop     = stop
  r         = reload
+
  r         = reload
  
====Zooming====
+
===Zooming===
 
  zI        = zoom_in
 
  zI        = zoom_in
 
  zO        = zoom_out
 
  zO        = zoom_out
 
  z0        = zoom to original size
 
  z0        = zoom to original size
  
====Searching====
+
===Searching===
 
  /        = search %s
 
  /        = search %s
  ?        = search_reverse %s
+
  ?        = search reverse %s
   
+
  :open    = start a search with your search engine %s (the first one in your jumanjirc is used)
====Bookmarks and History====
+
 
  :bmark       = insert bookmark (bookmarks are saved in ~/.config/jumanji/bookmarks)
+
===Bookmarks and History===
  o <tab>     = show bookmarks and history to open in same tab
+
  :bmark   = insert bookmark (bookmarks are saved in ~/.config/jumanji/bookmarks)
  t <tab>       = show bookmarks and history to open in new tab
+
  o <tab> = show bookmarks and history to open in same tab
 +
  t <tab> = show bookmarks and history to open in new tab
  
====Link Following====
+
===Link Following===
  f         = spawn numbers next to each hyperlink. Type the number after typing f to follow the link in the same tab (hinting-script [http://www.pwmt.org/jumanji/scripts/] needed)
+
  f       = spawn numbers next to each hyperlink. Type the number after typing f to follow the link in the same tab [http://www.pwmt.org/jumanji/faq/]
  F         = spawn numbers next to each hyperlink. Type the number after typing F to follow the link in a new tab (hinting-script needed)
+
  F       = spawn numbers next to each hyperlink. Type the number after typing F to follow the link in a new tab
 
  gh      = Go to homepage in the same tab
 
  gh      = Go to homepage in the same tab
 
  gH      = open homepage in a new tab
 
  gH      = open homepage in a new tab
  gf, C-s       = view source
+
  gf, C-s = view source
 
  gF      = view source in a new tab
 
  gF      = view source in a new tab
  
====Tabs====
+
===Tabs===
  gt   or C-Tab       = go to next tab
+
  gt or C-Tab   or  S-k  = go to next tab
  gT  or C-S-Tab   = go to previous tab
+
  gT  or C-S-Tab or  S-j  = go to previous tab
  xgt                     = go to tab number x, where x is any number 0-9
+
  xgt                       = go to tab number x, where x is any number 0-9
  C-w                     = close tab
+
  C-w                       = close tab
  
====Exit====
+
===Exit===
 
  ZZ        = exit
 
  ZZ        = exit
 
  C-q      = exit
 
  C-q      = exit
  
====rc file configuration====
+
==See also==
jumanji allows for a lot of user configuration either by modifying the config.def.h file or through a rc file. you can set searchengines, homepages, custom stylesheets, user scripts. Change the default download directory and much more. A sample configuration file below shows how to customize jumanji.
+
* [https://bbs.archlinux.org/viewtopic.php?id=100505 Old, closed forum thread]
# jumanji configuration
+
* [https://bbs.archlinux.org/viewtopic.php?id=115119 The current forum thread]
# search engines
 
searchengine ggl http://www.google.com/search?q=%s
 
searchengine wiki http://en.wikipedia.org/w/index.php?search=%s
 
# browser settings
 
set homepage http://www.google.com/ig
 
set auto_save 60
 
# look n feel
 
set font monospace normal 9
 
set stylesheet file:///home/inxs/.config/jumanji/style.css
 
# follow hints
 
script ~/.config/jumanji/scripts/hinting.js
 
# downloads
 
set download_dir ~/downloads/
 
set download_command urxvt -e sh -c "wget --load-cookies ~/.config/jumanji/cookies '%s' -O %s";
 
# keybindings
 
map <C-,> nav_history previous
 
map <C-.> nav_history next
 
 
 
===Links===
 
http://www.pwmt.org/jumanji
 
 
 
http://bbs.archlinux.org/viewtopic.php?id=100505
 
 
 
====sources====
 
[http://pwmt.org/jumanji jumanji]
 

Revision as of 14:31, 13 June 2012

jumanji is a web browser that provides a minimalistic and space saving interface as well as an easy usage that mainly focuses on keyboard interaction like vimperator does

Installation

Method 1: AUR (Recommended)

jumanji is available from the Arch User Repository.

Method 2: From Source

Grab the source from git, change the config.h as desired, compile and install as follows:

git clone git://pwmt.org/jumanji.git
cd jumanji
make install

Configuration

config.h

To modify config.h:

  • get jumanji-git PKGBUILD from AUR
  • makepkg
  • git --git-dir src/jumanji/ init
  • change src/jumanji/config.def.h
  • makepkg -e

rc file configuration

jumanji allows for a lot of user configuration either by modifying the config.def.h file or through a rc file located at ~/.config/jumanji/jumanjirc. you can set searchengines, homepages, custom stylesheets, user scripts, proxy. Change the default download directory and much more. A sample configuration file below shows how to customize jumanji.

# jumanji configuration
# search engines
searchengine ggl http://www.google.com/search?q=%s
searchengine wiki http://en.wikipedia.org/w/index.php?search=%s
# browser settings
set homepage http://www.google.com/ig
set auto_save 60
set single_instance false
# Use privoxy for adblocking
set proxy localhost:8118 
# look n feel
set font monospace normal 9
set stylesheet file:///home/inxs/.config/jumanji/style.css 
# follow hints
script ~/.config/jumanji/scripts/hinting.js
# downloads
set download_dir ~/downloads/
set download_command urxvt -e sh -c "wget --load-cookies ~/.config/jumanji/cookies '%s' -O '%s'";
# keybindings
map <C-,> nav_history previous
map <C-.> nav_history next
bmap ^DD$ quit

Commands

Below are some basic commands that can be used with jumanji

Look and Feel

C-m       = Toggle status bar
C-n       = Toggle tab bar

Page Navigation

o         = enter url to open in same tab
t         = enter url to open in new tab
j         = scroll down
k         = scroll up
h         = scroll left
l         = scroll right
C-d       = scroll down (half the screen)
C-u       = scroll up (half the screen)
space     = page down
gg        = beginning
G         = end
C-o       = back
C-i       = forward
:stop     = stop
r         = reload

Zooming

zI        = zoom_in
zO        = zoom_out
z0        = zoom to original size

Searching

/        = search %s
?        = search reverse %s
:open    = start a search with your search engine %s (the first one in your jumanjirc is used)

Bookmarks and History

:bmark   = insert bookmark (bookmarks are saved in ~/.config/jumanji/bookmarks)
o <tab>  = show bookmarks and history to open in same tab
t <tab>  = show bookmarks and history to open in new tab

Link Following

f        = spawn numbers next to each hyperlink. Type the number after typing f to follow the link in the same tab [1]
F        = spawn numbers next to each hyperlink. Type the number after typing F to follow the link in a new tab
gh       = Go to homepage in the same tab
gH       = open homepage in a new tab
gf, C-s  = view source
gF       = view source in a new tab

Tabs

gt  or C-Tab   or   S-k   = go to next tab
gT  or C-S-Tab or   S-j   = go to previous tab
xgt                       = go to tab number x, where x is any number 0-9
C-w                       = close tab

Exit

ZZ        = exit
C-q       = exit

See also