You are not logged in.
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
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
$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
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.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
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
Offline
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
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
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
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
I know I am late, but I just wanted to say thanks to portix for dwb, its awesome
makepkg not war
"Compiling would be easy they said, source based distros would be easy they said, then thats when I moved to Arch"
Offline
Does anyone have any suggestions on organizing bookmarks? Is there a way to create folders or the like?
makepkg not war
"Compiling would be easy they said, source based distros would be easy they said, then thats when I moved to Arch"
Offline
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
~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.
Offline
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
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.
Not for me.
Offline
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
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
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
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
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
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
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
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
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 -).
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
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
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