Skip to content

Commit

Permalink
Add Tips and Tricks for Firefox profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
sonnyp committed Oct 24, 2021
1 parent cf8acbb commit 1629270
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,34 @@ A browser extension might be coming.

</details>

<details>
<summary>Multiple Firefox profiles</summary>

See [Profile Manager - Create, remove or switch Firefox profiles](https://support.mozilla.org/en-US/kb/profile-manager-create-remove-switch-firefox-profiles)

If you want to be able to choose the Firefox profile to open the resource with, you can make desktop files for your Firefox profiles in `~/.local/share/applications`.

Here is an example `~/.local/share/applications/firefox-work.desktop`

```ini
[Desktop Entry]
Version=1.0
Name=Firefox work
Exec=firefox -P work --class=firefox-work %u
Icon=firefox
Terminal=false
Type=Application
StartupWMClass=firefox-work
MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
StartupNotify=true
```

Save, run `update-desktop-database ~/.local/share/applications`, enjoy.

[Reference](https://github.com/sonnyp/Junction/issues/9)

</details>

## Troubleshooting

<details>
Expand Down
2 changes: 2 additions & 0 deletions notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ Help welcome! Feel free to open an issue and I'd be happy to assist.
- History of uris
- Read from clipboard when opening
- Open in Terminal
- mailto to web
- put http warning behind setting

## Some crazy/maybe-bad ideas:

Expand Down

0 comments on commit 1629270

Please sign in to comment.