You are not logged in.

#376 2010-07-23 10:25:39

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: jumanji - a web browser

q0tsa wrote:

I don't know if this has already been mentioned but undoing (e.g. reopening closed tabs) with 'u' like in vimperator would be a highly appreciated feature.

I'd love to see that too, very useful smile

Also, I have one issue when copying the current url (using 'y' ), most of the time, shift+ins or middle click won't paste anything.

Offline

#377 2010-07-23 13:19:55

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: jumanji - a web browser

q0tsa wrote:

I don't know if this has already been mentioned but undoing (e.g. reopening closed tabs) with 'u' like in vimperator would be a highly appreciated feature.

edit:
I was not able to map J to next tab and K to previous tab through the rc-file (I have it this way in vimperator and can't change this habbit wink), I tried:
map J tabnext
map J K tab next
map J gt

I ended up changing it in the config.h...

# key maps
map J nav_tabs next
map K nav_tabs previous
map H nav_history previous
map L nav_history next

works here

Offline

#378 2010-07-23 15:22:53

egan
Member
From: Mountain View, CA
Registered: 2009-08-17
Posts: 273

Re: jumanji - a web browser

egan wrote:

Unfortunately, it hasn't worked in a few days for me. I am at the latest git version, which compiles and installs fine, but when I type jumanji at the shell, the prompt returns with no errors, and jumanji does not run. I suspect this is related to the whole "open in existing instance" feature.

I'm not sure if it is a problem on my end, since everyone here seems to be running it fine.

I still have the same problem with the latest git. When I pass a uri argument to jumanji, it actually returns some errors:

(jumanji:10715): Unique-DBus-WARNING **: Unable to open a connection to the session bus: /usr/bin/dbus-launch terminated abnormally without any error message

(jumanji:10715): Unique-DBus-WARNING **: Unable to connect to the running instance, aborting.

So it does seem to have to with libunique and dbus. I don't like running dbus on my system, but I tried it to no avail.

Any ideas?

Offline

#379 2010-07-23 15:41:27

neldoreth
Member
From: AT
Registered: 2009-02-01
Posts: 212

Re: jumanji - a web browser

Hello,

egan wrote:

I don't like running dbus on my system, but I tried it to no avail.

It works without a running dbus, but it seems that at least it has to be installed.

Best regards


pwmt.org : programs with movie titles

Offline

#380 2010-07-23 21:21:05

q0tsa
Member
Registered: 2009-07-20
Posts: 39

Re: jumanji - a web browser

brisbin33 wrote:
# key maps
map J nav_tabs next
map K nav_tabs previous
map H nav_history previous
map L nav_history next

works here

Ah, nice. Thank you.

@neldoreth
Are those functions currently documented anywhere?

Offline

#381 2010-07-24 00:13:47

Hunner
Member
Registered: 2008-01-03
Posts: 12

Re: jumanji - a web browser

I may have found a new browser ^_^. Very nice work.

Some suggestions that I haven't seen mentioned in this forum yet:
o Arguments for forward/back in history, like using 3H to move back in history 3 times. This wouldn't work for tabs because of the jump-to-number effect with gt/gT. (I see that J/K are left/right tabs by default. Nice. Add jump-to-number with those too?)
o In vim if I edit in one place then jump to another section of a file, I can use `` to jump back to where I was previously. In jumanji if I used G to jump to the top of the page, and `` took be back to where I just came from, that would be cool.
o Map keys <XF86Forward> and <XF86Back> and other strange keysyms that X knows about. I just saw that you define them in config.h; is there an automated way to do this?
o Bookmarks and history:
   - They could have the page title tied with them so when using tab completion to search through them I don't have to remember bits of the URI.
   - Similarly, using ":bmark Read later/Newts" would save the url under the "Read later" folder/label with the name of "Newts" instead of the page title for its text blurb.
   - I assume that the bmarks are in an infant stage at this point and will get things like folders or tags or some such gizmo.
o Does "map <C-q> quit" still quit the whole browser, or just close the current tab like :quit should? Only mapping to 'quitall' should do that, imho.
o Setting the default terminal emulator to download files or view source in. Urxvt ftw. :)

Thanks for your work.

Offline

#382 2010-07-24 00:16:45

Hunner
Member
Registered: 2008-01-03
Posts: 12

Re: jumanji - a web browser

q0tsa wrote:

@neldoreth
Are those functions currently documented anywhere?

Lines 95-98 in config.h list those key mappings as defaults so you shouldn't have to map them. In jumaji's case, the source is so small that it's basically self-documenting wink (though a larger smattering of comments in the code wouldn't hurt).

Last edited by Hunner (2010-07-24 00:18:12)

Offline

#383 2010-07-24 07:47:03

neldoreth
Member
From: AT
Registered: 2009-02-01
Posts: 212

Re: jumanji - a web browser

Hello,

Thanks for the input, hunner! A full documentation will exist if the first version of jumanjil will be released.

Best regards


pwmt.org : programs with movie titles

Offline

#384 2010-07-24 09:05:26

Hunner
Member
Registered: 2008-01-03
Posts: 12

Re: jumanji - a web browser

