When it comes to code, I just do the normal approach of using a git branch, and most of the time I just SSH into the Desktop and run it from there. So, that pain point is solved.
My biggest, always ongoing problem, is to sync what I'm doing/researching in the browser. The best workflow I've found, is to have a mix of open tabs and spaces sync automatically. But it's a difficult setup to come by.
Let me explain. Before, I used to use a Chrome (now Firefox as well) plugin, named workona [1]. This was great if it worked properly all the times. But it doesn't, it's quite buggy.
Then, Edge added workspaces and tab syncing and, well, it works great... but I really dislike Edge. Starting by the CTRL-TAB shortcut that simply doesn't work as intended (I know there are some hacks around it, but they are hacks, and don't work as well as expected).
Then Arc Browser [2] came along and also has workspaces and sync. Arc is great, I really like it, but it doesn't work on Linux.
So, unless I use Edge (which I prefer not to), or workona (which is buggy), this approach is not working.
But surely, you say, this can't be that complicated. A lot of people should do something similar and don't need these fancy browser setups. Well, how exactly do you do it, then? I would really like to have some suggestions here.
Just another thing. Firefox really isn't an option. I'm past struggling with it draining my battery on macOS - no matter how much the devs and users assure me that's not the case and all works great now.
[1] https://workona.com/ [2] https://arc.net/
As soon as you mentioned that you moved to FF, I was expecting you to say that the problem was solved. I've been using it for many years now, it is so smooth that I just take it for granted now.
[1]: https://www.mozilla.org/en-US/firefox/features/sync/
At home I have a USB hub with all my peripherals which I simply unplug from my "fun personal" desktop and into my laptop. It's all on extension leads so it's at desk level, an easy swap.
I think working between two separate machines would be too much hassle, since I end up with multiple workspaces that persist over weeks in my i3/linux setup.
Since you mentioned workspaces, also have a look at Floorp. It's based on Firefox but makes the UI more customisable by having workspaces and allowing vertical tabs (without needing another extension).
Floorp is also compatible with Firefox Sync.
I use a a Linux desktop, a window and a Mac laptop, an android phone and an iPad. Firefox Sync works brilliantly across all.
If you don't trust Mozilla, you can also self host your own Firefox Sync server.
This way I don't care about the laptop. Specs don't matter much, it can get stolen or scanned by border control without issue etc.
I always pick up exactly where I left with zero hassle, don't have to install and configure tools twice etc, and it's virtually "native" feel unless I'm on some very dodgy cellular internet in the mountains or similar.
There's no good alternatives on Linux yet though, which is a bummer.
Then my portable computer is just an iPad running the Remote Desktop client. Excellent battery life.
As long as the internet connection is reliable, everything works perfectly.
On my home computer I just connect in the same way.
Not having to duplicate the dev environment saves me a lot of time, the only sad thing is I need Windows (and yes I’ve tried many other remote access solutions).
Yes, a laptop is inferior to a desktop in many ways, but I've actually found myself much more productive now that I only work on my laptop. As an example, I used to get frustrated only having a single screen on my laptop instead of my desktop's dual screens. Now I've learned new workflows for a single screen and it's 90% as productive as having two screens and I make up for that by not being slower when I switch to my laptop like I used to be.
Just a thought for you.
Also, if I really need the power of a desktop, I try do it over the network from my laptop (CLI or remote desktop).
I have a personal which is named just Firefox a work named Firefox Work and a burner named Firefox NoWork lol
I can choose to open one tab from there or all of them.
Works very well for me.
I used do this every once and a while. I just maintained a reverse ssh tunnel back to my desktop, because I would set jobs up on it. Anyways, you could - and presumably still can - just query the firefox session store and pull out anything you needed. I don't recall it being painful, but then again - I haven't done it for a few years at least.
Chrome works more reliably. Safari has some random reload issues from time to time.
If OP need a faster machine for specific stuff like faster compilation times, I would suggest using it as a headless build machine. Browser sync wouldn't be needed.
Also what is that silly story about battery drain on ff?
[1]: https://www.pushbullet.com/
It's a wonderful (free) cross-device bookmark manager but ... you can save all open tabs in two clicks (click save icon and click "+ tabs"). It even automatically tags tabs w/ the date or you can save them with any collection and/or tags you choose.
In addition, you can add notes, attach up to 100MB of files per month (on free plan).
It runs on and syncs between Mac, iOS, Android, Chrome, Safari, Firefox and Edge.