You are not logged in.

#2201 2014-08-04 00:10:53

nomorewindows
Member
Registered: 2010-04-03
Posts: 2,959

Re: dwb - a webkit web browser

Winged4Ever wrote:

Another problem - When I try to open a website on dwb which uses Flash Player, the browser crashes. I noticed that when I run it with 'sudo', it works fine (but it is not too safe I presume, so that's why this is a problem).

Log from dwb after the crash:

(dwb:2581): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(dwb:2581): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
EE r600_pipe.c:176 r600_create_context - Unsupported chip class 2.
EE r600_pipe.c:176 r600_create_context - Unsupported chip class 2.
Received SIGSEGV, trying to clean up.

Last 17 stack frames: 

 17: dwb() [0x8054f70]
 16: dwb() [0x806f100]
 15: linux-gate.so.1(__kernel_sigreturn+0) [0xb7762b08]
 14: /usr/lib/vdpau/libvdpau_r600.so.1(+0x83bb9) [0xa21a5bb9]
 13: /usr/lib/vdpau/libvdpau_r600.so.1(+0x1fb48) [0xa2141b48]
 12: /usr/lib/vdpau/libvdpau_r600.so.1(+0x16f80) [0xa2138f80]
 11: /usr/lib/vdpau/libvdpau_r600.so.1(vdp_imp_device_create_x11+0xf7) [0xa2285ab7]
 10: /usr/lib/libvdpau.so(vdp_device_create_x11+0x50) [0xa24c05f0]
  9: /usr/lib/mozilla/plugins/libflashplayer.so(+0x57c6b8) [0xace6f6b8]
  8: /usr/lib/mozilla/plugins/libflashplayer.so(+0x57d0ef) [0xace700ef]
  7: /usr/lib/mozilla/plugins/libflashplayer.so(+0x5c993d) [0xacebc93d]
  6: /usr/lib/mozilla/plugins/libflashplayer.so(+0x15b1bc) [0xaca4e1bc]
  5: /usr/lib/mozilla/plugins/libflashplayer.so(+0x15cde7) [0xaca4fde7]
  4: /usr/lib/mozilla/plugins/libflashplayer.so(+0x15e189) [0xaca51189]
  3: /usr/lib/mozilla/plugins/libflashplayer.so(+0x53363d) [0xace2663d]
  2: /usr/lib/mozilla/plugins/libflashplayer.so(+0x533c61) [0xace26c61]
  1: /usr/lib/libgtk-x11-2.0.so.0(+0x120ecc) [0xb54f5ecc]
Segmentation fault
karol wrote:

Which dwb package are you using?

Also, back up in this thread a little was a little discussion on flash and dwb.

Last edited by nomorewindows (2014-08-04 00:13:27)


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#2202 2014-08-06 02:43:59

sw2wolf
Member
From: China
Registered: 2009-06-08
Posts: 99
Website

Re: dwb - a webkit web browser

$cat build.sh
export CFLAGS=-I/usr/local/include
gmake PREFIX=/home/sw2wolf/dwb install GTK=3

$./build.sh
...
cc dwbremote.c
In file included from /usr/local/include/X11/Xlib.h:47,
                 from dwbremote.h:22,
                 from dwbremote.c:19:
/usr/local/include/X11/Xfuncproto.h:145:24: error: ISO C does not permit named variadic macros
cc1: warnings being treated as errors
dwbremote.c: In function 'dwbremote_get_int_property':
dwbremote.c:95: warning: dereferencing type-punned pointer will break strict-aliasing rules
...

It is freebsd 9.1.

Last edited by sw2wolf (2014-08-06 02:45:04)


e^(π⋅i) + 1 = 0

Offline

#2203 2014-08-06 02:59:58

Trilby
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 13,499
Website

Re: dwb - a webkit web browser

sw2wolf, if you think this is a dwb bug it should probably go to portix's site as suggested in the first post.  If you think it is a build error on the system, it should go to freebsd forums.

It seems to be the latter, as that error indicates the absence of a GCC extension that is not part of ISO C.  But it actually has nothing to do with dwb code - you should get that same error trying to compile anything that uses those X11 macros.


InterrobangSlider
• How's my coding? See this page.
• How's my moderating? Feel free to email any concerns, complaints, or objections.

Offline

#2204 2014-08-06 08:10:56

cutuchiqueno
Member
Registered: 2013-07-06
Posts: 60

Re: dwb - a webkit web browser

Question: Is it also possible, to remap the escape key to switch from INSERT to NOMAL mode?

Background: Some webapps I am using like Tweetdeck or the IPython Notebook rely intensively on there own usage of the escape key when used with keyboard navigation. This sometimes is very confusing. For example, to leave a cell in IPython Notebook I press escape but it does not only leave the cell of cause but also the INSERT mode. For my next IPython action I than have to push two keys again I for INSERT mode and the IPython key. Sometimes I even forget about being in the NORMAL mode again and delte the whole tab with d because. This is very annoying or at least painfull to handle. In Tweetdeck for example, the keybindings are not even changable so I really rely on changing it on dwb level.

Tasks Performed: Looked at Sk if there is such an option, but there isn't. Looked at manpage but could not find something related, just saying that Esc always changes to NORMAL Mode


Dell xps 13 Sputnik 3 | Intel i7 Haswell | Intel HD graphics 4440 |
BIOS Legacy Mode | Syslinux | SystemD | i3wm | termite | zsh
@cutuchiqueno at  #archlinux

Offline

#2205 2014-08-06 18:27:39

nomorewindows
Member
Registered: 2010-04-03
Posts: 2,959

Re: dwb - a webkit web browser

But then escape is how you back out of some situations.  It might be better to have insert to change modes.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#2206 2014-08-07 00:46:41

sw2wolf
Member
From: China
Registered: 2009-06-08
Posts: 99
Website

Re: dwb - a webkit web browser

Trilby wrote:

sw2wolf, if you think this is a dwb bug it should probably go to portix's site as suggested in the first post.  If you think it is a build error on the system, it should go to freebsd forums.

It seems to be the latter, as that error indicates the absence of a GCC extension that is not part of ISO C.  But it actually has nothing to do with dwb code - you should get that same error trying to compile anything that uses those X11 macros.

Thanks ! I will ask for help on FreeBSD forum.  https://forums.freebsd.org/viewtopic.php?f=5&t=47518

By commenting line "CFLAGS += -Wall -pedantic -Werror -Wextra -std=c99 -Os" in dwbremote/Makefile, `gmake CC=clang PREFIX=~/dwb install GTK=3` reports:
...
scripts/cl_frame.o: In function `frame_get_document':
src/scripts/cl_frame.c:243: undefined reference to `webkit_web_frame_get_dom_document'
...

Regards!

Last edited by sw2wolf (2014-09-06 03:00:39)


e^(π⋅i) + 1 = 0

Offline

#2207 2014-08-07 12:52:49

NoFlash
Member
Registered: 2014-08-07
Posts: 1

Re: dwb - a webkit web browser

Hi,
I just registered to tell you that dwb is the best web browser I have ever had and I am very thankful for developing it. I used a lot - vimperator, uzbdl, w3m, luakit. But dwb is the best browser for me. Keep a good job there ( I'm using it for 6 months now). The best thing is that I can play youtube wideos without flash (I had to add -g --prefer-insecure options to youtube-dl so that it could work properly).

The only thing I missed from vimperator are macros - yeah they are really helpful when logging to some webservices (like email) every day, but I can life without it.

Offline

#2208 2014-08-09 19:10:09

Winged4Ever
Member
Registered: 2013-11-09
Posts: 35

Re: dwb - a webkit web browser

NoFlash wrote:

The only thing I missed from vimperator are macros - yeah they are really helpful when logging to some webservices (like email) every day, but I can life without it.

You can install 'formfiller' plugin to dwb, it logs you to sites with a single keypress. Type 'dwbem' in your console for further details.

Last edited by Winged4Ever (2014-08-09 19:12:14)


|| Kernel: 4.0.4-2-ARCH || Architecture: i686 || WM: ratpoison || DE: none ||

“A man goes to knowledge as he goes to war: wide-awake, with fear, with respect, and with absolute assurance. Going to knowledge or going to war in any other manner is a mistake, and whoever makes it might never live to regret it”
---Don Juan

Offline

#2209 2014-08-18 14:44:59

goPhir
Member
From: The darkside of the moon
Registered: 2014-07-20
Posts: 16

Re: dwb - a webkit web browser

I know I am late, but I just wanted to say thanks to portix for dwb, its awesome


makepkg not war smile


"Compiling would be easy they said, source based distros would be easy they said, then thats when I moved to Arch"

Offline

#2210 2014-08-19 17:22:32

goPhir
Member
From: The darkside of the moon
Registered: 2014-07-20
Posts: 16

Re: dwb - a webkit web browser

Does anyone have any suggestions on organizing bookmarks? Is there a way to create folders or the like?


makepkg not war smile


"Compiling would be easy they said, source based distros would be easy they said, then thats when I moved to Arch"

Offline

#2211 2014-08-21 14:19:12

Whiskers
Member
Registered: 2014-08-21
Posts: 5

Re: dwb - a webkit web browser

I run a small local web server ("darkhttpd" from the Community repository) and create .html files where I list things I want organised my way.  Then add a dwb bookmark (or Quickmark) for the front page provided by the web server (darkhttp does a good job of generating an index page automatically from the files and directories you point it at).

Lynx bookmark files can be accessed this way too.

Another approach is to use the XDG menu system; the package "archlinux-menus" uses this method to provide handy links to Arch-related web pages.

I have been a little disappointed that dwb will open a local file:/// url from the manual 'open' command, but not from a bookmark or quickmark entry.

Offline

#2212 2014-08-21 14:46:30

Asmir
Member
From: BiH
Registered: 2011-10-06
Posts: 67

Re: dwb - a webkit web browser

Whiskers wrote:

~snip~
dwb will open a local file:/// url from the manual 'open' command, but not from a bookmark or quickmark entry.

Are you sure? Dwb opens local files for me using quickmark. hmm

Offline

#2213 2014-08-21 17:49:12

sekret
Member
Registered: 2013-07-22
Posts: 203

Re: dwb - a webkit web browser

In the settings (type "Ss") there are two options about local files

- enable-file-access-from-file-uris (Whether file access from file uris is allowed)
- enable-universal-access-from-file-uris (Whether to allow files loaded through file:)

Maybe you have them configured differently?

Offline

#2214 2014-08-21 20:32:48

Whiskers
Member
Registered: 2014-08-21
Posts: 5

Re: dwb - a webkit web browser

Asmir wrote:
Whiskers wrote:

~snip~
dwb will open a local file:/// url from the manual 'open' command, but not from a bookmark or quickmark entry.

Are you sure? Dwb opens local files for me using quickmark. hmm

Not for me.

Offline

#2215 2014-08-21 20:33:18

Whiskers
Member
Registered: 2014-08-21
Posts: 5

Re: dwb - a webkit web browser

sekret wrote:

In the settings (type "Ss") there are two options about local files

- enable-file-access-from-file-uris (Whether file access from file uris is allowed)
- enable-universal-access-from-file-uris (Whether to allow files loaded through file:)

Maybe you have them configured differently?

I have both those settings selected.

Offline

#2216 2014-08-22 00:48:16

amazing horst
Member
Registered: 2014-08-22
Posts: 1

Re: dwb - a webkit web browser

When playing an html5 video from vimeo.com the playback stops after 20 seconds. If I switch cache-model from webbrowser to documentviewer then it stops after 30 seconds. Where should I start to solve the problem?

Offline

#2217 2014-08-24 09:40:48

chickenPie4tea
Member
Registered: 2012-08-21
Posts: 278

Re: dwb - a webkit web browser

Winged4Ever wrote:
NoFlash wrote:

The only thing I missed from vimperator are macros - yeah they are really helpful when logging to some webservices (like email) every day, but I can life without it.

You can install 'formfiller' plugin to dwb, it logs you to sites with a single keypress. Type 'dwbem' in your console for further details.

You make it sound so easy but I could never manage to get it working, I couldn't find good instructions.


You can like linux without becoming a fanatic!

Offline

#2218 2014-08-24 09:58:48

cju
Member
Registered: 2013-06-23
Posts: 194

Re: dwb - a webkit web browser

I have problems with dwb's encoding of special chars when visiting pages like these: http://en.wikipedia.org/wiki/Geometric_Shapes, http://en.wikipedia.org/wiki/List_of_Unicode_characters

Though I also tried setting dwb's encoding manually to utf-8, lots of the special unicode chars aren't displayed, whereas in Firefox, terminal, file manager etc. everything works fine; my whole system is on UTF-8, `locale` confirms that.

Any ideas?

Offline

#2219 2014-08-24 16:24:33

shutdown -h now
Member
Registered: 2012-11-07
Posts: 18

Re: dwb - a webkit web browser

The html5 video crashing problem got finally fixed! The culprit was cairo.

Get the proposed patch from this bugreport. Save it as cairo_webkit.patch. And compile cairo-git with the following PKGBUILD (I've only added the patch):

# Contributor: dx <dx@dxzone.com.ar>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=cairo-git
pkgver=1.12.16.164.g13a0952
pkgrel=1
pkgdesc="Cairo vector graphics library (git version)"
arch=(i686 x86_64)
license=('LGPL' 'MPL')
url="http://cairographics.org/"
depends=('libpng>=1.4.0' 'libxrender' 'fontconfig>=2.8.0' 'pixman>=0.18.4' 'xcb-util>=0.3.6' 'glib2>=2.24.0')
makedepends=('gtk-doc' 'git')
options=('!libtool')
provides=('cairo=$pkgver' 'cairo-xcb=$pkgver')
conflicts=('cairo' 'cairo-xcb')
source=('git://anongit.freedesktop.org/git/cairo' 'cairo-1.10.0-buggy_gradients.patch' 'cairo_webkit.patch')
sha1sums=('SKIP'
          '8b843a9934e5112b6188e5bcf4adfc1fdaf9fa04'
          'SKIP')
_gitname='cairo'

pkgver() {
  cd "$srcdir/$_gitname"
  git describe --always | sed 's|-|.|g'
}

prepare() {
  cd "${srcdir}/${_gitname}"
  patch -Np1 -i "$srcdir/cairo-1.10.0-buggy_gradients.patch"
  patch -Np1 --ignore-whitespace -i "$srcdir/cairo_webkit.patch"
}

build() {
  cd "${srcdir}/${_gitname}"
  ./autogen.sh --prefix=/usr --sysconfdir=/etc \
    --localstatedir=/var --enable-xcb --disable-static
  make
}

package(){
  cd "${srcdir}"/${_gitname}
  make DESTDIR="${pkgdir}" install
}

Tested it for about 5 videos and haven't had a segfault yet.

Offline

#2220 2014-08-25 15:20:52

Whiskers
Member
Registered: 2014-08-21
Posts: 5

Re: dwb - a webkit web browser

chickenPie4tea wrote:
Winged4Ever wrote:
NoFlash wrote:

The only thing I missed from vimperator are macros - yeah they are really helpful when logging to some webservices (like email) every day, but I can life without it.

You can install 'formfiller' plugin to dwb, it logs you to sites with a single keypress. Type 'dwbem' in your console for further details.

You make it sound so easy but I could never manage to get it working, I couldn't find good instructions.

Fill in the form, escape from insert mode to normal mode. key efg to get the form details and your input recorded, respond yes or no to the 'autosubmit' prompt.

Next time you go to that URL, in normal mode key eff to insert whatever you typed before into whichever fields you completed.

Offline

#2221 2014-08-25 17:09:03

dummyano
Member
Registered: 2014-02-14
Posts: 10

Re: dwb - a webkit web browser

goPhir wrote:

Does anyone have any suggestions on organizing bookmarks? Is there a way to create folders or the like?

I wanted tags anyway so I developed this: https://github.com/dummyano/Booktag

since it can be run from cli to add bookmark I bind it to "bt"

% cat .config/dwb/userscripts/booktag.sh                                                                                                       :(
#!/bin/bash
# dwb: bt
booktag $DWB_URI && \
notify-send -u low "Booktag saved $DWB_URI" #optional notification

I've had no time to search, but it would be perfect if one could pass some tags before saving,
booktag already accept that, it's just I don't know how to do it from dwb

Offline

#2222 2014-08-31 14:09:05

ap_m
Member
Registered: 2013-02-22
Posts: 9

Re: dwb - a webkit web browser

dummyano wrote:

I wanted tags anyway so I developed this: https://github.com/dummyano/Booktag

Thank you for this! I was looking for a better bookmarks management solution, and yours seems perfect for my needs!
I also found this: https://github.com/davidlazar/jotmuch, which I didn't try yet.

Offline

#2223 2014-09-01 02:26:27

dummyano
Member
Registered: 2014-02-14
Posts: 10

Re: dwb - a webkit web browser

shutdown -h now wrote:

The html5 video crashing problem got finally fixed! The culprit was cairo.
Get the proposed patch from this bugreport. Save it as cairo_webkit.patch. And compile cairo-git with the following PKGBUILD (I've only added the patch):

Thank you so much. I've been digging everywhere for a solution. I used cairo-git and it works (- without recompiling works, dwb-git won't compile against it tough -).

ap_m wrote:

Thank you for this! I was looking for a better bookmarks management solution, and yours seems perfect for my needs!

Glad if you'll find it useful, you'll need node-webkit for it to run, I'll have to update the readme on github.
IT's not much ATM, but I'm using it daily and so far so good.

I found a way to pass it tags from within dwb, e.g. you can now do

:booktag tag1,tag2

and you'll end up with http://yoururl  tag1,tag2

still looking to do it like dwb does with named sessions

Offline

#2224 2014-09-05 23:08:54

lagagnon
Member
From: an Island in the Pacific...
Registered: 2009-12-10
Posts: 1,076
Website

Re: dwb - a webkit web browser

dwb newb here. I think dwb is great on my little Chromebook but can't quite figure out how to get music from a website like tunein.com? It seems to just download a .m3u file. I gather I need the contenthandler extension and mplayer installed, but would appreciate suggestions. Thanks!


Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.

Offline

#2225 2014-09-07 00:08:34

nomorewindows
Member
Registered: 2010-04-03
Posts: 2,959

Re: dwb - a webkit web browser

lagagnon wrote:

dwb newb here. I think dwb is great on my little Chromebook but can't quite figure out how to get music from a website like tunein.com? It seems to just download a .m3u file. I gather I need the contenthandler extension and mplayer installed, but would appreciate suggestions. Thanks!

You might need autoquvi.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

Board footer

Powered by FluxBB