Have good News?!
A lot of people waiting …
Have good News?!
A lot of people waiting …
Hello @danielmota, please refer to this response as to Flatpak needing to take a step back from our pipeline: Insync as Flatpak (Linux)
I’d be happy to bump this up with our team once more. Thank you for understanding!
Yes. Please bump if you are able. Immutable desktops keep picking up steam (not just Silverblue, but Vanilla OS, BlendOS etc), so this would be such a great option. Even for non-immutable systems it would provide a universal install option. Like previous folks have said, I am happy to test if needed.
I come bearing good news!
I can get insync to run on Aeon OS (The BEST implementation of immutable linux OS out there, #justsaying).
In this example, I got it to run via distrobox 1.5.
Via tumbleweed distrobox.
Thanks to a community gem, cubicleNate, you follow the tumbleweed install instructions once you are inside your tumbleweed distrobox.
Here, you might notice that Insync installs, but with some errors/issues…and you can’t successfully launch it, due to…
profetik777@tumbleweed:~/Downloads> insync start --no-daemon
Traceback (most recent call last):
File “insynclinux/gui/insync.py”, line 19, in
File “click/core.py”, line 1130, in call
File “click/core.py”, line 1055, in main
File “click/core.py”, line 1657, in invoke
File “click/core.py”, line 1404, in invoke
File “click/core.py”, line 760, in invoke
File “insynclinux/gui/cli.py”, line 140, in start
File “PyInstaller/loader/pyimod03_importers.py”, line 540, in exec_module
File “idesklinux/app.py”, line 12, in
File “PyInstaller/loader/pyimod03_importers.py”, line 540, in exec_module
File “idesklinux/platui_impl.py”, line 14, in
File “PyInstaller/loader/pyimod03_importers.py”, line 540, in exec_module
File “idesklinux/htmlui_impl.py”, line 6, in
ImportError: libQt5WebEngineCore.so.5: cannot enable executable stack as shared object requires: Permission denied
[24205] Failed to execute script insync
So, after MUCH troubleshooting, it turns out, that this is due to an SELinux security policy.
Once I run the following (ps. anytime you mess w/ SELinux, you run a security risk, so USE AT YOUR DISCRETION).
After this is enabled, I restarted the distrobox tumbleweed and ran insync start --no-daemon, and BOOM it launched!
I exported it so insync icon shows up in my gnome menu via distrobox export command,
distrobox-export --app insync
And bada-bing, insync is running on my IMMUTABLE OS with the repo active for updates.
Fingerscross this works long-term, but I think this is it.
Skip to the second half of this video I made narrating my journey lol prob skip to the end to see it in action…sorry, I was just soo pumped to get this working, insync is a fabulous product…please extend my thanks to the devs, I know linux customers seem to be a little bratty and ungrateful, but trust me, we complain about the things we love lol and are worth our attention! hehe
Can someone else see if this works?
p.s. If you are on silverblue, you might be able to do this on toolbox too, but for now, go with distrobox.
p.s.s. Link to install via cubicleNates blog
For convenience, pasted here:
Tumbleweed
I am not going to give the instructions with pictures with this step by step, its basically the same as above and my guess is, most Tumbleweed users don’t NEED pictures.
As per the instructions from the Insync site, you are recommended to import the public GPG key used to sign the RPMs.
sudo rpm --import https://d2t3ff60b2tol4.cloudfront.net/repomd.xml.key
Next add the repository and call it “Insync”
sudo zypper ar -f http://yum.insync.io/opensuse-tumbleweed/rolling/ Insync
Once the repository has been added, you will need to refresh the repositories.
sudo zypper refresh
Finally, install the application and optionally, the service menu of choice. In my case I installed the dolphin service menu addon but there are other file managers supported.
sudo zypper install insync
Like the suggestion in the Leap instructions, you can install a service menu entry with your file manager. I have chosen the insync-dolphin option but you can choose what suits your desktop best.
Complete
The installation is complete and now you can now begin syncing your files with Google or Microsoft, whatever you need to do to be more productive in your day-to-day Linux life.
I was able to get Insync working in Distrobox as well. I wrote a bash script to set up the container, install Insync and start it, and have Insync automatically start upon login.
Actually, my setup requires two scripts. My bash scripting skills are not that great so, if anyone can combine these two into one script, I’d be grateful.
Here is the main script. You have to have distrobox installed already of course for this to work.
#!/bin/bash
CONTAINER_NAME=fedora-insync
# Create the toolbox container AND initial update
distrobox-create --name $CONTAINER_NAME --image fedora:latest
distrobox enter fedora-insync -- sudo dnf update -y
#Insync Repo
distrobox enter $CONTAINER_NAME -- sudo rpm --import https://d2t3ff60b2tol4.cloudfront.net/repomd.xml.key
distrobox enter fedora-insync -- sudo bash -c 'bash -s' < create_insync_repo.sh
# Install insync within the container
distrobox enter fedora-insync -- sudo dnf update -y
distrobox enter fedora-insync -- sudo dnf install chromium insync -y
#Export Insync start script to host
distrobox enter fedora-insync -- distrobox-export --app insync --extra-flags "start"
#Make insync start at login
cp ~/.local/share/applications ~/.config/autostart/
#Start insync
distrobox enter fedora-insync -- insync start
In order for this script to work you need another script named create_insync_repo.sh
in the same directory.
Here’s what should be inside that script
#!/bin/bash
sudo echo '[insync]
name=insync repo
baseurl=http://yum.insync.io/fedora/$releasever/
gpgcheck=1
gpgkey=https://d2t3ff60b2tol4.cloudfront.net/repomd.xml.key
enabled=1' | sudo tee /etc/yum.repos.d/insync.repo
Until there is a proper Insync flatpak, I hope this helps anyone running an immutable OS needing to run Insync.
So, having issues with your script. I gave it try, since my work around didn’t work after a few reboots in Aeon OS via tumbleweed distrobox.
Here is what i got from your script…
Container Setup Complete!
[insync]
name=insync repo
baseurl=http://yum.insync.io/fedora/$releasever/
gpgcheck=1
gpgkey=https://d2t3ff60b2tol4.cloudfront.net/repomd.xml.key
enabled=1
tee: /etc/yum.repos.d/insync.repo: No such file or directory
sudo: dnf: command not found
sudo: dnf: command not found
Application insync successfully exported.
OK!
insync will appear in your applications list in a few seconds.
cp: -r not specified; omitting directory ‘/home/profetik777/.local/share/applications’
Error: runc: exec failed: unable to start container process: exec: “insync”: executable file not found in $PATH: OCI runtime attempted to invoke a command that was not found
It might be time to go bye bye w/ Aeon OS…going to try in deb via ubuntu distrobox one last time.
Sorry I did not see this until now.
I see the following error
sudo: dnf: command not found
That sounds to me like you are not running a Fedora Distrobox Container. Did you change it to a different distribution?
I’m also in need of a Flatpak. I now use Fedora Silverblue and I won’t be able to use this product if there is no Flatpak.
+1
Thank you! Will definitely try it out. I’ve been layering the .rpm but obviously not great.
I wonder if this could be combined with distrobox-assemble somehow to have a ready-made solution in a config file. In the latest commits you can even automatically export the app.
aalynx I have it working very well and I managed to get it working with a single script too.
Like before, this is to install Insync in distrobox. Very useful in an immutable distro such as Fedora Silverblue!
I changed the following:
Save the script as something like create-insync.sh and run sh create-insync.sh from the command line with distrobox installed.
#!/bin/bash
# Set a container name of your choice
CONTAINER=fed-insync
# Create the distrobox fedora container AND initial update
distrobox-create --name $CONTAINER --image fedora:latest
distrobox enter $CONTAINER -- sudo dnf update -y
# Insync Repo
distrobox enter $CONTAINER -- sudo rpm --import https://d2t3ff60b2tol4.cloudfront.net/repomd.xml.key
distrobox enter $CONTAINER -- sudo sh -c "printf '[insync]\nname=insync repo\nbaseurl=http://yum.insync.io/fedora/\$releasever/\ngpgcheck=1\ngpgkey=https://d2t3ff60b2tol4.cloudfront.net/repomd.xml.key\nenabled=1\nmetadata_expire=120m' > /etc/yum.repos.d/insync.repo"
# Install insync within the container
distrobox enter $CONTAINER -- sudo dnf update -y
distrobox enter $CONTAINER -- sudo dnf install chromium insync -y
# Export Insync start script to host
distrobox enter $CONTAINER -- distrobox-export --app insync --extra-flags "start"
# Make insync start at login
cp ~/.local/share/applications/$CONTAINER-insync.desktop ~/.config/autostart/`
# Start insync
distrobox enter $CONTAINER -- insync start
This was only tested on a Fedora Silverblue host.
I also put the script into a public Github Repository.
Just wanting to add my voice to the request for simple steam deck install from flathub via Discover.
Any updates on official support for Flatpak?
Here’s another customer requesting this, please.
Immutable distros are seen by many as the future of Linux desktop/workstation.
Not providing a flatpak would eventually put Insync at a disadvantage.
Please, please do this ASAP.
More and more people are going immutable everyday and Flatpak is the way to go.
Thanks
I’d like to add my vote here as well. I was able to install it on fedora kinoite using rpm ostree install and reference the file but i ran into issues when upgrading or rebasing because of missing repo paths for rawhide. Ultimately i’m pretty happy with the product but that only stands as long as it is useful, so please implement flatpak when possible.
rpm-ostree transaction failed with:
error: Loading sack: Updating rpm-md repo ‘insync’: cannot update repo ‘insync’: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried; Last error: Status code: 404 for http://yum.insync.io/fedora/rawhide/repodata/repomd.xml (IP: 2400:52e0:1a01::996:1)
maybe you’d be kind enough to add this in the mean time?
thank you
Matt
I’ve submitted a pull request to this repo that has some documentation changes. https://github.com/Xarius86/insync-distrobox
So more and more immutable distros are appearing, and more and more apps are coming to flatpak.
But still, no updates from insync about development progress.
I would throw my money at the company, if we could get a stable working flatpak in a reasonable timespan.
Would say a one time pay of 4.99 $/€ and we get a flatpak within three months? @mia
Any update on a flatpak implementation of Insync. This would facilitate distribution in the Linux community. Thank you.
Thank you to each and every user who has expressed their eagerness and requests to have us work (again) on Flatpak!
This is something we will revisit in the future, but at the moment, we are focused on different tasks and projects an would like to express our appreciation for your understanding. Rest assured that we have not forgotten this; we value your input on why Flatpak development remains to be a highly requested endeavor!
Well, hope springs eternal, but a request for a flatpak has been her for going on seven years, so we’re not exactly holding our breath. Thank you for your response though.