Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
Sn0wCrack
2 years agoNew Contributor
Flatpak Browser and Native Desktop App
Thought I would share this as I've managed to get the native desktop app working with my flatpak installation of Firefox.
I'm on Arch and using the version of 1Password from the AUR and the standa...
Sn0wCrack
2 years agoNew Contributor
I've attempted with the Flatpak version of 1Password and unfortunately seems like a no-go due to 1Password's security.
The further I got was adaptting the KeePassXC script:
```
!/bin/bash
Adapted from: https://github.com/keepassxreboot/keepassxc-browser/issues/1631#issuecomment-1153736766
APP_REF="com.onepassword.OnePassword/x86_64/stable"
for inst in "${HOME}/.local/share/flatpak" "/var/lib/flatpak"; do
if [ -d "${inst}/app/${APP_REF}" ]; then
FLATPAK_INST="${inst}"
break
fi
done
[ -z "${FLATPAK_INST}" ] && exit 1
APP_PATH="${FLATPAK_INST}/app/${APP_REF}/active"
RUNTIME_REF=$(awk -F'=' '$1=="runtime" { print $2 }' < "${APP_PATH}/metadata")
RUNTIME_PATH="${FLATPAK_INST}/runtime/${RUNTIME_REF}/active"
exec flatpak-spawn \
--env=LD_LIBRARY_PATH="/app/lib:${APP_PATH}" \
--app-path="${APP_PATH}/files" \
--usr-path="${RUNTIME_PATH}/files" \
-- /app/1Password/1Password-BrowserSupport "$@"
```
This will execute the Browser Support application, but it bails out due to not running under the correct libc, I imagine it detects the fact the load path has changed and nopes out.
Error for reference is:
process detected it was running without libc's security, aborting