Hacker News new | past | comments | ask | show | jobs | submit login
Ask HN: How do you sync ongoing browser work between desktop and laptop?
42 points by wtcactus 32 days ago | hide | past | favorite | 62 comments
For a long time now, I have both a Work Desktop and a Work/Personal Laptop (both are company issued, but I have full control over both of them). The laptop runs macOS, the Desktop runs Linux (I can install whatever). Also, I'm mostly doing DevOps these days.

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/




Since you mentioned that you have FireFox installed, I would encourage you to sign in and use FF Sync. You can even send tabs across and all sorts of things.

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.


    > 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.


I use [Firefox Sync][1] and it works seamlessly. Not sure if you have tried it.

  [1]: https://www.mozilla.org/en-US/firefox/features/sync/


Not only that, but syncserver can be locally installed so you have an additional layer of autonomy if you want that. (The data itself is already end-to-end encrypted, so it is not really necessary to be exact.)



One of Firefox's best features, works seamlessly across 5 devices.


Used this for a while and it works well. Sounds like what the OP wants, as well.


came to say this. Simple, effective.


I run a linux laptop, which I hook up to a USB dongle and hdmi cable each day. At work it's all sitting there ready.

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.


Even better if you have a modern monitor with a built in hub and USB-C to Thunderbolt.

Connect stuff to monitor, plug in a single usb-c to laptop and done.


Use Firefox Sync

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.


    > 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.


It is not what you're asking for, so this is almost off topic but: to send tabs to my Android phone or from there to my laptop I share them manually with KDEConnect. It's Android, Linux, Windows. GNOME too with GSConnect. The rationale is that it doesn't make sense to have on my phone all the tabs I have on my work laptop. It's often not possible too: web apps on customers LANs and VPNs.


KDE Connect works fine on Mac OS too.


Probably not going to be very useful to you, but since I use Windows I just use RDP to my desktop computer.

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.


Yup RDP+Tailscale if your security allows it.

