Skip to content

Latest commit

 

History

History
62 lines (50 loc) · 1.77 KB

README.md

File metadata and controls

62 lines (50 loc) · 1.77 KB

insync-distrobox

A Bash script to create a Fedora container in distrobox, install Insync, and start it automatically on login.


Host Requirements

distrobox must be installed on your host system and is available in nearly all distribution repositories.

Arch (and derivatives)

sudo pacman -S distrobox

Debian/Ubuntu (and derivatives Linux Mint, Zorin, etc.)

sudo apt install distrobox

Fedora Silverblue (and derivatives Kinoite, Onyx, etc.)

rpm-ostree install distrobox
  • Restart required after installing distrobox and prior to running the script.

Fedora Workstation

sudo dnf install distrobox

openSUSE Tumbleweed/Leap

sudo zypper install distrobox

Installation

Download

Download the make-insync-container.sh file above.

(Optional) Changing the Container Name

The container will be named fed-insync by default. If you would like a different name, edit the CONTAINER variable in the script. (Do not use special symbols or spaces.)

CONTAINER=my-new-insync-container-name

Run Script

Navigate to the directory you saved the script in and execute:

sh make-insync-container.sh

Sign-in

You should now be able to use Insync as usual!

WORKAROUND: Autostart Fix

The script does not properly insert quotations in the autostart entry. To fix this, edit the fed-insync*.desktop file in /home/USERNAME/.config/autostart to add quotation marks:

/usr/bin/distrobox-enter -n fed-insync -- /bin/sh -l -c "insync start"

Credits

Thanks to aaylnx on the Insync forums for most of the basis of the script!