Another idea, support for :tabmove to renumber/reorder tabs smile

Also, if I F open a new tab and gt to it, then d close it, it will close that tab then focus on the tab *after* it. When closing a tab in Chromium it focuses on the tab preceeding the closed tab, so I end back up on the tab I just came from instead. What does vimperator do? Which way seems to make more sense?

Offline

#385 2010-07-24 09:36:41

Hunner
Member
Registered: 2008-01-03
Posts: 12

Re: jumanji - a web browser

Hunner wrote:

o Setting the default terminal emulator to download files or view source in. Urxvt ftw. smile

Found this line for jumanjirc after reading through again:

set download_command urxvtc -e sh -c "wget --load-cookies ~/.config/jumanji/cookies '%s' -O %s";

Offline

#386 2010-07-24 10:45:34

q0tsa
Member
Registered: 2009-07-20
Posts: 39

Re: jumanji - a web browser

Hunner wrote:

Lines 95-98 in config.h list those key mappings as defaults so you shouldn't have to map them.

They are mapped the other way around by default. In Vim j goes down and k goes up. To me it's just more natural that J goes to the next tab (to the right) and K goes to the previous one.

edit: Another suggestion: 'gi' should place the cursor in the first <input>-field on the site. (which is mostly the search)

edit2: One more thing: In vimperator there are different hint modes like ;y to copy an URL or ;s to save the destination of the URL. More on this here. I'd love to see those in jumanji too.

Last edited by q0tsa (2010-07-24 12:49:58)

Offline

#387 2010-07-24 15:16:26

gogonkt
Member
Registered: 2008-01-21
Posts: 5

Re: jumanji - a web browser

Hunner wrote:

o Map keys <XF86Forward> and <XF86Back> and other strange keysyms that X knows about. I just saw that you define them in config.h; is there an automated way to do this?
.....

you can see my post in #329

and a auto support <XF86Forward> and <XF86Back> patch for config.h

--- config.org.h        2010-07-24 23:09:55.000000000 +0800
+++ config.h    2010-07-24 23:11:32.000000000 +0800
@@ -95,6 +95,8 @@ Shortcut shortcuts[] = {
   {GDK_CONTROL_MASK,   GDK_o,             sc_nav_history,       NORMAL,              { PREVIOUS } },
   {0,                  GDK_L,             sc_nav_history,       NORMAL,              { NEXT } },
   {0,                  GDK_H,             sc_nav_history,       NORMAL,              { PREVIOUS } },
+  {0,                  GDK_Forward,       sc_nav_history,       NORMAL,              { NEXT } },
+  {0,                  GDK_Back,          sc_nav_history,       NORMAL,              { PREVIOUS } },
   {0,                  GDK_l,             sc_nav_tabs,          NORMAL,              { NEXT } },
   {0,                  GDK_h,             sc_nav_tabs,          NORMAL,              { PREVIOUS } },
   {GDK_CONTROL_MASK,   GDK_Tab,           sc_nav_tabs,          NORMAL,              { NEXT } },

update patch againkkk

Last edited by gogonkt (2010-07-24 15:35:09)

Offline

#388 2010-07-25 18:09:02

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: jumanji - a web browser

neldoreth wrote:

Thanks for the input, hunner! A full documentation will exist if the first version of jumanjil will be released.

neldoreth wrote:

A full documentation will exist if the first version of jumanjil will be released.

neldoreth wrote:

if the first version of jumanjil will be released.

neldoreth wrote:

if the first version of jumanjil

neldoreth wrote:

if the first version

neldoreth wrote:

if

my heart is broken

Offline

#389 2010-07-25 18:23:00

burn
Member
Registered: 2010-04-13
Posts: 21

Re: jumanji - a web browser

im pretty sure he _meant_ "when" cool

Offline

#390 2010-07-25 21:43:32

Chippeur
Member
Registered: 2010-01-25
Posts: 19

Re: jumanji - a web browser

Hello,
Thank you for the browser, great job smile


I have a little issue when I want to download something, the command fail on each try.

I found the problem in the cb_wv_download_request() and cmd_saveas() functions.
In  cb_wv_download_request() download_dir is "concat" with the filename but not the dowload_path, so the "~/dl/" directory is create if it doesn't existe but the spawn command failed to interpret the tilde ~.

Replace "download_dir" with "dowload_path" and everything seems to be ok.

I'm french and my english is poor sorry...


Sorry in advance for my poor english...

Offline

#391 2010-07-27 02:34:14

mrbrich
Member
Registered: 2010-04-24
Posts: 42

Re: jumanji - a web browser

I'm finding jumanji to be a pleasure to use, but I prefer the way conkeror handles downloads.  Basically, it gives you several options: save the file (you get a chance to edit the file name), open directly (you get to specify which program; a default is suggested).  There are a few other less useful options, and you can abort the download by pressing escape.  I find this simple, useful and elegant, and it seems that it would fit well in jumanji, but I'm interested in other people's opinions (especially jumanji's creator, neldoreth).

p.s. I had a look at the source code and it seems that it wouldn't be too hard to implement something like this (although I'm probably not the best person to do it).