If not, vnc over https is a thing, too (e.g. https://guacamole.apache.org/).


> There's no good alternatives on Linux yet though, which is a bummer.

https://kasmweb.com/

Works fine for me, I use it to host a number of applications as well as a few desktops. Access goes through a browser so as long as you have one of those it doesn't matter which platform you use for the client.


That only supports connecting to a centralized "workspace", from what I can see. As such it seems more like Microsoft's DevBox.

That could certainly be usable, assuming the performance is there, though for me I want to remotely use my desktop session.


No, it also supports connecting to remote sessions via several mechanisms (RDP, RDS (marked as 'to include' in Kasm, already supported by Guacamole), SSH, and VNC, handled by Apache Guacamole [1] as described in the documentation [2]). I use this to access desktop sessions running on Linux hosts, both 'bare metal' workstations as well as sessions running in Proxmox-managed containers. This uses Xrdp to serve X11 sessions from Linux hosts and direct RDP connections to Windows VMs, proxied through the Kasm server which presents these in a browser interface. Performance is good enough not to be bothered by the connection being remote.

If all you are after is getting access to desktop sessions through a browser it may be overkill to run Kasm, in that case you can also opt to run Guacamole directly on your desktop hosts. Another - more performant - option would be to run an X2Go server on the desktop host to which you connect using SSH from a machine running the X2Go client. This is less flexible since you need to have that client installed but performance is better. As stated performance through Kasm is good enough for my applications so I mostly use that nowadays even though I do have X2Go installed on all relevant hosts.

[1] https://guacamole.apache.org/

[2] https://kasmweb.com/docs/latest/guide/windows/connection_pro...


> This uses Xrdp to serve X11 sessions from Linux hosts

I admit it was some years ago since I tried Xrdp, but I'm fairly certain Xrdp then did not allow me to resume a local session via RDP, and vice versa.

This is what I was trying to say in my previous post. Has this changed?

Ie I can log on to my Linux box normally, then lock it (not log out), connect via RDP and resume the session? How about if the Linux machine has rebooted, if I connected via RDP after reboot, will I be able to resume the remote session locally after I get back to my desktop?

This did not work with Xrdp as I recall.

> Another - more performant - option would be to run an X2Go server

Again a few years since I tried X2Go, but back then performance was... tolerable. Nowhere near native Windows RDP sadly. But I'm willing to give it another whirl.


> There's no good alternatives on Linux

Maybe I misunderstand what this refers to but there are RDP software for Linux. I've used remmina [1] on Linux for a few years (now I am using VMWare Horizon at work).

[1] https://remmina.org/


I tried a few solutions a few years ago to see if there are any alternatives to MS RDP, but at that time i found them all to be lacking. Mostly remote screen was not as responsive as RDP.

A simple test was to play Youtube video on remote machine and compare results of all Linux solutions with MS RDP. None came close.

I hope things changed in past few years if anyone knows?


Me and a few people made ourselves some weird "VDI"-like workstations as VMware virtual machines, not that long time ago. Those run Ubuntu. I was fine with plain ssh, but my boss pushed his setup to the limits and used that as his main computer. He even gave away company laptop and used only private one to RDP into that (through some corporate vdi auth, but still RDP).

On that vm side it was xrdp. He had multimonitor setup working, sound, video, he even used zoom daily.

Client was windows, it passed through camera and so on.

I could not tell I was using something remotely, even if I was just using mouse and keyboard, sitting directly in front of those monitors.

One gotcha was that these were very fast VMs on fast network.


There are decent clients, but no decent rdp server software yet that I've found.

That said krdp looks promising, but I haven't gotten it to work yet.


What was the problem with Xrdp? I use it every day from both Windows and Linux clients and haven't had issues.


Xrdp can't give you a console interactive session.

On Windows I can log into a local session on my console. Then lock the screen and walk away.

On another machine anywhere on the planet, I can then log back into that same local session, and do a bunch of work. Locally, the screen remains locked and secure.

Then I can eventually walk back to that machine, and log back onto the local console and continue exactly where I was.

There is no performance penalty for this - my local session runs exactly as it normally does. The remote session is very fast and efficient.

There is no way that I know of on Linux to replicate this: you have to commit to either a session being "virtual" and running through remote desktop (x2go is the best at this) or "local", in which case you get a less performant screen-scraping session but worse while you're using the session remotely the screen is unlocked and visible and usable by anyone with local physical access (i.e. in a shared office perhaps).

It's a problem which should be treated as a massive, ongoing embarrassment for desktop linux, and a substantial impediment to any notion of wider enterprise adoption: I've been in office's where the standard way everyone worked was remote desktop'ing to their office PC workstation via a VPN and seamlessly going from remote to local sessions was a crucial part of the experience.

Really we probably just need to solve the screen lock problem: but getting the experience (i.e. resize, resolution and app sessions) working properly is also important.


Interesting, my problem was exactly the opposite - I wanted a multi-seat access system with ability to work locally independently of other sessions which is somewhere between painful and impossible to set up on Windows. But I see your point, this is something I hadn't considered. Maybe attaching to the remote desktop system from localhost could work, although the slight decrease in performance would probably drive me nuts.


That's a licensing issue - Windows 10 is perfectly capable of doing this, but it's tied to having a Windows Server instance and remote desktop licenses and blah blah blah <proprietary things>. But if you have all that it does work! And it works the same way - multiple users can come back to the same console and resume their session or whatever.

RDP on Windows works really, really well - to the somewhat absurd outcome of course that because of that, it is easier to run Linux locally and Windows remotely when you can use Remmina to connect to the Windows machine so easily.

But the remote Linux experience really should be better.


VNC-like performance, so functional but not really what I consider usable in day-to-day work.

Also, IIRC, it didn't support seamless local vs remote sessions.

That is, if I started a session remotely, I couldn't resume it when I got back home. Or vice versa, if I started the RDP server on my logged-in session, I couldn't start a new session remotely in case the desktop rebooted (updates, power loss etc).

With Windows I just log in regardless.

Granted it's been a couple of years since I last took the rounds to evaluate the field, including Xrdp, so I'll give it another whirl soon.


After years working with two computers, the best setup I came up with is making my main computer run Windows with Remote Desktop and connecting to it via VPN.

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).


