You are not logged in.
(dwb:1497): GLib-GObject-WARNING **: invalid cast from `(null)' to `GtkLabel'
(dwb:1497): Gtk-CRITICAL **: gtk_label_set_markup: assertion `GTK_IS_LABEL (label)' failed
...
However, dwb still works normally !
e^(π⋅i) + 1 = 0
Offline
I have been trying to backtrace some crashes I am getting and during one of those tests I disabled the flashplugin in 'Plugins'.
Now dwb does not allow me to enable it again :-?
If I check the box it appears checked but immediately dwb 'refreshes' the plugins section and it is unchecked again.
There is a dwb flash player thread in the NB forum but as i do not mean to hijack it (in case my problem is not related) I chose to post in the main thread.
The problem appears both using the shortcut and from the command line. The latter does not report anything that could hint me into the right direction or provide some additional information with regard to the source of the problem.
I am using the dwb version from the repositories.
Thanks in advance for any hint to solve this.
\(o_X)/
'Cause I wanna be an Archy - An Archy in the UK // Sex Pistols
Offline
What I normally do is close dwb (killall dwb). Then edit the settings file and manually change value, then save n quit. Start dwb again and check the change.
Offline
@frank604
You refer to the .config/dwb/settings file?
I checked it and there the value of 'enable-plugins' is set to 'true'. Or is it a different value you are adressing?
\(o_X)/
'Cause I wanna be an Archy - An Archy in the UK // Sex Pistols
Offline
I have been trying to backtrace some crashes I am getting and during one of those tests I disabled the flashplugin in 'Plugins'.
Now dwb does not allow me to enable it again :-?
Yeah, that's a bug in the last release which is fixed in git. You can enable it
manually again by removing the lines containing libflashplayer.so from
~/.config/dwb/default/plugindb.
Edit: Or to enable all plugins you can simply remove ~/.config/dwb/default/plugindb.
Last edited by portix (2014-03-24 23:21:56)
Offline
After using Firefox+VimFX and Chromium+ViChrome for a while, I discovered dwb and I'd love to use it.
But.... I need some help getting dwb to work with my proxy (connection timeout).
http_proxy env var is set globally / system-wide and tools like git, curl, firefox, pacman work as expected, but dwb is unable to connect to http sites. (https works, but there's no proxy needed for https)
I configured the proxy setting to the same proxy uri than http_proxy env var - didn't help.
Proxy is enabled in dwb of course. I double-checked via hitting Ctrl-p
Also, dwbem is unable to list / download extensions (connection timeout). setting proxy via --proxy does not help
How can I track this down?
My proxy does not require any username / password and it is accessed via port 80, so my http_proxy env var looks like "http://myproxy.mydomain.org:80"
Last edited by fred777 (2014-03-25 10:56:41)
Offline
After using Firefox+VimFX and Chromium+ViChrome for a while, I discovered dwb and I'd love to use it.
But.... I need some help getting dwb to work with my proxy (connection timeout).
http_proxy env var is set globally / system-wide and tools like git, curl, firefox, pacman work as expected, but dwb is unable to connect to http sites. (https works, but there's no proxy needed for https)
I configured the proxy setting to the same proxy uri than http_proxy env var - didn't help.
Proxy is enabled in dwb of course. I double-checked via hitting Ctrl-p
Also, dwbem is unable to list / download extensions (connection timeout). setting proxy via --proxy does not help
How can I track this down?
My proxy does not require any username / password and it is accessed via port 80, so my http_proxy env var looks like "http://myproxy.mydomain.org:80"
It can also be set by Ss, and there is a proxy line and a use proxy checkbox.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
Maybe I was not clear enough, but with "I configured the proxy setting to the same proxy uri than http_proxy env var - didn't help." I meant that I configured the proxy setting explicitely via Ss - without success.
To sum it up:
1.) proxy setting via http_proxy env var does not work
2.) proxy setting via Ss settings window does not work
The same applies to dwbem with http_proxy env var and --proxy command line switch respectively.
Offline
fred777, just try removing http:// from your proxy setting in dwb.
Offline
already tried that, didn't work.
also tried adding / at the end - i.e. http://myproxy.mydomain:80/ - didn't work.
also tried unsetting http_proxy env var and solely setting proxy via Ss settings - didn't work.
As stated before, all other apps like curl, firefox, etc. work as expected with http_proxy env var.
Last edited by fred777 (2014-03-25 14:49:02)
Offline
Are you sure you want to be using port 80 for proxy? Don't you mean something like 8080? What proxy are you using?
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
Yes - I definitely want port 80. To be more precise: our IT admin want's it like that. There is no way for me to change that and there is no other way to access the internet except via https, which is not fed through the proxy.
Last edited by fred777 (2014-03-25 16:42:54)
Offline
@portix
All back to normal. Thanks. Looking forward for the fixed version to hit the repositories in case I encounter any further bugs that are already fixed in the git one.
@fred777
Did you try using the proxy IP instead of the domain name? Not sure if it would make such a difference but I guess it is worth a try.
\(o_X)/
'Cause I wanna be an Archy - An Archy in the UK // Sex Pistols
Offline
IP doesn't work either...
edit: I cloned the source code of dwb and finally got dwbem to work. The problem is: I only have http_proxy env var configured, not https_proxy because for https, no proxy is required. But dwbem does not differ between http proxy and https proxy, so http_proxy will be in place of https_proxy if https_proxy env var is unset. If https_proxy env var is set to an empty string, dwbem works.
Regarding dwb - according to soup.c/dwp_soup_init_proxy , http_proxy env var seems to be preferred over dwb proxy-uri setting. But this insight didn't help me, dwb is still unable to access http sites. To me it seems to be an issue with libsoup...
Another finding is, that because dwb does not parse the https_proxy env var, https sites cannot be accessed properly unless use_proxy is disabled.
edit2:
I finally played around with dwb source code and found the cause: inserting a printf for soup_uri_to_string into dwb_soup_init revealed that libsoup is stripping port 80 from the uri...
Shame on libsoup. Portix is not to be blamed on this
And there seems to be a fix in libsoup git: https://git.gnome.org/browse/libsoup/co … e0ef030d53
Well - the stripped-off port 80 is not the real cause for the problem, but it pointed me to the real cause: a bug in libsoup
Bottom line: Installing libsoup-git makes dwb work for me.
Last edited by fred777 (2014-03-26 10:05:55)
Offline
Is it just me, or do the links to the packages from the first post https://bbs.archlinux.org/viewtopic.php … 94#p745694 don't work anymore? https://aur.archlinux.org/packages/?O=0&K=dwb
We have dwb in the repos now too.
Also, dwb uses git now, not hg.
There's no libwebkit package, dwb depends on webkitgtk2, I'm not sure if this is an important distinction.
Offline
Flash seems to be causing dwb-git to crash. I was a poet and you didn't know it.
Last edited by nomorewindows (2014-03-28 00:16:05)
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
I don't have git version and dwb also sometimes crashes on flash content.
Last edited by Kolibry (2014-03-28 06:47:45)
Asus 1225B - 11,6" - AMD E-60 Dual Core 1,3Ghz - 4 Go RAM - Disque dur SSD 128 Go - Radeon HD6290
ArchLinux Openbox - My Github
Offline
Flash isn't very stable in webkitgtk, there is nothing i can do about it, the few sites where i need flash i use quvi.
Offline
Yes, the problem is flash itself, I just have to work on a workaround (right click "open with mpv" for example should be possible, will look into it)
Thanks for dwb !
Last edited by Kolibry (2014-03-28 15:09:31)
Asus 1225B - 11,6" - AMD E-60 Dual Core 1,3Ghz - 4 Go RAM - Disque dur SSD 128 Go - Radeon HD6290
ArchLinux Openbox - My Github
Offline
Yes, the problem is flash itself, I just have to work on a workaround (right click "open with mpv" for example shoul be possible, will look into it)
Thanks for dwb !
For youtube you could try
//!javascript
var regex = new RegExp("^https?" + RegExp.escape("://www.youtube.com/"));
function onContextMenu(uri, w, menu) {
menu.addItems([ {
label : "Open with mpv",
callback : function() {
system.spawn("mpv " + uri);
}
} ]);
this.disconnect();
}
var sigMenu = Signal("contextMenu");
Signal.connect("buttonPress", function(w, result, e) {
if (e.button == 3) {
if ((result.context & 1<<2) && result.linkUri.search(regex) != -1) {
sigMenu.connect(onContextMenu.bind(sigMenu, result.linkUri));
}
else if (tabs.current.uri.search(regex) != -1) {
sigMenu.connect(onContextMenu.bind(sigMenu, tabs.current.uri));
}
}
});
Maybe the regular expression could be tweaked, e.g. if you want to use mpv for other video sites that are supported by libquvi.
Edit:
btw, i use the following script:
//!javascript
hint(";v", function(wv, resource) {
if (resource[0] !== "@") {
system.spawn("mpv " + resource);
return true;
}
});
which creates hints and calls mpv with the selected link, it doesn't test if the link is supported by libquvi, but i don't care because mpv will simply fail to play the video then.
Last edited by portix (2014-03-28 11:40:51)
Offline
You're really nice, thanks !
I tried the option for mplayer which is in dwb Arch wiki but nothing happened, your solution works so well, it deserves to be included in that wiki page
Thanks again for sharing your software
Asus 1225B - 11,6" - AMD E-60 Dual Core 1,3Ghz - 4 Go RAM - Disque dur SSD 128 Go - Radeon HD6290
ArchLinux Openbox - My Github
Offline
You're really nice, thanks !
I tried the option for mplayer which is in dwb Arch wiki but nothing happened, your solution works so well, it deserves to be included in that wiki page
Thanks again for sharing your software
mplayer has no libquvi support, you can use quvi instead if you want to use mplayer, for the first script it would be
system.spawn("quvi dump -s best --exec 'mplayer %u' " + uri);
and for the second script
system.spawn("quvi dump -s best --exec 'mplayer %u' " + resource);
Offline
Flash seems to be causing dwb-git to crash. I was a poet and you didn't know it.
I'm using dwb-git and flash usually works for me.
Offline
nomorewindows wrote:Flash seems to be causing dwb-git to crash. I was a poet and you didn't know it.
I'm using dwb-git and flash usually works for me.
Are you using any extensions? When I click on click to enable flash it bombs.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
Are you using any extensions?
Yup:
$ dwbem -a
==> Syncing with https://bitbucket.org/portix/dwb_extensions
==> Available extensions:
i - adblock_subscriptions
i - autoquvi
- contenthandler
- cookies
i - downloadhandler
i - formfiller
- googlebookmarks
- googledocs
- grabscrolling
- multimarks
i - navtools
i - perdomainsettings
- pwdhash
- refcontrol
- requestpolicy
i - simplyread
- speeddial
- supergenpass
- unique_tabs
- userscripts
i - whitelistshortcuts
Can anyone test if they're having an issue with 'cookies' extension?
$ dwbem -I cookies
!!! Extension cookies not found
$ ls /usr/share/dwb/extensions/cookies
-rw-r--r-- 1 17K Mar 26 13:39 /usr/share/dwb/extensions/cookies
Offline