Please add some Documentation for installation #2
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi!
I use qutebrowser and recently I decided to automatically remove the cookies at the end of the session. Your small utility seems to be suited if I want to keep my cookies for some websites. Unfornutately, I did not manage to install it, due to dependencies to selda. I could imagine that the installation is pretty standard, but If you could describe it as a list of commands, it would be very nice. (I tried to use stack to install all the dependencies, after
I managed to compile Setup.hs, but I am not able to configure to use the selda libraries installed by stack).
Bests
Sorry for the late reply, I should check more often.
Yes, the installation is pretty standard: bisc is distributed on Hackage (which is a repository of Haskell packages) so it can be installed using
cabal install bisc
or similarly withstack
. Both tools can act as package managers: they download the source of bisc and its dependencies and build all automatically.Alternatively, If you are using Nix or NixOS, you'll find it as
haskellPackages.bisc
, this is what I use on my computer.I could try to upload a static build of bisc here, then you would just have to download the binary and it should just work.
Ok, I updated the readme with some instruction and added a static binary: it's much easier than I expected.
Thanks for taking time to reply and putting a static binary on line
I'll give a try and give you rapidly a feedback
Nice Job!
I could endly browse privately keeping my cookies for my local search engine.
And the installation with stack seems finally to work after adding a line to
/home/fux/.stack/global-project/stack.yaml
A last question : How do run automatically bisc : you use cron, at or there is a trick in qutebrowser to run automatically a script or application when it close ?
Bests regards
You're welcome. It's good to know one of my program can be of help to other people.
I binded to a key the action of closing the tab and then running bisc. Plus another key to just run bisc. The configuration is like this
A word of warning, though: Florian said it's not safe to modify the cookies database while QtWebEngine is running because it could get corrupted. However, I've never had any problem with this setup, which is a couple years old at this point.
I pretty sure there is a hook or something to run code before the qutebrowser close but I've never tried it. The simplest thing that comes to mind is a shell alias