Last edited by mrbrich (2010-07-27 02:35:48)

Offline

#392 2010-07-27 07:42:15

neldoreth
Member
From: AT
Registered: 2009-02-01
Posts: 212

Re: jumanji - a web browser

Hello,

First of all I want to say that pwmt has a new website based on redmine (it is not finished yet) and brings a bug/feature tracker with it that I hope will be used wisely and a wiki that will be used for further documentation.

@mrbrich: The easiest way (and I think it is quite ok) is to replace the download command with a path to a download script that manages stuff like that.

Best regards


pwmt.org : programs with movie titles

Offline

#393 2010-07-27 09:51:35

tzervo
Member
From: Athens
Registered: 2009-04-03
Posts: 86

Re: jumanji - a web browser

mrbrich wrote:

I'm finding jumanji to be a pleasure to use, but I prefer the way conkeror handles downloads.  Basically, it gives you several options: save the file (you get a chance to edit the file name), open directly (you get to specify which program; a default is suggested).  There are a few other less useful options, and you can abort the download by pressing escape.  I find this simple, useful and elegant, and it seems that it would fit well in jumanji, but I'm interested in other people's opinions (especially jumanji's creator, neldoreth).

p.s. I had a look at the source code and it seems that it wouldn't be too hard to implement something like this (although I'm probably not the best person to do it).

for choosing whether you want to open it or save it, you can use a script as a download command that uses zenity or dmenu to ask you what you want to do and then even point the file to gnome-open/mimeo/xdg-open/whatever to open it the way you want.

Offline

#394 2010-07-27 14:41:56

darroyX
Member
From: Madrid, Spain
Registered: 2010-07-01
Posts: 17
Website

Re: jumanji - a web browser

How can I download with jumanji?

Offline

#395 2010-07-27 14:48:07

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: jumanji - a web browser

darroyX wrote:

How can I download with jumanji?

This should work out of the box. But you need xterm for that. If you want to change the download command, add the following to the ~/.config/jumanji/jumanjirc

set download_dir /path/to/your/downloads
set download_command urxvt -e sh -c "wget --load-cookies ~/.config/jumanji/cookies '%s' -O %s";

(this download_command is an example for urxvt, in case you (want to) use another terminal, I don't know if it'll work just by replacing urxvt by your terminal in this command)

Offline

#396 2010-07-27 16:58:46

mrbrich
Member
Registered: 2010-04-24
Posts: 42

Re: jumanji - a web browser

@neldoreth & tzervo

IMHO, it is more elegant and convenient to do this from within the browser on a single line than to open up new xterms, zenity dialogs and so on (which are distracting).  Even dmenu I find unsatisfactory because it is located at the top of the screen, not necessarily in proximity to the browser, and captures the keyboard globally (with conkeror I can switch to a different program and still answer the question when I switch back).  But I understand that everyone has their own preferences.

Last edited by mrbrich (2010-07-27 16:59:48)

Offline

#397 2010-07-29 07:36:36

Psyce
Member
Registered: 2008-05-06
Posts: 51

Re: jumanji - a web browser

Hi,

I have a little question. When I use "y" for yank url then it isn't copied to my global clipboard. So I can only yank urls and use them in the jumanji. That is really annoying because normally i don't yank an url for open a new tab with the same url. Maybe I am missing something ?

greets
Psyce

Offline

#398 2010-07-29 07:46:10

tzervo
Member
From: Athens
Registered: 2009-04-03
Posts: 86

Re: jumanji - a web browser

Psyce wrote:

Hi,

I have a little question. When I use "y" for yank url then it isn't copied to my global clipboard. So I can only yank urls and use them in the jumanji. That is really annoying because normally i don't yank an url for open a new tab with the same url. Maybe I am missing something ?

greets
Psyce

Try shift-inserting it, it is copied to PRIMARY, not to CLIPBOARD. If you don't like that behaviour and you mostly use CLIPBOARD you can look for a solution that syncs them (autocutsel/parcellite/clipbored etc)

Offline

#399 2010-07-29 08:14:01

neldoreth
Member
From: AT
Registered: 2009-02-01
Posts: 212

Re: jumanji - a web browser

Hello,

mrbrich wrote:

IMHO, it is more elegant and convenient to do this from within the browser on a single line than to open up new xterms, zenity dialogs and so on (which are distracting).

It may be a bit distracting, but the biggest benefit from this is that you can easily customize and change it (this won't be possible if i would use a download mechanism included in jumanji): So you can easily hand over the URI to download to any download manager/daemon you wan't or just use a wget session.

Best regards


pwmt.org : programs with movie titles

Offline

#400 2010-07-29 09:33:35

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: jumanji - a web browser

The project page moved so every links is broken now. Also I cannot find the faq anymore.
Also the lack of any form of documentation is disturbing. I don't talk of extensive documentation. A simple text file with WIP information would be enaugh: "This are all keybindings", "this is how you use bookmarks", etc.

edit: nevermind, I didn't think it had a man page already but it does smile

Last edited by Cdh (2010-07-29 09:35:26)


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

Board footer

Powered by FluxBB