4 ms·
I don't like profiles, because I find it hard, impossible maybe, to tell Discord to open the funny links my friends send me in the Personal profile, and Slack t
by Biganon 3y ago
I don't like profiles, because I find it hard, impossible maybe, to tell Discord to open the funny links my friends send me in the Personal profile, and Slack to open the work related links in the Professional profile.
I ended up having one profile configuration file and a keyboard shortcut that toggled between two different symbolic links, plus a Gnome extension to display the currently selected profile in the top bar, so I would use one profile during the work hours and another one during the evening, but it was slow, difficult to export to other computers and just messy altogether.
So now I'm using Firefox containers and I'm mostly happy with them. I wish the bookmarks bar would change depending on the currently selected tab however.
- ashirviskas 3y agoI use both Slack and Discord webapps in the according profile, why not use that? They already run in sandboxed browser instances (I guess), so there's even less overhead running them in your browser. (I did not do extensive testing, so I might be wrong here)
- r1cka 3y agoYou are basically saying "Don't use any native apps, ever". With chrome profiles, links are just opened in whatever profile window was last active (this is on Mac OS, but I think others are the same). It's the one thing keeping me with chrome (brave).
- folmar 3y agoLinux is definitely not the same. The browser instance that was opened first wins, unless you start it with `--no-remote` flag.
- darrenf 3y agoI use profiles not containers, and have links opening using the correct profile by wrapping stuff with the `BROWSER` environment variable. For example my Signal.desktop launcher contains this line Exec=env BROWSER='firefox -P personal' signal-desktop -- %u For other apps I use `firefox -P work`, e.g. a shell alias for AWS SSO.
- lucideer 3y agoThis is a really cool trick, but the nice thing about containers is that you can do this based on where the link is going rather than where the link is coming from.
- smaudet 3y agoAs I don't use them, I wonder if you can combine the two? So that every source is contained and each destination is contained as well. Might get a bit annoying with somethings, but.
- SAI_Peregrinus 3y agoYes, you can. I use both. My personal profile & work profile are different, and have different container settings.
- saltcured 3y agoI use profiles because I want state isolated for my purpose, not per web origin. So for example, I may need to visit google sites related to my employer's Gsuite, or my personal account used with GMail and phone, or as an anonymous user. This also means that I have become somewhat resistant to scripted UI integrations. I don't really want my apps or sites calling willy-nilly into each other. I want _links_ which I can deliberately copy/paste into different profiles depending on my goals. E.g. do I want to visit someone's Google drive shared link as my personal account, work account, or anonymously so it doesn't pollute either of my drive UIs?
- twic 3y agoYou could set BROWSER to a script which takes a URL on its command line, uses zenity to pop up a dialogue box showing it to you, with a button for each browser profile, then opens it in the selected one. With buttons for "Do not open", "Copy to clipboard", etc.
- 3y ago
- nicoburns 3y agoI've been making a "browser switcher" which you can set as the default browser and you can pick which browser to open links in (using a UI similar to the alt-tab UI). I currently have it working with Chrome profiles, but I suspect Firefox profiles wouldn't be too hard (so long as you can open a link in a specific profile from the command line).
- filcuk 3y agoThat sounds awesome. Can you share your repo, if it's public?
- nicoburns 3y agoThe current version isn't really ready for public consumption right now I'm afraid (the current version has my favourite Chrome profiles hard coded, and some weird debug logging to a hard coded file location). But I have been meaning to clean up and release it. So perhaps I'll get around to that soon.
- aruggirello 3y agoGreat idea! I was thinking about something similar too. Having multiple browsers doesn't have to suck...and having to fiddle with galternatives or KDE systemsettings isn't ideal. May I suggest you to add a small (and optional!) config file to automate your UI - like e.g.: [Sources] Telegram=chrome profile B Discord=epiphany [Destinations] https://www.google.com=firefox profile A If the config is there, you'd then only show the UI when neither sources nor destinations match (regexes). This would make it a must have tool IMHO :)
- nicoburns 3y agoYes, I'd love to do that. There is in fact already an app that does this on macOs (https://github.com/johnste/finicky https://github.com/johnste/finicky). And you can chain them so that finicky runs first and then calls a chooser UI "browser" as a fallback. But I would like to incorporate it into my app so that I don't have to run two apps (and so that I can make it work cross-platform).
- windexh8er 3y agoYou should check out "Simple Tab Groups". You can bind tabs of a certain group to always open in a specific container. On top of it you get fantastic grouping, and hiding of tabs in groups, and other controls. In this way I have container groups segmented to their own views and have no issues controlling how existing logins work between different use cases. It's also easy to back up and share between machines. https://addons.mozilla.org/en-US/firefox/addon/simple-tab-groups/ https://addons.mozilla.org/en-US/firefox/addon/simple-tab-gr...
- WarOnPrivacy 3y ago> So now I'm using Firefox containers and I'm mostly happy with them. Seconded if for no other reason, I rarely restart my browser. As an aside: Each night I copy my profiles over to a Firefox instance in a VM. I access it as a remote app so I can get to my containers/logins while I'm away.
- Maarius 3y agoMaybe you can build a better workflow with BetterTouchTool (https://docs.folivora.ai/docs/1003_did_open_url.html https://docs.folivora.ai/docs/1003_did_open_url.html) or Choosy (https://choosy.app/ https://choosy.app/)?
- mechanicker 3y agoI have a similar requirement where I want all my work related links to open in a particular browser/profile. I use Mac and ended up implementing something that I can tweak easily, not polished but works. https://github.com/mechanicker/chromer https://github.com/mechanicker/chromer
- Mister_Snuggles 3y agoI've been using Hammerspoon[0] to direct different links to different browsers. With a little work you can basically make links open in the right place every time, assuming that the applications are opening links in the system browser and not doing their own thing. [0] https://www.hammerspoon.org/Spoons/URLDispatcher.html https://www.hammerspoon.org/Spoons/URLDispatcher.html
- intothemild 3y agoThe problems you're outlining are solved in chrome, and any chromium browser. I'm not saying switch. I'm saying that people have been complaining about these to Mozilla for over a decade and they won't fix it. Most of the link based stuff is solved in other browsers by opening the link in the last active profile/window you had open. Pretty simple solution. That's all it takes, Firefox however will open links in whatever default profile you have set.. regardless of if it's open or active or not. It's a terrible behaviour. Just fixing that one thing would solve most of the big complaints people have with profiles. I always get downvoted for saying this, but containers are not a good solution for profiles, not out of the box, and not for anyone who wants to separate work/personal. The average user shouldn't have to install a bunch of plugins and then configure them to get the functionality that profiles gives.
- E39M5S62 3y agoI'm baffled by that behavior with Firefox. After switching back to Firefox when I gave up on Edge, it took a lot of futzing around with plugins to mostly replicate what Edge/Chrome can do natively. I don't understand why Mozilla is trying to do it the way they are.
- venatiodecorus 3y agoMy Firefox opens clicked links in the last window I had active. On macOS. Although I'm only running one profile.
- fdw 3y agoI've written my own tiny Python script for this, that launches the right executable based on the URL. It works really well for my situation with two different Firefox profiles. Maybe it works for others, too. Link: https://github.com/fdw/brooser https://github.com/fdw/brooser