You are not logged in.

#1051 2012-09-20 07:23:13

portix
Member
Registered: 2009-01-13
Posts: 756

Re: dwb - a webkit web browser

nspluginwrapper also works with x86_64, pepper will not be supported in webkitgtk, without nspluginwrapper it's not possible to have flash in libwebkit3. If you are using a non-reparenting window manager i would recommend to use the gtk2-version anyway because gtk3 has a annoying bug in those window managers (bugreport).

Offline

#1052 2012-09-22 14:43:36

bloom
Member
Registered: 2010-08-18
Posts: 749
Website

Re: dwb - a webkit web browser

Lately it seems dwb is not saving my cookies on quit.

Yet I didn't change the related settings.

Deleting the cookies file doesn't help.

EDIT: Sorry, I found the solution on the previous page.

Last edited by bloom (2012-09-22 14:50:16)


gh · da · ds · cr · ab · fkr

Offline

#1053 2012-09-23 10:35:14

bslackr
Member
Registered: 2012-01-27
Posts: 131

Re: dwb - a webkit web browser

Has anyone else started to get black backgrounds around input and forms, or did I just mess something up on my end? Here's an example of what I am talking about:

vZmxxZw

Offline

#1054 2012-09-24 04:29:09

syngin
Member
From: Melbourne
Registered: 2011-03-29
Posts: 39

Re: dwb - a webkit web browser

bslackr wrote:

Has anyone else started to get black backgrounds around input and forms, or did I just mess something up on my end? Here's an example of what I am talking about:

http://ompldr.org/vZmxxZw

Yep. I've had this problem for a while now. It seems that there's a bug in upstream webkitgtk when using GTK2 and you don't have RandR support. My choices are:

a) use awesome instead of herbstluftwm (no)
b) use GTK3 instead of GTK2 (ugh - so slow)
c) put up with the huge borders until upstream figures it out

Sucks. In your case, are you using a multihead X setup? If so, did you recently change anything to do with either Xinerama or the Composite extension?

Edit: notice that "stop using dwb" is not an option. wink

Last edited by syngin (2012-09-24 05:04:54)

Offline

#1055 2012-09-24 10:43:12

bslackr
Member
Registered: 2012-01-27
Posts: 131

Re: dwb - a webkit web browser

Yeah, I recently started using xinerama so I guess that's it. Guess I'll also be waiting for upstream then and dealing with the borders. Thanks for the info.

Offline

#1056 2012-09-26 04:00:49

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: dwb - a webkit web browser

Has dwb always been in the repos?  I remember having to get it from the AUR, but pacman just gave me an update... which is a-ok with me.

Offline

#1057 2012-09-26 04:19:34

karol
Archivist
Registered: 2009-05-06
Posts: 25,423

Re: dwb - a webkit web browser

WonderWoofy wrote:

Has dwb always been in the repos?  I remember having to get it from the AUR, but pacman just gave me an update... which is a-ok with me.

https://projects.archlinux.org/svntogit … ckages/dwb

move dwb from unsupported to community

- 6 hours ago as of the time of my writing.

Offline

#1058 2012-09-26 04:32:11

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: dwb - a webkit web browser

Thanks, link master karol.

Offline

#1059 2012-09-27 11:33:32

denvist
Member
Registered: 2012-09-18
Posts: 6

Re: dwb - a webkit web browser

bslackr wrote:

Has anyone else started to get black backgrounds around input and forms, or did I just mess something up on my end? Here's an example of what I am talking about:

http://ompldr.org/vZmxxZw

I had recently the same problem. Please, show your "/etc/X11/xorg.conf".


sorry for my bad english.

Offline

#1060 2012-09-27 14:51:27

bslackr
Member
Registered: 2012-01-27
Posts: 131

Re: dwb - a webkit web browser

Here it is:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 304.43  (buildmeister@swio-display-x86-rhel47-13)  Sun Aug 19 21:19:17 PDT 2012

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 304.37  (buildmeister@swio-display-x86-rhel47-07.nvidia.com)  Wed Aug  8 21:03:22 PDT 2012

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "1"
EndSection

Section "Files"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "LG Electronics E2242"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "VIZ M370NV"
    HorizSync       31.0 - 70.0
    VertRefresh     50.0 - 77.0
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 670"
    BusID          "PCI:2:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 670"
    BusID          "PCI:2:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "DFP-0: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "DFP-1: 1920x1080_60 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Disable"
EndSection

Offline

#1061 2012-09-27 16:43:56

corey_s
Member
Registered: 2011-02-09
Posts: 45

Re: dwb - a webkit web browser

