You are not logged in.
sorry to ask, but..
i had a problem last week where flash video played in dwb "leaks" into other windows.
This was fixed two months ago when libvdpau-0.5 was released. You must have some really old libvdpau installed if you still see it. If you do have 0.5 installed, make sure /etc/vdpau_wrapper.cfg contains disable_flash_pq_bg_color=1
Offline
Thanks for reply.
I have libvdpau-0.5-1 installed &
enable_flash_uv_swap=1
disable_flash_pq_bg_color=1
problem persists.
Last edited by flipper T (2012-11-06 13:47:14)
If I'm curt with you it's because time is a factor. I think fast, I talk fast and I need you guys to act fast if you wanna get out of this. So, pretty please... with sugar on top. Clean the [censored] car. -The Wolf
Offline
Army wrote:Do you have the gstreamer plugins installed?
I just now installed all of the gstreamer0.10-plugins group (including base, good, bad, ugly, and ffmpeg), and it's still not working. I'm trying with this video: http://www.youtube.com/watch?v=gjQmTkMjIBg (an HTML5 test video).
Here's another HTML5 video that likewise isn't working in dwb, but does work in Firefox for me: http://www.macslocum.com/html5-video.html.
Both work for me.
You could try to install the new versions of gstreamer. They are in the repos and called gst-libav, gst-plugins-bad, gst-plugins-base, gst-plugins-base-libs, gst-plugins-good, gst-plugins-ugly. The advantage is (besides being newer) that they pull less dependencies.
If it still doesn't work, try a youtube video without the youtube html5 plugins for dwb, but add a &html5=1 to the youtube url, e.g. like this.
If it still doesn't work, visit this link in another webkit browser (not chromium) and see if it works there.
If it still doesn't work, go outside to scream, otherwise you may damage your computer screen.
Offline
You could try to install the new versions of gstreamer. They are in the repos and called gst-libav, gst-plugins-bad, gst-plugins-base, gst-plugins-base-libs, gst-plugins-good, gst-plugins-ugly. The advantage is (besides being newer) that they pull less dependencies.
That worked! No screaming necessary!
Only thing that still doesn't completely work is the "eym" binding to open the video in mplayer. Weirdly, sometimes mplayer opens, but more often not; and when it does, the buffering is insufferable.
Oh well, as long as the video plays fine in dwb, that's good enough for me. Thanks so much for the help.
Offline
It seems that the grab_adblocker script was removed. Is there another script to update adblock filter lists? I noticed the settings have an option to point to the filters.
Last edited by rodyaj (2012-11-07 08:27:40)
Offline
It seems that the grab_adblocker script was removed. Is there another script to update adblock filter lists? I noticed the settings have an option to point to the filters.
The script wasn't removed, it was just moved to https://bitbucket.org/portix/dwb/raw/ti … _adblocker, there is also a script that automatically updates filterlists which can be installed with
dwbem -i adblock_subscriptions
It has two commands that can be executed from dwb's commandline :adblock_subscribe and :adblock_unsubscribe.
Offline
Thanks. That works well. One other problem I have is using edister search. The search results frame from the Google Custom Search doesn't get hinting. I'll tell the designer if it is a problem he could correct, but I wonder what exactly is wrong with it.
Last edited by rodyaj (2012-11-07 17:09:06)
Offline
Portix, thanks for this great browser. Works like a charm. Absolute 10/10 if it weren't for the occasional CPU problems.
Just a question about the contenthandler plugin I'd like to ask; how can you get it to spawn multiple processes like *sh would?
For instance, I'd like the pdf file extension to be saved to /tmp and read by my reader of choice. That is a small improvement over the usual "open it in memory", since the file is kept in /tmp if it is later needed. This is what I tried:
"pdf" : "wget %u --directory-prefix=/tmp; zathura /tmp/$(basename %u)"
The result, however, is that the semicolon is ignored ("/tmp;" is used as --directory-prefix and then "http://zathura/" and "/tmp/$(basename %u)" are treated as arguments to wget as well). An alternative would be to keep a bash script which would do this for me, but in my opinion it'd be optimal if the script could do this on its own.
How would you do it? Thanks!
Offline
For instance, I'd like the pdf file extension to be saved to /tmp and read by my reader of choice. That is a small improvement over the usual "open it in memory", since the file is kept in /tmp if it is later needed.
dwb does in fact save a copy of the pdf in ~/.cache/dwb/, for me at least. However, that directory gets cleared once dwb is closed.
In fact, it would be nice if there were a setting to automatically clear the cache or not upon exiting dwb, and maybe also add the cache to the things that can be sanitized by the sanitize command.
Offline
Portix, thanks for this great browser. Works like a charm. Absolute 10/10 if it weren't for the occasional CPU problems.
Just a question about the contenthandler plugin I'd like to ask; how can you get it to spawn multiple processes like *sh would?
For instance, I'd like the pdf file extension to be saved to /tmp and read by my reader of choice. That is a small improvement over the usual "open it in memory", since the file is kept in /tmp if it is later needed. This is what I tried:"pdf" : "wget %u --directory-prefix=/tmp; zathura /tmp/$(basename %u)"
The result, however, is that the semicolon is ignored ("/tmp;" is used as --directory-prefix and then "http://zathura/" and "/tmp/$(basename %u)" are treated as arguments to wget as well). An alternative would be to keep a bash script which would do this for me, but in my opinion it'd be optimal if the script could do this on its own.
How would you do it? Thanks!
You can use sh -c:
"pdf" : "sh -c 'FILE=\"%u\"; wget \"$FILE\" --directory-prefix=/tmp; evince /tmp/$(basename \"$FILE\")'"
Offline
dwb does in fact save a copy of the pdf in ~/.cache/dwb/, for me at least. However, that directory gets cleared once dwb is closed.
In fact, it would be nice if there were a setting to automatically clear the cache or not upon exiting dwb, and maybe also add the cache to the things that can be sanitized by the sanitize command.
What's your current configuraion? As far as I know, it's up to the pdf reader to open and save the pdf file to the cache. I don't see why would dwb save it under ~/.cache.
You can use sh -c:
"pdf" : "sh -c 'FILE=\"%u\"; wget \"$FILE\" --directory-prefix=/tmp; evince /tmp/$(basename \"$FILE\")'"
Quite funnily, I can't get it to work. Actually I can't get it to work the way it was before. Dwb will just download the file normally. There's something I'm doing wrong.
Is that sh -c bit working for you?
Thank you both for your answers.
Offline
@portix
I've noticed that on some pages, there is being cut the last few words of the lines, like e.g. here: http://www.msfn.org/board/topic/157061- … ure-wrong/
The strange thing is that during the loading of the page, then it suddently displays also the missing words at the end of each line, but when the page is fully finished rendering, they're cut off again?
You can see it by pressing r to reload the page, if it was missed...
I don't know if anything can be done about it, but I just thought to report it nonetheless.
Btw, wouldn't it be prefferable to let dwb by default have enabled 'page-cache' and 'site-specific-quirks' ? I know they're both off by default in webkit-gtk, but page-cache is listed in the docs to be recommended to be enabled for everything, except low memory devices, which I guess is why that's off by default, but the "quirks" option I dunno why not enabled by default i.e. if it can have some drawbacks or what? Anyway, just a thought...
Edit: I've just tested with surf to see if the "cut words" where a webkit issue, and sure enough, it was, so I guess it's out of your hands, then...
Last edited by mhertz (2012-11-10 01:32:51)
Offline
What's your current configuraion? As far as I know, it's up to the pdf reader to open and save the pdf file to the cache. I don't see why would dwb save it under ~/.cache.
I'm running dwb-hg with mupdf as my pdf viewer. No special config as far as caching goes.
Offline
@mvdan
It's dwb, and not the pdf-reader that handles the downloading. When I select a pdf in dwb and am prompted to download it, then I press 'control+x' to toggle download vs open-with(spawn) and enter zathura, and then dwb downloades the pdf to '~/.cache/dwb/foo.pdf' and runs afterwards: 'zathura ~/.cache/dwb/foo.pdf'...
Offline
@mvdan
It's dwb, and not the pdf-reader that handles the downloading. When I select a pdf in dwb and am prompted to download it, then I press 'control+x' to toggle download vs open-with(spawn) and enter zathura, and then dwb downloades the pdf to '~/.cache/dwb/foo.pdf' and runs afterwards: 'zathura ~/.cache/dwb/foo.pdf'...
That's just brilliant! How did you find out about that ctrl-x trick?
Is there any way to set the application you want to run a certain mimetype with? I.e. before downloading a PDF file, pressing ctrl-x would automatically download it to the dwb cache dir and open it with the application you previously specified. (I suppose contenthandler values are not taken into account here).
Regards.
Offline
That's just brilliant! How did you find out about that ctrl-x trick?
Portix anounced it previously in this thread.
Is there any way to set the application you want to run a certain mimetype with? I.e. before downloading a PDF file, pressing ctrl-x would automatically download it to the dwb cache dir and open it with the application you previously specified. (I suppose contenthandler values are not taken into account here).
Dwb remembers the mimetypes you toggle and type, and you can also pre-add them to the mimetypes file under '~/.config/dwb'.
This means if you've previously toggled a pdf and entered zathura, then dwb will prompt you to open all pdfs from now on with zathura, so it's just selecting a pdf and pressing return to accept dwb's query about opening the page with your pdf-reader...
Last edited by mhertz (2012-11-10 19:14:40)
Offline
Dwb remembers the mimetypes you toggle and type, and you can also pre-add them to the mimetypes file under '~/.config/dwb'.
This means if you've previously toggled a pdf and entered zathura, then dwb will prompt you to open all pdfs from now on with zathura, so it's just selecting a pdf and pressing return to accept dwb's query about opening the page with your pdf-reader...
Works like a charm. Thank you.
Just one last question - What about redirected downloads? Say, a link brings us to /somedir/download.php, which itself doesn't have any mimetype, but the file downloaded after all does have a mimetype. For example, a link to a pdf file appears as application/x-forcedownload but the filename extension saved is .pdf. Couldn't dwb figure out the correct mimetype (application/pdf in this case) if application/x-forcedownload is all that can be obtained from the link?
Offline
Hmm, I'm getting an issue right now where if I use find forward and find backwards, dwb no longer jumps to the location on the page. It does still highlight the search terms.
Edit: I'm an idiot. It's now implemented with the n and N keys. Sorry.
On a side note, what's that black home page and white text with what looks like bookmarks that everyone seems to be using?
Last edited by Vixus (2012-11-14 00:25:10)
Offline
On a side note, what's that black home page and white text with what looks like bookmarks that everyone seems to be using?
I'm not sure, are you talking about
C-h
Open the default startpage (command start_page, aliases: home).
Offline
On a side note, what's that black home page and white text with what looks like bookmarks that everyone seems to be using?
If you mean something like https://bbs.archlinux.org/viewtopic.php?pid=1185118#p1185118, it's basically a custom html file stored on your computer that you set as your homepage... as far as I can tell anyway.
Last edited by helgi (2012-11-15 16:32:17)
Offline
Vixus wrote:On a side note, what's that black home page and white text with what looks like bookmarks that everyone seems to be using?
If you mean something like https://bbs.archlinux.org/viewtopic.php?pid=1185118#p1185118, it's basically a custom html file stored on your computer that you set as your homepage... as far as I can tell anyway.
It's a html file generated with a small script I wrote
Offline
I have been experiencing dwb randomly being killed. I am not sure what this all means, but I started it from a terminal so that I could see the output. This is with the dwb-hg from the AUR. Built and installed yesterday in an attempt to stem this issue.
dwb
** (dwb:3810): CRITICAL **: dwb_update_status_text: assertion `gl == dwb.state.fview' failed
Received SIGSEGV, trying to clean up.
Last 27 stack frames:
27: dwb() [0x40cfa3]
26: dwb() [0x41e03d]
25: /usr/lib/libc.so.6(+0x35050) [0x7f71ecda1050]
24: /usr/lib/libc.so.6(+0x13266f) [0x7f71ece9e66f]
23: /usr/lib/libjavascriptcoregtk-1.0.so.0(_ZN3WTF10StringImpl6createEPKhj+0x4b) [0x7f71ed7c45fb]
22: /usr/lib/libjavascriptcoregtk-1.0.so.0(_ZN3WTF10StringImpl9substringEjj+0x53) [0x7f71ed7c4953]
21: /usr/lib/libjavascriptcoregtk-1.0.so.0(_ZNK3WTF6String9substringEjj+0x18) [0x7f71ed7c6aa8]
20: /usr/lib/libwebkitgtk-1.0.so.0(+0xb1f4ac) [0x7f71efb564ac]
19: /usr/lib/libwebkitgtk-1.0.so.0(+0xaa997f) [0x7f71efae097f]
18: /usr/lib/libwebkitgtk-1.0.so.0(+0x9dba8e) [0x7f71efa12a8e]
17: /usr/lib/libwebkitgtk-1.0.so.0(+0x9bd006) [0x7f71ef9f4006]
16: /usr/lib/libwebkitgtk-1.0.so.0(+0xa27c23) [0x7f71efa5ec23]
15: /usr/lib/libwebkitgtk-1.0.so.0(+0xb5efcb) [0x7f71efb95fcb]
14: /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x190) [0x7f71eda981a0]
13: /usr/lib/libgobject-2.0.so.0(+0x215b0) [0x7f71edaa95b0]
12: /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0xdac) [0x7f71edab151c]
11: /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x82) [0x7f71edab16b2]
10: /usr/lib/libsoup-2.4.so.1(+0x6fe50) [0x7f71ee7b9e50]
9: /usr/lib/libsoup-2.4.so.1(+0x7015b) [0x7f71ee7ba15b]
8: /usr/lib/libsoup-2.4.so.1(+0x70218) [0x7f71ee7ba218]
7: /usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x135) [0x7f71ed15a845]
6: /usr/lib/libglib-2.0.so.0(+0x47b78) [0x7f71ed15ab78]
5: /usr/lib/libglib-2.0.so.0(g_main_context_iteration+0x34) [0x7f71ed15ac34]
4: /usr/lib/libgio-2.0.so.0(g_application_run+0x1bc) [0x7f71edd705ec]
3: dwb() [0x42b048]
2: /usr/lib/libc.so.6(__libc_start_main+0xf5) [0x7f71ecd8d725]
1: dwb() [0x40d069]
[1] 3810 segmentation fault (core dumped) dwb
dwb 18.44s user 1.10s system 0% cpu 7:35:30.80 total
Offline
A backtrace would be useful, if you don't know how to create a backtrace, if have created a script that downloads and builds dwb in /tmp/DWB_DEBUG_$USERID (https://bitbucket.org/portix/dwb/raw/ti … cktrace.sh). The logfile will also be in the builddirectory. You only need mercurial and gdb installed.
Offline
You know, it doesn't output any errors anymore. I think the problem was that I installed dwb-hg because dwb from the repos was throwing errors. So I restarted dwb, but I didn't clear the ram or anything, so it was essentially opening the same binary as before from ram.
Sorry for the noise portix. And thanks for the amazing browser. It has become my daily driver. I can't stand to use those mainstream browsers anymore.
Edit: Okay, it did it again... here is that backtrace... did I do this right? I just ran the script you posted, here are the results of gdb.log:
$ more gdb.log
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
Traceback (most recent call last):
File "/usr/share/gdb/auto-load/usr/lib/libgobject-2.0.so.0.3400.2-gdb.py", line 9, in <module>
from gobject import register
File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
import gdb.backtrace
ImportError: No module named backtrace
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffe8b94700 (LWP 5810)]
[New Thread 0x7fffa8391700 (LWP 5811)]
[New Thread 0x7fffa7780700 (LWP 5812)]
[New Thread 0x7fffa6f7f700 (LWP 5818)]
[New Thread 0x7fff97fff700 (LWP 5819)]
[New Thread 0x7fff9767f700 (LWP 5821)]
[Thread 0x7fffa8391700 (LWP 5811) exited]
[Thread 0x7fff9767f700 (LWP 5821) exited]
[Thread 0x7fff97fff700 (LWP 5819) exited]
[Thread 0x7fffa7780700 (LWP 5812) exited]
[Thread 0x7fffe8b94700 (LWP 5810) exited]
[Thread 0x7fffe8da3900 (LWP 5807) exited]
[Inferior 1 (process 5807) exited normally]
No stack.
Last edited by WonderWoofy (2012-11-18 03:02:14)
Offline
Hi,
I now tried dwb and I really like it, though it is truely a memory sucking machine. Look into this post.
Edit: Oh, I didn't know, that some topics can only be accessed if one is logged in. Well this goes for the post above.
Benjamin
Last edited by Lord Bo (2012-11-18 04:17:42)
Offline