jumanji

Other talk about Salix
User avatar
fredg
Posts: 232
Joined: 3. Oct 2009, 16:50
Location: Lyon, France
Contact:

jumanji

Post by fredg »

Hi,

Jumanji is a light webkit based web browser. It is like vimperator but without the b** firefox ;)
https://pwmt.org/projects/jumanji/

You can install it via slapt-get if you're running salix >= 13.37

This thread is just to share our tips'n tricks.

If you want to have some custom actions, you have to make a jumanjirc file (~/.config/jumanji/jumanjirc)

I begin to play with it, so, here is mine :

Code: Select all

# jumanji configuration
# search engines
searchengine ggl http://www.google.com/search?q=%s
searchengine wiki http://en.wikipedia.org/w/index.php?search=%s
searchengine safo http://www.salixos.org/forum/search.php?keywords=%s
searchengine sawi http://www.salixos.org/wiki/index.php/Special:Search?search=%s
# browser settings
set homepage http://www.salixos.org/start/en/
set auto_save 60
# Use privoxy for adblocking
#set proxy localhost:8118 
# look n feel
set font monospace normal 9
#set stylesheet
# file:///home/fredg/.config/jumanji/style.css
# Enable plugins
plugin application/x-shockwave-flash 
# follow hints
script ~/.config/jumanji/scripts/hinting.js
# downloads
set download_dir /home/fredg/Desktop/
set download_command /bin/sh -c "wget --load-cookies ~/.config/jumanji/cookies '%s' -O '%s'";
# keybindings
map <C-,> nav_history previous
map <C-;> nav_history next
This one allows :
-download via wget
-custom search engines (salix forum/wiki, google, wikipedia)
-links hints and follow (no need to have a mouse to click)
-custom keybindings for nav_history

For now, still have trouble running flash ...

++
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: jumanji

Post by mimosa »

It looks nice. Do you know where it keeps its config.h?
The complete default configuration including the appearance and shortcuts of the
program are defined in a separate file named config.h. In this file you are able
to change and adjust all the default settings of jumanji according to your
wishes. In addition it is possible to overwrite and extend them with a custom
jumanjirc file.
I haven't been able to do much with it so far because I don't know the key bindings - but these are apparently in config.h. # find didn't find it.

Its sister program zathura, a pdf reader, is available through slapt-src, but the install didn't work for me (I'm using beta).
User avatar
fredg
Posts: 232
Joined: 3. Oct 2009, 16:50
Location: Lyon, France
Contact:

Re: jumanji

Post by fredg »

Do you know where it keeps its config.h?
In the source:

Code: Select all

git clone git://pwmt.org/jumanji.git
cd jumanji
edit your file
make install
In the package, I have just added a desktop file and an icon for the menu.

But it's easier to edit the jumanjirc file.
haven't been able to do much with it so far because I don't know the key bindings
For info, there is a man page.

Else, here are the main ones (copied/pasted from Arch wiki):

Code: Select all

C-m      = Toggle status bar
C-n       = Toggle tab bar
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
gg        = beginning
G  or space = end
C-o      = back
C-i       = forward
:stop    = stop
r          = reload
zI        = zoom_in
zO        = zoom_out
z0        = zoom to original size
/        = search %s
?        = search_reverse %s
: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
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
gt   or C-Tab       = go to next tab
gT  or C-S-Tab    = go to previous tab
xgt                      = go to tab number x, where x is any number 0-9
C-w                     = close tab
ZZ        = exit
C-q       = exit
Its sister program zathura, a pdf reader, is available through slapt-src, but the install didn't work for me (I'm using beta).
It's on my TODO list ;)

++
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: jumanji

Post by mimosa »

Borderline off topic - but your post stimulated me to have another go at vimperator first. I discovered it has forked:

http://dactyl.sourceforge.net/pentadactyl/

The story seems reminiscent of another one closer to home. It looks as if vimperator has since undergone a lot of development, but we will only see the result when Firefox 4 arrives.
User avatar
fredg
Posts: 232
Joined: 3. Oct 2009, 16:50
Location: Lyon, France
Contact:

Re: jumanji

Post by fredg »

I think that just the User Interface is light, what is below is still too heavy :mrgreen:
Btw, zathura package is done ;)

++
User avatar
Duncan_Idaho
Posts: 216
Joined: 19. Sep 2009, 01:43
Location: Sietch Tabr, Planet Arrakis

Re: jumanji

Post by Duncan_Idaho »

fredg wrote:Btw, zathura package is done ;)
awesome!!! :mrgreen: I tried zathura a couple of months ago and I liked it
is it going to be in the repos for the next Salix release?
User avatar
fredg
Posts: 232
Joined: 3. Oct 2009, 16:50
Location: Lyon, France
Contact:

Re: jumanji

Post by fredg »

is it going to be in the repos for the next Salix release?
If you're running -current, you can play with it ;)

++
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: jumanji

Post by mimosa »

fredg, can you put your zathura package up somewhere to download? I imagine it'll work with beta.

EDIT just seen your post, but slapt-get says it doesn't exist, and slapt-src fails, as it did before. I am running the beta.

I like jumanji and want to give it a proper try once I'm up to speed with the key bindings. The great thing about those is they're so powerful, even using just a few goes a very long way.

Finding out about the existence of privoxy is a great liberation in the sense that not using Firefox always seemed inconceivable before because of Adblock Plus (and Flashblock). I haven't tried it yet, but privoxy looks as though it could actually be better in the sense that it gives you more control. But are its blacklists as good? We'll see!
User avatar
fredg
Posts: 232
Joined: 3. Oct 2009, 16:50
Location: Lyon, France
Contact:

Re: jumanji

Post by fredg »

fredg, can you put your zathura package up somewhere to download?
http://people.salixos.org/fredg/packages/zathura/
but slapt-get says it doesn't exist
It's on our server "enialis", if you're using another mirror just wait the sync.

++
User avatar
gapan
Salix Wizard
Posts: 6354
Joined: 6. Jun 2009, 17:40

Re: jumanji

Post by gapan »

No idea why, but I can't seem to make the f button work in jumanji. Instead of numbering the links, I get a "Follow hints:" prompt. That is on a 64bit system with the package from the current repository, using no jumanjirc file.
Image
Image
Post Reply