OK, so I looked though my browser history, and here are some relevant pages I found:
I don’t remember how much I used each one, but eventually I pieced together enough information information to get the Browserpass extension working in the Google Chrome flatpak. But three of those links are KeePassXC, which should be useful for adapting this for your use.
The main file that was having problems was the Browserpass Native Messaging Hosts file in my config directory for the Chrome flatpak, ~/.var/app/com.google.Chrome/config/google-chrome/NativeMessagingHosts/com.github.browserpass.native.json
. Originally it was a symlink to a file at /usr/lib/browserpass/hosts/chromium/com.github.browserpass.native.json
:
{
"name": "com.github.browserpass.native",
"description": "Browserpass native component for the Chromium extension",
"path": "/usr/bin/browserpass-linux64",
"type": "stdio",
"allowed_origins": [
"chrome-extension://naepdomgkenhinolocfifgehidddafch/"
]
}
The call to /usr/bin/browserpass-linux64
did not see to work for me, so I ended up making a copy of the file in the NativeMessagingHosts
directory and modified it to point to a script in my home mount:
wile_e8 NativeMessagingHosts $ diff com.github.browserpass.native.json.orig com.github.browserpass.native.json
4c4
< "path": "/usr/bin/browserpass-linux64",
---
> "path": "/home/wile_e8/.config/browserpass/browserpass.sh",
I don’t remember why I picked to do it inside the ~/.config
directory, but it worked so I left it. And here is the script I put at ~/.config/browerpass/browserpass.sh
:
#!/bin/sh
cd ~
/usr/bin/flatpak-spawn --host /usr/bin/browserpass-linux64 2>/tmp/error.log
I don’t remember how I came up with that script, it must be somewhere in the four links at the top.
Finally, I needed to use Flatseal to allow access to the script. In the Google Chrome settings, under “Filesystem->Other files”, I added an entry saying ~/.config/browserpass:ro
. Also modified from the default in Flatseal, I have “Filesystem->All user files” enabled, along with “Socket->D-Bus session bus” and “Socket->D-Bus system bus”. I don’t know how necessary the last three are, but I’m not messing with it now that I have it working.
So, that’s what I did to get the Browserpass extension working in the Google Chrome flatpak. You’ll have to modify some things to get it working for KeePassXC, or for Firefox. But that general pattern should work.
Keep an eye out, I’ll come back to this. It involves posting config file diffs and a script I wrote, it’ll be a longer post I don’t have the time to write right at this moment.
But yes, the fact that I need to find the time to post all the changes I needed to make to get this to work is part of the problem here.
FWIW I figured out how to get a password manager (Browserpass, not KeePassXC) to communicate with flatpak Chrome if you want some advice on how to get it to work.
But yes, it was way more difficult than it should have been (which is “should work out of the box, just like a regular package”). So if you’re just listing some of the shortcomings of flatpak, never mind.
Is there any mirror for this? I don’t know if this has been posted to some other site as well, but the web site seems to be overloaded with traffic right now and I can’t see the article.
So, as someone that’s been on flavors of Ubuntu/Linux Mint for me personal computer since Breezy Badger, any good distro recommendations? I’ve been using Ubuntu Mate and upgrading in place for the last ~5 years, so I’ve mostly avoided Snaps, but I’m looking to upgrade my computer and I’m probably going to need a fresh install. I’d like to stay on the Ubuntu/Debian tree, but I’ve been using RHEL on my work computer for a while now, so I’m not totally unfamiliar with that distro branch.
Also, should I be as concerned about Flatpaks as everyone seems to be concerned about Snaps?
For the users that upvoted/commented on this, I’d just like to note that it looks like an issue has been created and a fix is ready to get merged in.
I think the point is to make sure everyone else aware that Brexit failed, in case any other country starts thinking about copying it
Now go back and watch it again just to see how many details and clues your missed the first time.
Just told this one to my son.
Him: “I could have said Mom’s foot, or my sister’s foot, or anyone else’s foot!”
Me: “But you didn’t.”
As a beginner, how would I do an ‘ear’ score?
I had the same issue as you at first, buying a couple round bannetons because that’s what most of the guides were using only to find out I don’t really like boules. Then I got this oval banneton, which isn’t super expensive if you live in the US. And the price was worth it, since now I’m much happier with the bread I’m making. So I’d suggest you bite the bullet unless you’re really strapped for cash.
Add on question: Are there any wireless Android Auto adapters that are good for switching between multiple phones? I looked into AAWireless for a car that both my wife and I drive, and switching phones depending on who is driving seems… complicated. Is it? Is there another adapter that makes switching easy?
That’s the plan! But it’s still nice to know if these are the find I thought they were even if I don’t plan on reselling them any time in the near future.