How do you guys deal with password management using dwb?  ( Sorry if I missed any docs or past posts on this topic )

Offline

#1062 2012-09-27 16:53:26

anti-destin
Member
Registered: 2009-02-14
Posts: 234

Re: dwb - a webkit web browser

i'm trying to set the usual keyboard shortcuts for changing tabs, viz., ctrl + tab to move to the next tab and ctrl + shift + tab to move to the previous tab. i have

Control @Tab@

for 'focus_next' and

Control Shift @Tab@

for 'focus_prev'.

ctrl + tab works as expected, but nothing happens when i press ctrl + shift + tab. did i miss something?

Offline

#1063 2012-09-27 16:55:10

corey_s
Member
Registered: 2011-02-09
Posts: 45

Re: dwb - a webkit web browser

I'm having another issue where I'm entirely unable to log into various sites - such as the archlinux forums or twitter for example using dwb.

I have:

cookies-accept-policy  set to 'never'

cookies-store-policy set to 'session'

... so with that alone, I would expect the behavior I'm seeing.

However, in .../.config/dwb/default/cookies.allow, I have:

bbs.archlinux.org
.bbs.archlinux.org
archlinux.org
.archlinux.org
.twitter.com
twitter.com


... even after killing then restarting dwb, I'm seeing the same issue. 

There is nothing in the cookies file ( .config/dwb/default/cookies )


Any ideas?

Offline

#1064 2012-09-27 16:59:28

jakob
Member
From: Berlin
Registered: 2005-10-27
Posts: 419

Re: dwb - a webkit web browser

corey_s wrote:

I'm having another issue where I'm entirely unable to log into various sites - such as the archlinux forums or twitter for example using dwb.

I have:

cookies-accept-policy  set to 'never'

[…]

However, in .../.config/dwb/default/cookies.allow, I have:

bbs.archlinux.org
[…]

Well, isn't that obvious? Why should dwb save anything when you tell it to never save anything? Set cookie-accept-policy to "nothirdparty" and it should work ok.

