From me at the-compiler.org Mon Jan 9 06:24:02 2017 From: me at the-compiler.org (Florian Bruhin) Date: Mon, 9 Jan 2017 06:24:02 +0100 Subject: [qutebrowser] Various qutebrowser annoucements Message-ID: <20170109052402.mmatfwii6qukjkxe@tonks> Hey, various little annoucements I have to make: - The v0.9.0 package for Debian had a packaging bug, it got reuploaded with that fixed. If you're using the old one, any error page will crash - please redownload and reinstall it. - Also, I got a lot of crash reports about that without any information. I really do read those! :P - Python 3.6 got released, and at least Archlinux updated. If you have a virtualenv set up, you'll need to rebuild it. If you use tox, you'll need to use tox -e py36 now. You also should rebuild any Python packages from AUR (pacman -Qm) - Two tests in test_invocations.py are currently failing on Archlinux. If you do a PR and those fail, feel free to ignore them. Haven't had time to investigate yet. - If you get Harfbuzz errors on Archlinux, update to freetype2 2.7.1. If you're using infinality, use upstream's freetype2 instead as infinality is outdated (and Bohoomil's repo seems to be dead for months now) - I'm busy with exams for the next 4 weeks or so, and will probably take some actual holidays without much qutebrowser-work for the two weeks after that - so everything will probably be a bit slower until mid-February ;) - On a related note, still no v0.9.0 .dmg until I have time to go to the hackerspace and find out what's up with my Mac. - Social convention dictates me to wish you a happy new year! ;) Florian -- http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP) GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc I love long mails! | http://email.is-not-s.ms/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: From me at the-compiler.org Fri Jan 13 18:43:13 2017 From: me at the-compiler.org (Florian Bruhin) Date: Fri, 13 Jan 2017 18:43:13 +0100 Subject: [qutebrowser] qutebrowser v0.9.1 released (security fix) Message-ID: <20170113174312.6icnt3y6z3jpa5o2@tonks> Hi, I just released qutebrowser v0.9.1, which fixes a security issue with QtWebEngine. Due to a Qt bug[1], download paths with QtWebEngine are percent-encoded, i.e. a file named "foo bar" got saved as "foo%20bar". Thus, qutebrowser was percent-decoding that path again. However, when the server uses a Content-Disposition header to set a custom filename, percent-escapes therein are decoded as well. This means a server can send such a header with a value like "..%2F.bash_login", and since %2F decodes to a slash, qutebrowser will download the served file to ~/.bash_login (assuming that ~/Downloads is set as download dir). If download prompts are disabled, this could happen silently. If download auto cleanup is enabled, this could potentially go unnoticed in some way. This means I felt obliged to fix this right away even though I'm supposed to learn for upcoming exams ;) Either way - this is fixed in v0.9.1. If you can't update right away for some reason, I recommend setting: storage -> prompt-download-directory = true completion -> download-path-suggestion = both so you'd notice if this happens. This issue was introduced with v0.9.0 and only affects QtWebEngine. Sorry for the trouble! Florian [1] https://bugreports.qt.io/browse/QTBUG-58155 -- http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP) GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc I love long mails! | http://email.is-not-s.ms/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: From geo909.fora at gmail.com Sat Jan 14 04:40:25 2017 From: geo909.fora at gmail.com (George) Date: Sat, 14 Jan 2017 05:40:25 +0200 Subject: [qutebrowser] Let certain websites override qutebrowser keys Message-ID: <1484365225.1341502.847366144.41E229B6@webmail.messagingengine.com> Hi all, I was wondering if it is possible to let certain websites override qutebrowser's keys. For instance I would like to use j and k in gmail to go down and up my messages, but qutebrowsers will handle those instead. I've been reading the documentation for a while but so far I can't find this. Thanks a lot in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: From me at the-compiler.org Sat Jan 14 08:05:15 2017 From: me at the-compiler.org (Florian Bruhin) Date: Sat, 14 Jan 2017 08:05:15 +0100 Subject: [qutebrowser] Let certain websites override qutebrowser keys In-Reply-To: <1484365225.1341502.847366144.41E229B6@webmail.messagingengine.com> References: <1484365225.1341502.847366144.41E229B6@webmail.messagingengine.com> Message-ID: <20170114070515.7fwb5pqgxvf7rsie@tonks> Hey, * George [2017-01-14 05:40:25 +0200]: > Hi all, You're not subscribed to the list, so your message got hold back, but I added you to the whitelist now ;) > I was wondering if it is possible to let certain websites override > qutebrowser's keys. > For instance I would like to use j and k in gmail to go down and up my > messages, but qutebrowsers will handle those instead. If those are bound to :scroll and not :scroll-px (you can check with :bind j), then qutebrowser will send fake cursor presses to the webpage. Does GMail not handle those? If it does, you might be seeing this: https://github.com/The-Compiler/qutebrowser/issues/1209 You can also add a :fake-key command, i.e. something like (untested): :bind -f j scroll down ;; fake-key j However that will then always send that to the website when you scroll, not only on GMail. Doing bindings per-domain might be added at some point with per-domain settings though :) Florian -- http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP) GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc I love long mails! | http://email.is-not-s.ms/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: From geo909.fora at gmail.com Sat Jan 14 19:46:29 2017 From: geo909.fora at gmail.com (George) Date: Sat, 14 Jan 2017 20:46:29 +0200 Subject: [qutebrowser] Let certain websites override qutebrowser keys In-Reply-To: <513025.fd65da1324ad3690a6fbc39a73885be7716439ed@popretr.messagingengine.com> References: <1484365225.1341502.847366144.41E229B6@webmail.messagingengine.com> <20170114070515.7fwb5pqgxvf7rsie@tonks> <513025.fd65da1324ad3690a6fbc39a73885be7716439ed@popretr.messagingengine.com> Message-ID: <1484419589.1496436.847771120.69971F86@webmail.messagingengine.com> Hi, Thank you very much for your quick replies (and thank you Mr. Compiler for your great work on this, love the browser). I'm aware of the solutions that you suggested, I was just wondering if it was possible to have a per-domain situation. For instance, in pentadactyl I would have something like this in my rc file: set passkeys=mail.google.com:jpnkraelyx,gi,gs,ga,gt,gl,gd,?,/,# set passkeys=calendar.google.com:jkqmwt/ I think something similar would be very useful, as there are many websites that offer keyboard shortcuts, google {mail, calendar}, fastmail, duckduckgo, etc. Should i open an issue in github to request this? Best, George On Sat, Jan 14, 2017, at 09:17, Andreas Leppert wrote: > Hi, > > For sites like feedly, gmail etc I usually use the passthrough mode by > pressing ctrl-v. This deactivates mostly all qutebrowser bindings. > > If there is a way to enable this mode automatically for certain sites, > please tell me. > > @Florian. Thanks for all your work! > > Kind regards , > Andreas > > Am 14.01.2017 8:05 vorm. schrieb "Florian Bruhin" compiler.org>: >> Hey, >> >> * George [2017-01-14 05:40:25 +0200]: >> > Hi all, >> >> You're not subscribed to the list, so your message got hold >> back, but >> I added you to the whitelist now ;) >> >> > I was wondering if it is possible to let certain websites override >> > qutebrowser's keys. >> > For instance I would like to use j and k in gmail to go down and >> > up my >> > messages, but qutebrowsers will handle those instead. >> >> If those are bound to :scroll and not :scroll-px (you can check with >> :bind j), then qutebrowser will send fake cursor presses to the >> webpage. Does GMail not handle those? If it does, you might be >> seeing >> this: https://github.com/The-Compiler/qutebrowser/issues/1209 >> >> You can also add a :fake-key command, i.e. something like >> (untested): >> >> :bind -f j scroll down ;; fake-key j >> >> However that will then always send that to the website when you >> scroll, not only on GMail. Doing bindings per-domain might be >> added at >> some point with per-domain settings though :) >> >> Florian >> >> -- >> http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP) >> GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc >> I love long mails! | http://email.is-not-s.ms/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From taeer at necsi.edu Sun Jan 15 01:02:19 2017 From: taeer at necsi.edu (Taeer Bar-Yam) Date: Sun, 15 Jan 2017 00:02:19 +0000 Subject: [qutebrowser] Let certain websites override qutebrowser keys In-Reply-To: <1484419589.1496436.847771120.69971F86@webmail.messagingengine.com> References: <1484365225.1341502.847366144.41E229B6@webmail.messagingengine.com> <20170114070515.7fwb5pqgxvf7rsie@tonks> <513025.fd65da1324ad3690a6fbc39a73885be7716439ed@popretr.messagingengine.com> <1484419589.1496436.847771120.69971F86@webmail.messagingengine.com> Message-ID: <1484438475-astroid-1-bo38lcn2e8-18264@rebel> This doesn't directly answer your question, but on a per-visit basis you can also press "i" to go into insert mode and the j/k keypresses will be sent through. This is what I do when I go to ddg, I press "i" immediately and then use it as normal. Excerpts from George's message of January 14, 2017 1:46 pm: > Hi, > > > > Thank you very much for your quick replies (and thank you Mr. Compiler > for your great work on this, love the browser). > > > I'm aware of the solutions that you suggested, I was just wondering if > it was possible to have a per-domain situation. For instance, in > pentadactyl I would have something like this in my rc file: > > > set passkeys=mail.google.com:jpnkraelyx,gi,gs,ga,gt,gl,gd,?,/,# > > set passkeys=calendar.google.com:jkqmwt/ > > > > I think something similar would be very useful, as there are many > websites that offer keyboard shortcuts, google {mail, calendar}, > fastmail, duckduckgo, etc. > > > Should i open an issue in github to request this? > > > > Best, > > George > > > > > > On Sat, Jan 14, 2017, at 09:17, Andreas Leppert wrote: > >> Hi, > >> > >> For sites like feedly, gmail etc I usually use the passthrough mode by >> pressing ctrl-v. This deactivates mostly all qutebrowser bindings. >> > >> If there is a way to enable this mode automatically for certain sites, >> please tell me. >> > >> @Florian. Thanks for all your work! > >> > >> Kind regards , > >> Andreas > >> > >> Am 14.01.2017 8:05 vorm. schrieb "Florian Bruhin" > compiler.org>: >>> Hey, > >>> > >>> * George [2017-01-14 05:40:25 +0200]: > >>> > Hi all, > >>> > >>> You're not subscribed to the list, so your message got hold >>> back, but >>> I added you to the whitelist now ;) > >>> > >>> > I was wondering if it is possible to let certain websites override >>> > qutebrowser's keys. > >>> > For instance I would like to use j and k in gmail to go down and >>> > up my >>> > messages, but qutebrowsers will handle those instead. > >>> > >>> If those are bound to :scroll and not :scroll-px (you can check with >>> :bind j), then qutebrowser will send fake cursor presses to the > >>> webpage. Does GMail not handle those? If it does, you might be >>> seeing >>> this: https://github.com/The-Compiler/qutebrowser/issues/1209 > >>> > >>> You can also add a :fake-key command, i.e. something like >>> (untested): >>> > >>> :bind -f j scroll down ;; fake-key j > >>> > >>> However that will then always send that to the website when you > >>> scroll, not only on GMail. Doing bindings per-domain might be >>> added at >>> some point with per-domain settings though :) > >>> > >>> Florian > >>> > >>> -- > >>> http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP) > >>> GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc > >>> I love long mails! | http://email.is-not-s.ms/ > > > From me at the-compiler.org Mon Jan 30 17:28:26 2017 From: me at the-compiler.org (Florian Bruhin) Date: Mon, 30 Jan 2017 17:28:26 +0100 Subject: [qutebrowser] Qt 5.8 Message-ID: <20170130162826.kv7irispv2qb53wa@tonks> Hi, Qt 5.8 breaks various things, and I probably won't have time this week to fix things and cut a new release. So, don't upgrade to Qt 5.8 for now if you haven't yet - and if you have, at least switch to qutebrowser-git where I try to fix the most annoying issues with some workarounds until I have time to take a proper look ;) Florian -- http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP) GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc I love long mails! | http://email.is-not-s.ms/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: From amos at asperasoft.com Mon Jan 30 07:20:33 2017 From: amos at asperasoft.com (Amos Joshua) Date: Mon, 30 Jan 2017 06:20:33 -0000 Subject: [qutebrowser] keyword bookmarks Message-ID: Hi Folks, I recently discovered Qutebrowser and I'm quite enamored with it. After pentadactyl broke for the 407th time this browser seems like my savior. I am trying to recreate the keyword-bookmark functionality in pentadactyl - I've read through the docs several times and cannot figure out how (or if) I can have a bookmark with a substitution, e.g. I'd like "yt foo" to open " youtube.com/results?search_query=foo". Is this possible and if so, how can it be accomplished? Thank you Amos -------------- next part -------------- An HTML attachment was scrubbed... URL: