Taildrop to Downloads, exit nodes past captive portals, stay awake
Ports the rest of CoreDesktop's 9dc5eb1 that applies to Pop!_OS. - configure tailscale turns on federated-connector-taildrop.service, which saves files sent here with Taildrop to Downloads and says so in a notification. COSMIC Files has no Scripts menu, so CoreDesktop's "Send with Tailscale" isn't ported; send with tailscale file cp. Leaving the network turns it off. - It also installs a NetworkManager dispatcher script that stops using a Tailscale exit node while you sign in to a captive portal, and uses it again once online. Pop!_OS checks connectivity (20-connectivity-pop), so NetworkManager sees the portal. - A computer joined before this shows Tailscale as to do, and configure tailscale adds both without signing in again. update restarts the Taildrop service on the new version, as it does the email watcher. - install.sh keeps the computer from sleeping until an install or update finishes. The pacman guard, unowned files and hardware.sh are Arch only. Smoketest: 75-taildrop-portal. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -68,7 +68,7 @@ Each item installs what it needs the first time you set it up, after asking.
|
||||
- **Test a Core**: it checks Superpanel, calendars and contacts, email, your files, Element and backups the way this computer uses them, says which work, and offers to fix those that don't. If a fix needs it, for example a new app password for one that was revoked, it asks for your Core password. Then it tests again.
|
||||
- **Your Core password changed**: email gets the new password, and signing in to Nextcloud with it turns the app passwords for calendars, contacts, files and backups back on (Nextcloud turns them off when your password changes). Then it checks each of them.
|
||||
- **Remove a Core**: it removes the accounts, the mount and Superpanel, and revokes the app password. Everything on the Core itself stays as it is.
|
||||
- **Tailscale**: joins this computer to your Core's Tailscale network through headscale.example.com. If Tailscale isn't installed, it installs it from Tailscale's own apt repository. You can use `tailscale` without sudo afterwards. To leave the network, run `configure tailscale` again.
|
||||
- **Tailscale**: joins this computer to your Core's Tailscale network through headscale.example.com. If Tailscale isn't installed, it installs it from Tailscale's own apt repository. You can use `tailscale` without sudo afterwards. Files your other computers send here with Taildrop (`tailscale file cp <file> <computer>:`, or Tailscale's apps) are saved to Downloads, with a notification. On a network with a sign-in page (hotels, airports, trains), a Tailscale exit node would keep the page from loading, so a NetworkManager script stops using it until you've signed in, then uses it again (`/etc/NetworkManager/dispatcher.d/90-federated-connector-captive-portal`). To leave the network, run `configure tailscale` again.
|
||||
- **Backup**: backs up your home folder daily to your Nextcloud files, in a `.backup-{computer name}` folder, with restic (from Ubuntu's packages).
|
||||
- The backup is encrypted with a passphrase that `configure` shows you once. Save it somewhere other than this computer, such as Bitwarden.
|
||||
- It keeps 7 daily, 4 weekly and 6 monthly backups. It leaves out caches, things that can be reinstalled, and Flatpak apps' caches. To leave out more, list paths in `~/.config/federated-connector/backup-exclude`, one per line.
|
||||
@@ -150,7 +150,7 @@ To allow more, put a file in the same format as `sandbox/config/base.json` in `~
|
||||
- Accounts: GNOME Online Accounts (`~/.config/goa-1.0/accounts.conf`), with their passwords in your keyring
|
||||
- The backup's app password and passphrase: your keyring, attributes `federated-connector backup`
|
||||
- Your files' app password: `~/.davfs2/secrets`
|
||||
- Services: `~/.config/systemd/user/federated-connector-{backup.service,backup.timer,email-watch.service,sftp-*.service}`
|
||||
- Services: `~/.config/systemd/user/federated-connector-{backup.service,backup.timer,email-watch.service,taildrop.service,sftp-*.service}`
|
||||
- The Files sidebar: `~/.config/cosmic/com.system76.CosmicFiles/v1/favorites`, and `~/.config/gtk-3.0/bookmarks` for GTK apps
|
||||
- Federated Connector itself: `~/.local/share/federated-connector/connector`, with `configure` and `update` linked in `~/.local/bin`
|
||||
- Downloaded tools: `~/.local/share/federated-connector` (`node`, `srt`)
|
||||
@@ -185,4 +185,5 @@ Each file in `configure.d/` is one item. It sets `TITLE` and `DESCRIPTION` and d
|
||||
- Languages come from mise's apt repository, and nothing is installed with it up front. CoreDesktop's `update` upgrades them; here, run `mise upgrade`.
|
||||
- The agents are installed by `configure agents`, and srt runs on its own Node.js. On Ubuntu, bubblewrap may need an AppArmor profile.
|
||||
- A fingerprint works for sudo and polkit, but not the login and lock screens: COSMIC's greeter signs in through `common-auth`, which this leaves alone. CoreDesktop's works on GNOME's login and lock screens too.
|
||||
- `update` updates only Federated Connector; Pop!_OS updates the rest.
|
||||
- `update` updates only Federated Connector; Pop!_OS updates the rest. Like CoreDesktop's, it keeps the computer awake until it's done.
|
||||
- Taildrop receives files, but COSMIC Files has no Scripts menu for CoreDesktop's "Send with Tailscale"; send with `tailscale file cp`.
|
||||
|
||||
Reference in New Issue
Block a user