Regarding your pw question: I use the formfiller script (which doesn't always work) only for such things as my local wifi router, but nothing else…

Best,

Jakob

Offline

#1065 2012-09-27 17:08:29

portix
Member
Registered: 2009-01-13
Posts: 756

Re: dwb - a webkit web browser

corey_s: if you set cookie-accept-policy to never you completely disable cookies, never means all cookies are rejected without any further checks. You have to set it either to always or no-third-party.

Currently there are two extensions available for managing passwords, supergenpass and formfiller, supergenpass is an extension that is compatible with the original supergenpass but also has some additional features and formfiller can save formdata and fill formdata, the formdata is either saved in a plain text file or a gpg2-encrypted file. If you are using dwb-hg you can install the extensions with

dwbem -i formfiller

or with dwbem -i supergenpass. If you are using the stable version from the repos you can take a look at http://portix.bitbucket.org/dwb/resourc … Extensions. formfiller comes with the default installation and supergenpass can be downloaded from https://bitbucket.org/portix/dwb_extensions/src.

Offline

#1066 2012-09-27 17:09:39

portix
Member
Registered: 2009-01-13
Posts: 756

Re: dwb - a webkit web browser

jakob wrote:

Regarding your pw question: I use the formfiller script (which doesn't always work) only for such things as my local wifi router, but nothing else…

Do you have some examples where it doesn't work?

Offline

#1067 2012-09-27 17:21:50

corey_s
Member
Registered: 2011-02-09
Posts: 45

Re: dwb - a webkit web browser

jakob wrote:
corey_s wrote:

I'm having another issue where I'm entirely unable to log into various sites - such as the archlinux forums or twitter for example using dwb.

I have:

cookies-accept-policy  set to 'never'

[…]

However, in .../.config/dwb/default/cookies.allow, I have:

bbs.archlinux.org
[…]

Well, isn't that obvious?

Not so obvious when you're used to other browsers doing it that way (explicit allow overrides default deny), or when you're used to default-reject open-specific firewall rules, etc.


Set cookie-accept-policy to "nothirdparty" and it should work ok.

Thanks!


Regarding your pw question: I use the formfiller script (which doesn't always work)

Cool, I'll look into formfiller.



Cheers

Offline

#1068 2012-09-27 17:23:38

corey_s
Member
Registered: 2011-02-09
Posts: 45

Re: dwb - a webkit web browser

portix wrote:

corey_s: if you set cookie-accept-policy to never you completely disable cookies, never means all cookies are rejected without any further checks. You have to set it either to always or no-third-party.

Currently there are two extensions available for managing passwords, supergenpass and formfiller, supergenpass is an extension that is compatible with the original supergenpass but also has some additional features and formfiller can save formdata and fill formdata, the formdata is either saved in a plain text file or a gpg2-encrypted file. If you are using dwb-hg you can install the extensions with

dwbem -i formfiller

or with dwbem -i supergenpass. If you are using the stable version from the repos you can take a look at http://portix.bitbucket.org/dwb/resourc … Extensions. formfiller comes with the default installation and supergenpass can be downloaded from https://bitbucket.org/portix/dwb_extensions/src.


Right-on - thanks for the info!

dwb is really impressive.

Offline

#1069 2012-09-27 17:28:25

portix
Member
Registered: 2009-01-13
Posts: 756

Re: dwb - a webkit web browser

The cookie whitelist only overrides cookie-store-policy, if you set cookie-store-policy to never cookies are also rejected but you can whitelist them for the session or for the persistent cookie-jar.

Offline

#1070 2012-09-27 17:29:15

jakob
Member
From: Berlin
Registered: 2005-10-27
Posts: 419

Re: dwb - a webkit web browser

portix wrote:
jakob wrote:

Regarding your pw question: I use the formfiller script (which doesn't always work) only for such things as my local wifi router, but nothing else…

Do you have some examples where it doesn't work?

Yes, but not an easy one: Our o2 wireless router here in the UK. When I activated autosubmit it didn't login at all, when I deactivated it and pressed the Login button on my own, it worked. But when I tried using it after a few days, it stopped working again. I could supply you with the sourcecode of the login page if that's of any help?

Offline

#1071 2012-09-27 21:51:33

corey_s
Member
Registered: 2011-02-09
Posts: 45

Re: dwb - a webkit web browser

Ok - sorry if this is a lame question.

It looks like I have formfiller set up (using the stable version of dwb from pacman).   But I want to use gpg2.  So I set the useGPG to true; and when I do an efg - I receive an error:

"error occurred saving form data".

This occurs after it asks me for a password. 


My guess is that I haven't done whatever pre-configuration is necessary for the gpg setup.   

So, my question:  what do I need to do to prepare dwb's formfiller to work with gpg?  ( this will actually be the first time I've used gpg in any fashion; but I do want my passwords to be encrypted, so I'd like to do so w/ formfiller )


Thanks!

Offline

#1072 2012-09-27 22:21:18

portix
Member
Registered: 2009-01-13
Posts: 756

Re: dwb - a webkit web browser

You shouldn't need any preconfigurations, the only thing that you need is gnupg which is also a dependency of pacman.
If you have changed from not encrypted to encrypted you need to remove the old form-data, dwb will not encrypt an already existing formdata file if it isn't encrypted. The default path for the formdata is ~/.config/data/forms.

Offline

#1073 2012-09-28 01:37:03

corey_s
Member
Registered: 2011-02-09
Posts: 45

Re: dwb - a webkit web browser

ok - cool; thanks portix - what happened was that I had manually created the default path before restarting dwb... thinking that I maybe needed the file to already be there first.  Obviously, not the right choice! 


Cheers

Offline

#1074 2012-09-28 05:32:26

denvist
Member
Registered: 2012-09-18
Posts: 6

Re: dwb - a webkit web browser

bslackr wrote:

Here it is:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 304.43  (buildmeister@swio-display-x86-rhel47-13)  Sun Aug 19 21:19:17 PDT 2012

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 304.37  (buildmeister@swio-display-x86-rhel47-07.nvidia.com)  Wed Aug  8 21:03:22 PDT 2012

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "1"
EndSection

Section "Files"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "LG Electronics E2242"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "VIZ M370NV"
    HorizSync       31.0 - 70.0
    VertRefresh     50.0 - 77.0
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 670"
    BusID          "PCI:2:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 670"
    BusID          "PCI:2:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "DFP-0: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "DFP-1: 1920x1080_60 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Disable"
EndSection

Please comment section  "Extensions" like this:

#Section "Extensions"
#    Option         "Composite" "Disable"
#EndSection

Then restart X (# init 3 && init 5) or simple reboot your computer.


sorry for my bad english.

Offline

#1075 2012-09-28 09:43:57

rix
Member
Registered: 2012-07-25
Posts: 221

Re: dwb - a webkit web browser

@ portix:
first of all thanks for this awesome piece of code man. Then, I admit I haven't read the entire thread, anyway do you notice that Dwb (as every Webkit based browser) don't get over Ajax? I'm not so expert so try to login with Dwb in an Hotmail account (for example) and see for yourself.

Thanks for your great work. wink

Last edited by rix (2012-09-28 09:45:43)

Offline

Board footer

Powered by FluxBB