Dropbox in sway
-
Set up Dropbox
Install and authenticate dropbox as per the section called “ Obtain the encrypted cloud ”.
Set up whatever is needed for it to show up in the waybar. This produces inconsistent results even reboot to reboot, as well as muttered warnings about deprecated packages. Possibly: the ubuntu packages ayatana-desktop-indicator, libappindicator3-1, and possibly libappindicator3-dev.
-
Automate Dropbox in Sway
This is how to set up a user-specific automated systemd process, i.e., a way to replace startup scripts that used to live in
/etc/init.d. This process should work for any user service; this example is for Dropbox. Stop any existing Dropbox processes and create a systemd user service.mkdir -p ~/.config/systemd/user/cp ~/Dropbox/Basic/new_machine/linux/config/dropbox.service ~/.config/systemd/userNote
dropbox.service[Unit] After=local-fs.target network.target Description=Dropbox as a user service [Service] Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus Environment=DISPLAY=:0 ExecStart=%h/.dropbox-dist/dropboxd Restart=on-failure RestartSec=1 Type=simple [Install] WantedBy=default.target
Source: archlinux forum.
systemctl --user start dropbox.serviceIf it works:systemctl --user enable dropbox.service -
TODO for Sway
-
Get screenshots to save to ~/Screenshots. Tried setting GRIM_DEFAULT_DIR in .bashrc, maybe it needs a reboot to get set in the right place?
-
Get desktop notifications working
-