Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
leenr committed Jun 30, 2023
1 parent cda1fa3 commit 9a98f19
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ There are still some problems, such as host application do not shutdown after co
$ sed 's#"path": "/usr/bin/plasma-browser-integration-host"#"path": "/home/leenr/.var/app/org.mozilla.firefox/.mozilla/native-messaging-hosts/org.kde.plasma.browser_integration"#' /usr/lib/mozilla/native-messaging-hosts/org.kde.plasma.browser_integration.json
```

6. Start or enable `nmp.socket` or `nmp.service`.
7. Restart Firefox.
6. Start or enable `nmp.socket` or `nmp.service`: `$ systemctl --user enable --now nmp.socket`
7. Share the socket file with the Firefox's flatpak app: `$ flatpak --user override org.mozilla.firefox --filesystem=/run/user/1000/nmp.sock:ro`
8. Restart Firefox.

Note that changes inside `/usr/lib/mozilla/native-messaging-hosts` folder will require systemd service restart, as the daemon reads all manifest files on start and currently do not watch for changes.

0 comments on commit 9a98f19

Please sign in to comment.