You are not logged in.
As a matter or curiosity, how could one set up a second jumanji browsers for use on a second desktop selection?
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
Try
set single_instance 0
in ~/.config/jumanji/jumanjirc.
arch x86_64 / ratpoison,musca / urxvt / screen / mpd+ncmpcpp / opera,jumanji
Keep Smiling !
Offline
A step further: There is JumNav version 0.3. Note that this requires to re-patch jumanji.c from jumanji-git of 20100809. The patch is here.
/*****************
*** Changelog ***
*****************/
/*
* Version 0.3
* - Bug fixed: Handles most links properly now, esp. javascript calls
* on the page
* - Navigation mode implemented: allows to navigate back and forth the
* clickable elements hierarchy on the page instead of
* following hinting labels.
* Also allows for some interaction (display mode changes).
* Defaults:
* # toggle navigation/hinting mode
* n go to next node in the hierarchy
* p go to previous node in the hierarchy
* s select ("click") the current node
* + toggle display colors
* - toggle a "raw" position mode in order to properly
* align the hinting labels/node rectangles on some pages
Most settings are configurable as before. See the "user configuration section" in the script.
Bear with me. There is still more to come.
To know or not to know ...
... the questions remain forever.
Offline
I am seeing segfaults on a few links now.
Aug 11 20:47:25 wolfdale kernel: jumanji[18133]: segfault at 0 ip (null) sp 00007fff68649818 error 14 in jumanji[400000+11000]
Aug 11 20:48:02 wolfdale kernel: jumanji[18516]: segfault at 0 ip (null) sp 00007fff240f3918 error 14 in jumanji[400000+11000]
This was on a link on si.com, which forwards to fanhouse.com
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Well, it does keep me away from Encyclopædia Dramatica.
Do "forward" work for any others?
Last edited by Nichollan (2010-08-12 01:02:21)
Offline
I am seeing segfaults on a few links now.
Aug 11 20:47:25 wolfdale kernel: jumanji[18133]: segfault at 0 ip (null) sp 00007fff68649818 error 14 in jumanji[400000+11000] Aug 11 20:48:02 wolfdale kernel: jumanji[18516]: segfault at 0 ip (null) sp 00007fff240f3918 error 14 in jumanji[400000+11000]
This was on a link on si.com, which forwards to fanhouse.com
This segfaults for me as well. The backtrace is same as the one for http://www.hallikainen.org/windoze/winrg.swf, and crash seems to be in libwebkit. Haven't checked if there's already an upstream bug for this.
arch x86_64 / ratpoison,musca / urxvt / screen / mpd+ncmpcpp / opera,jumanji
Keep Smiling !
Offline
This segfaults for me as well. The backtrace is same as the one for http://www.hallikainen.org/windoze/winrg.swf, and crash seems to be in libwebkit. Haven't checked if there's already an upstream bug for this.
yes, but the same link works in chromium. So I am not sure if its only webkit.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
g33k wrote:This segfaults for me as well. The backtrace is same as the one for http://www.hallikainen.org/windoze/winrg.swf, and crash seems to be in libwebkit. Haven't checked if there's already an upstream bug for this.
yes, but the same link works in chromium. So I am not sure if its only webkit.
The link segfaults in jumanji here as well but works in midori. Hence probably this is not a webkit only problem.
To know or not to know ...
... the questions remain forever.
Offline
It would be nice if the hints worked out of the box. I like the defaults just fine, so creating a config every time just to make the hints work gets old.
Offline
It would be nice if the hints worked out of the box. I like the defaults just fine, so creating a config every time just to make the hints work gets old.
I think this will be the case as soon as the hinting branch is ready for release. Unfortunately this will take some more time, see neldoreth's comment.
To know or not to know ...
... the questions remain forever.
Offline
Here's a barebones .desktop entry for jumanji:
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Name=Jumanji
GenericName=Web Browser
GenericName[de]=Web-Browser
Exec=jumanji %U
Terminal=false
Categories=Network;WebBrowser;
MimeType=text/html;
Also needs an icon, some translations, and probably a lot of other stuff, just like the zathura one.
Offline
You have a typo there in config.def.h on line 31:
char* spawn_editor = "xterm -e -sh -c \"vim %s\"";
It's sh without the -
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
Ignore - misunderstood
Last edited by bernarcher (2010-08-16 20:55:39)
To know or not to know ...
... the questions remain forever.
Offline
I'm experiencing strange performance problems with using the mouse in jumanji. It suffices to simply move around the mouse (inside the webkit view) to cause jumanji and X to use 100% of the CPU.
This seems to be independent of the window manager, of my jumanji configuration, of the operating system, nor does it seem to have anything to do with webkit, since it doesn't happen with uzbl (and uzbl uses webkit too iirc).
Luckily, browsing with the keyboard doesn't seem to be affected.
Am I the first to notice this? Can this be looked into?
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
Is there a way of adding form spellchecking, perhaps with an external script? Though IIRC Uzbl had this built in so it can be built on top of libwebkit?
Offline
are you guys able to play anything on dailymotion? I always get the "Error Stream not found" message. it works with firefox+chromium.
Offline
I get the same message in midori. A webkit problem perhaps?
To know or not to know ...
... the questions remain forever.
Offline
very likely, same thing with surf, just tried...
Offline
Hello I am trying jumanji
2 question :
Is there a way to get "follow link" work ? I tried JumNav 0.3 but the necessary http://pastebin.com/6qPGTk6P doesn't work.
Is there a jumanji equivalent to uzbl "formfiller" ?
Thanks in advance
Offline
I use portix's script from a few pages back and follow link works like a charm.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
I download it (dwb2_hints.js) in ~/.config/jumanji/scripts and put the line
script ~/.config/jumanji/scripts/dwb2_hints
in my ~/.config/jumanji/jumanjirc but then when I press "f" key I just get :
"Follow hint" at the page bottom but nothing appear inside the page.
EDIT : too quick ... it work ... I forget the ".js" at the end of the script nam
Thanks :-)
Last edited by akira86 (2010-08-18 19:29:05)
Offline
Maybe because you are missing the .js at the end of that command !!
If that doesn't work try
script file:///home/yourUserName/.config/jumanji/scripts/dwb2_hints.js
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
I use portix's script from a few pages back and follow link works like a charm.
Could you do me a favor and link/pastebin the exact script you're using?
I've tried so many versions of so many scripts and i haven't had working link following since the first version of follow_hints.js was supported.
//github/
Offline
not on my arch box right now. But will soon be. Work time ends in 11 mins
Will post it once I get back home.
EDIT: meh...I got bored. I am leaving now.
Last edited by Inxsible (2010-08-18 20:50:19)
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Hello I am trying jumanji
2 question :
Is there a way to get "follow link" work ? I tried JumNav 0.3 but the necessary http://pastebin.com/6qPGTk6P doesn't work.
Somehow the diff got corrupted in the copying. Could somebody please try this one and report back whether it works:
--- jumanji.c 2010-08-18 20:40:32.000000000 +0000
+++ jumanji.c.new 2010-08-18 20:41:43.000000000 +0000
@@ -1619,6 +1619,14 @@
Jumanji.Global.buffer = temp;
gtk_label_set_markup((GtkLabel*) Jumanji.Statusbar.buffer, Jumanji.Global.buffer->str);
}
+ /* Make sure the follower script gets known of the buffer change */
+ if(Jumanji.Global.mode == FOLLOW)
+ {
+ /* not sure if there will be side effects by the NULL value
+ * but it will not be used in this case after all */
+ Argument argument = {0, NULL};
+ sc_follow_link(&argument);
+ }
}
}
@@ -1713,20 +1721,62 @@
else
cmd = g_strdup("focus_next()");
}
- else if(Jumanji.Global.buffer && Jumanji.Global.buffer->len > 0)
- cmd = g_strconcat("update_hints(\"", Jumanji.Global.buffer->str, "\")", NULL);
+ else if(Jumanji.Global.buffer)
+ {
+ if(Jumanji.Global.buffer->len > 0)
+ {
+ cmd = g_strconcat("update_hints(\"", Jumanji.Global.buffer->str, "\")", NULL);
+ }
+ else if(Jumanji.Global.buffer->len == 0)
+ {
+ /* probably not needed actually (see below), just for being sure */
+ cmd = g_strconcat("update_hints(\"", "", "\")", NULL);
+ }
+ }
+ else
+ {
+ /* jumanji removes the buffer if it gets cleared on a delete operation
+ * (hopefully there are no nasty side effects) */
+ cmd = g_strconcat("update_hints(\"", "", "\")", NULL);
+ }
run_script(cmd, &value, NULL);
g_free(cmd);
if(value && strcmp(value, "undefined"))
{
- if(open_mode == -1)
- open_uri(GET_CURRENT_TAB(), value);
+ /* Was there a buffer reset special command returned? */
+ if(value[0] == '\\')
+ {
+ /* Clear and remove the global buffer if it exists. */
+ if(Jumanji.Global.buffer)
+ {
+ g_string_free(Jumanji.Global.buffer, TRUE);
+ Jumanji.Global.buffer = NULL;
+ gtk_label_set_markup((GtkLabel*) Jumanji.Statusbar.buffer, "");
+ }
+ if(strlen(value) > 1)
+ {
+ /* Moreover: was there a mode change command returned? */
+ if(value[1] == '\\')
+ {
+ /* clear modes */
+ change_mode(NORMAL);
+ gtk_widget_hide(GTK_WIDGET(Jumanji.UI.inputbar));
+ webkit_web_view_unmark_text_matches(GET_CURRENT_TAB());
+ }
+ }
+ }
else
- create_tab(value, TRUE);
+ {
+ /* There has been an address returned. Go there. */
+ if(open_mode == -1)
+ open_uri(GET_CURRENT_TAB(), value);
+ else
+ create_tab(value, TRUE);
- sc_abort(NULL);
+ sc_abort(NULL);
+ }
}
}
Last edited by bernarcher (2010-08-18 20:52:21)
To know or not to know ...
... the questions remain forever.
Offline