I use firefox sync as well, yet not with synced tabs but share singe tabs to a firefox account (PC, phone, work pc, etc.) The next time I open firefox on the target device the tabs are opened.


And foe bookmark sync I use Tab Stash. It's not a fancy reinvention of syncing - it just uses the bookmarks of firefox and organises them in folders, then shows them in a beautiful useful way in a single page. This page I use for my new tab page.

https://addons.mozilla.org/en-US/firefox/addon/tab-stash/


Try TabXpert extension. It has session tracking (the latest version is saved automatically, no duplicates), supports tab groups, and has real-time sync with the Cloud. You can even work in the same session on different profiles (PCs) simultaneously, it will sync your work bi-directionally. And it has import from Workona.


Thank you for the suggestion. I went and checked it, but this is not it.

I see several answers in this post that don't understand what Edge or Arc do when it comes to tab/workspace syncing.

It's all seamless. When I move from one computer to the other one, without having to do absolutely any step, everything is open and in the correct workspace in the other computer.


One of the best things I did for my productivity was ditching my desktop. Having to sync between my desktop and laptop slowed me down. Having to learn how to work on two different devices (different keyboards, monitor setups, etc) slowed me down.

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).


firefox sync and profile through .desktop files (or shortcuts in windows terms)

I have a personal which is named just Firefox a work named Firefox Work and a burner named Firefox NoWork lol


I use Firefox sync between all my devices including mobiles Android and iPhone, plus EndeavourOS, popOS and MacOs. In addition to that I use the tabs stash extension which also syncs all stashes between devices, though I only use that on the desktops/laptops


I have pc and macbook sitting next to each other, connected to the same ext monitor via active hdmi splitter. The pc I use mostly for debugging and testing the application I'm making. The mouse have a 2.4hz-dongle/bluetooth switch, as well as the keyboard, So I'm pretty much able to use the both systems at the same time, and when switching monitor to hdmi from pc, I don't even need to sync the browser since it's available on macbook to the right still. BTW switching mouse and keyboard can be bound to a single hotkey with their software, and switching takes ~1s, for me it makes working with 2 systems in parallel a seamless experience nowadays.


I use Vivaldi browser and this does it very cleanly for me. I can see the tabs that are open on my phone, my laptop, or my desktop from the other devices.

I can choose to open one tab from there or all of them.

Works very well for me.


Vivaldi is the only browser that comes a bit close to what Arc and Edge do. But it doesn't really do it.

I still have to go to the sync windows and choose which tabs from the other device to open in the present devices. If you try Edge or Arc you will see the difference and how it's totally seamless there.


