Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
And you just know that the tools to access Google Drives natively in Linux must already exist and have been in use internally at Google for a decade, but Alphabet can't figure out how to profit so we'll never see it.
LMAO that’s just fucking stupid man
If you use GNOME DE you go to the online accounts dialog, click Google and setup with your credentials, it adds GDrive to Nautilus, integrates gmail and calendar into evolution client.
Came here to say the same. Works pretty damn well too. I also have mine connected to a Nextcloud sever because I'm trying to ditch the big G
yeah, I am hoping thry add Proton Drive account to that list of online services
Seafile would be sick too, but very unlikely. They have a SeaDrive client, but it's not quite as nicely integrated as the Gnome stuff.
Yeah I have the seadrive setup also. But GNOME accounts is very well done
Are applications able to write directly to the directory this mounts to? Could Codium add this folder?
It shows in the Mounts section of nautilus, for apps that don't recognize that you may have to go to /run/media/username/mount if it doesn't show up in the Other section of file pickers
I use KDE and I don't think there's something similar, or am I mistaken?
Thru the networks tab on dolphin. Maybe youll need to install some plugin too. But it works fine.
I use this and it works quite well: https://community.kde.org/KIO_GDrive
Oh cool! I'm saving this for later.
I'm not aware of what is available for KDE. i didn't see it when I tried KDE, but maybe somebody has successfully used the packages to setup something similar
Not free, but I have been using Insync for years and it works well. $30 one time cost, but worth it.
This is what I use. Though I got my email wrong and had to buy it twice...
I got a free key from a friend and insync has always worked well for me
I've used it in the past with rclone, just mounting it with a systemd service on boot, and treating it like another folder on the system. Does it give you any logs as to why its not connecting right?
The best way I've found is to use a NAS with the ability to sync with Google drive then mount that folder as an SMB share in your fstab.
My google drive is just a special folder on my file explorer. My account is configured with the system account manager. It shows me all my Drive files and when I want to open one it automatically downloads and opens the file seamlessly as if it were in my PC. If I create, move or change folders, add new files, etc. It automatically syncs it with my Drive.
This is on Linux Mint with Cinnamon DE.
I use Gnome but Cinnamon and Gnome are not that different in that topic IIRC. I have to mount the remote folder via file manager (Nautilus) then I can access the files in Code.
Can you open Drive files in Codium?
Yeah
Hmm. It’s not working in Manjaro for me. Is it as easy as just opening any other folder? I have Drive added in KDE and can see my files but I cannot add a folder from drive in Codium.
I'm not sure about kde sorry-- I'm using it in fedora w/gnome
My guess is no, since the folder is a magical protocol address that I assume VScode/codium wouldn't understand for they insist on handling the directory hierarchy directly. Haven't really troubleshoot that workflow though. I use exclusively Git with GitHub/GitLab. So there's no need for GDrive with an IDE for me. My Drive is exclusively for personal files which most other Linux-as-a-first-class-citizen applications (LibreOffice, PDF readers, photo viewers and editors) just use as the OS gives it to them without issue.
ADD: I would imagine there's an additional complication depending on whether Codium is running from repository or Flatplak.
That seems strange regarding rclone. I've used that with success with G drive, backblaze B2, and I drive e2. Any errors or logs you can see?
Is gcs-fuse not suitable? I haven't used this but I would guess that it works fairly well.
It appears that this only supports Google Cloud storage buckets, not Google Drive
My bad, you are correct. For some reason I misread.
There is google-drive-ocamlfuse. Personally, even though the article recommends rclone, I would have started with ocamlfuse; something about the whole interaction with rclone seems flaky-sounding to me (the fact that it's not just fuse commands, but this whole other tool you have to interact with for doing stuff like 'ls' just seems weird). But like I say I have no real experience to be sharing; this is just me searching + sending to you.