summaryrefslogtreecommitdiff
path: root/content/posts/Revert-Brave-Flatpak-To-Deb.md
blob: 2b378061643a393a4a20b8a1d27722d9fe4b020d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---
title: "Revert Brave Flatpak to Deb"
date: 2023-11-30T23:24:41+01:00
draft: false
tags: ["",""]
categories: ""
---

Hi there,

I switched to Linuxmint Debian Edition 6 (LMDE6) and thought: why install Bravebrowser via Apt-Repo, when I could use the integrated Flatpak Store. The Problem that I encounterd was, that the Brave Flatpak doesn't seem to can access my KeepassXC via Addon because of the Flatpak restrictions.

So I tried this Fix https://www.vastactive.com/posts/keepassxc-firefox-flatpak/ which didn't seem to work for me. 

So I am going another route, by moving my appdata dir where the .deb Version would look for.

First I create backups via [rsync-time-backup](https://github.com/laurent22/rsync-time-backup). 

Then I move the folder 
```bash
~/.var/app/com.brave.Browser/config/BraveSoftware
```
 to 
```bash
~/.config/
```

After that I uninstall the Flatpak version of Brave via 
```bash
flatpak uninstall com.brave.Browser
``` 

Now let's reinstall Brave via apt Package-Manager:

```bash
sudo apt install curl

sudo curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg

echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main"|sudo tee /etc/apt/sources.list.d/brave-browser-release.list

sudo apt update

sudo apt install brave-browser
```