(This is not advice, I certainly would assume there's a better way of doing this these days. There probably was at the time, too.)

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.


Actually, I neglected to mention - these days this isn't ever needed likely because I just maintain tailscale/wireguard mesh. I pretty often will use apache guac or a VNC connection if I need to grab something sitting in a GUI somewhere.


Both, Safari and Chrome offer tab sync. Safari through iCloud on device and Chrome through browser login.

Chrome works more reliably. Safari has some random reload issues from time to time.


Google is blocking the Chrome adblockers that won't take money for whitelisting their ads. So much for "don't be evil".

https://arstechnica.com/gadgets/2024/08/chromes-manifest-v3-...


Yes, I think all browsers now-a-days have some form of tab synching. But the tabs don't really sync between devices, you just get a list of the tabs open in 1 device and can open them on the other device if you click on them.

Arc and Edge go a lot further than that. They effectively keep the open tabs in sync between devices.


I just don’t. I work on one of my laptops (Mac or Linux), and ssh into my desktop (Proxmox, mostly running Linux VMs/containers). Keeps my laptop battery happy, solves the browser sync issue, removes the need to git push/pull back and forth the machines, and allows me to do whatever with my laptop (including closing it) while, say, compiling.


I am not sure of the point of using both. A laptop is a desktop when sitting on a desk.

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?


I'd second this comment.

The best sync is one you don't do at all!

If you're doing devops, I can't imagine you have a particular performance constraint that is tying you to a big desktop - like a requirement for a GPU, etc.

The current lineup of Mac laptops is fast. I have a M2 Pro work laptop and an AMD 5800X personal desktop. The laptop is faster at single threaded tasks and it's basically as fast if not slightly faster (depends on workload) for multithreaded tasks. Plus the Pro and Max laptops have reasonable external monitor connectivity.

And I'll also echo the parent poster and say that I haven't seen FF draining battery more than other browsers for a long time on macOS - I use it as my primary browser on my work laptop.


I have the same problem. After much thinking, and figuring out I'm just lazy, I just don't bother with it. It turns out not to be particularly crippling.


I rarely need to sync to my laptop (only when I travel), so when I do I just copy my Mozilla appdata folder over. Works like a charm


I use [pushbullet][1]

  [1]: https://www.pushbullet.com/


Use https://raindrop.io/

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.


I love this product. Earlier I was using onetab (https://www.one-tab.com/) to de-clutter my tabs and revisit later (this product doesn't sync across) devices. But in different occasions - Chrome Browser Crash, MackBook Crash I have lost 2K+ links. After that incident I came across raindrop, and that made my life easier. I have tried Brave Browser Sync Chain to sync tabs and data across devices. But I still went back to FireFox - I tried xBrowserSync(https://www.xbrowsersync.org/) to sync the data across browsers, but lost the key after one browser update and left it.


Edge isn't the only major browser with tab sync. For example, Brave has it.


No, it's a totally different concept. Brave lets you check which tabs are open in another machine and open them on the current machine if you want.

Edge and Arc always keep your tabs in sync between devices and inside their respective workspaces. It's a seamless transition between devices.


> Edge and Arc always keep your tabs in sync between devices and inside their respective workspaces

Maybe try Vivaldi? https://vivaldi.com/

I’ve got about 5 different workspaces and can flip between any of them on windows/linux whether that’s desktop or laptop.

Has a ton of features I always wanted in Firefox, but never knew I needed (I think that statement makes sense?)

OSX app is a bit meh, but might be because I’ve got muscle memory with safari.

Edit — as a DevOps main I feel your documentation/research pain. Genuinely I feel like Vivaldi solved the 300+ tabs over multiple OSes/machines problem for me. (I think my record was 500ish tabs at one point).

Edit 2 — maybe it’s not a DevOps thing. Maybe I’m just a tabs weirdo. :shrugs:


Vivaldi still doesn't do what Arc and Edge do.

Vivaldi presents me the open tabs in another device in a window and I can choose which ones to open on the present device. Arc and Edge bypass that step. The open tabs in 1 device are always in sync with the open tabs in another device.

If you create a new tab in device 1, a tab will automatically open in device 2 with the contents of the tab. If you close the tab on device 2, it will automatically close on device 1.


I'm using Vivaldi mobile on my Android phone and it changed my life for the best. It has a builtin ad blocker (like every browser should have, unless there is a conflict of interests). No more cancer when casually browsing the web. It's priceless really, and it's free.


  > Has a ton of features I always wanted in Firefox, but never knew I needed
Like what? I might try it.


Really nice tab/windows side bar

Syncing between devices (does require creating a free Vivaldi account)

Built in mail client (I haven’t used thunderbird for months now)

Chromium, extensions and themes out the box

Bunch of UI customisation options like moving the address bar and stuff

Probably a bunch of others I don’t use or can’t remember being features.


This is what Firefox sync solves (especially with the tab stash extension). I don't know what to do about macos battery life though ¯\_(ツ)_/¯


No, tab stash only stashes the tabs for later use on this or another device.

Edge and Arc, always keep the open tabs in sync across all devices.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: