Skip to content

Instantly share code, notes, and snippets.

@Corgi
Last active January 13, 2024 20:05
Show Gist options
  • Save Corgi/b41b9f62612324de64005a311a0bdbcd to your computer and use it in GitHub Desktop.
Save Corgi/b41b9f62612324de64005a311a0bdbcd to your computer and use it in GitHub Desktop.
# why the FUCK do they make this so hard
# based off the instructions to install typora https://support.typora.io/Typora-on-Linux/
# first we need to get the pubkey and add it to gpg
wget -qO - https://linux.dropbox.com/fedora/rpm-public-key.asc | sudo tee /etc/apt/trusted.gpg.d/dropbox.asc
# now we add the repo. for some reason using add-apt-repository adds some garbage files (beginning
# with "archive_uri") so we're just going to echo it in manually.
echo "deb https://linux.dropbox.com/debian/ bookworm main" | sudo tee /etc/apt/sources.list.d/dropbox.list
# don't use, but here for archival purposes:
# sudo add-apt-repository "deb https://linux.dropbox.com/debian/ bookworm main"
# update package lists
sudo apt update
# it needs python3-gpg for some reason so let's get that
sudo apt install python3-gpg
# install god damn dropbox
sudo apt install dropbox -y
# now you should be able to launch it from the cli or your gui
# it will ask to install the proprietary daemon and then ask you to auth your account
# if you aren't signed in on the browser it will present you with a login screen
# it will appear to fail to log in, but it worked. refresh the page and you should be asked to connect
# agonizingly, we are not done yet.
# if you want, now you can install dolphin-plugins, which adds a context menu i guess
sudo apt update
sudo apt install dolphin-plugins
# activate this by going to dolphin's settings and enabling it under "context menu"
# restart dolphin or log out and back in
# now you have dropbox. you're welcome.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment