Skip to main content

Using rclone to integrate Google Drive in Arch

 sudo pacman -S rclone

rclone config  # will need to set up secret key and client ID follow instructions

 

 mkdir ~/GoogleDrive

 

rclone mount gdrive: ~/GoogleDrive --vfs-cache-mode writes --daemon 

# can also use following to run in background (nohup):

nohup rclone mount gdrive: ~/GoogleDrive --vfs-cache-mode writes --allow-non-empty --dir-cache-time 1000h --poll-interval 15s 

systemctl --user edit --force --full rclone-mount.service

 

add:

[Unit]
Description=RClone Mount Google Drive
After=network-online.target

[Service]
Type=notify
ExecStart=/usr/bin/rclone mount gdrive: %h/GoogleDrive --vfs-cache-mode writes --vfs-cache-max-age 1h
ExecStop=/bin/fusermount -u %h/GoogleDrive
Restart=on-failure
RestartSec=5

[Install]
WantedBy=default.target

 

 Enable: systemctl --user enable --now rclone-mount.service

 

 

 

 

Comments

Popular posts from this blog

Install Windows 11 on Virt-Manager

 Virt-Manager will have been installed in base install.  But to enable it (make sure SVM, or whatever virtualization is called in your BIOS is enabled). From https://computingforgeeks.com/install-kvm-qemu-virt-manager-arch-manjar/ sudo pacman -S qemu-full virt-manager virt-viewer dnsmasq vde2 bridge-utils openbsd-netcat dmidecode ip tables libguestfs edk2-ovmf swtpm Then enable and start libritd.service sudo systemctl enable libvirtd.service sudo systemctl start libvirtd.service sudo micro /etc/libvirt/libvirtd.conf Set the UNIX domain socket group ownership to libvirt, (around line 85 ) unix_sock_group = "libvirt" Set the UNIX socket permissions for the R/W socket (around line 102 ) unix_sock_rw_perms = "0770" Add your user account to libvirt group.   sudo usermod -a -G libvirt $(whoami) newgrp libvirt Restart libvirt daemon. sudo systemctl restart libvirtd.service Section below is quoted directly from https://linustechtips.com/topic/1379063-windows-11-in-virt-mana...

KDE's Own Distro

For installation details see the Installation section https://community.kde.org/KDE_Linux#Installation  and  https://kde.org/linux/install/ Install homebrew: (do oh-my-zsh and powerlevel10k first so .zshrc modification by brew survives) /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" Install distrobox:    curl -s https://raw.githubusercontent.com/89luca89/distrobox/main/install | sh -s -- --prefix ~/.local echo 'export PATH="$PATH:~/.local/bin"' >> ~/.bashrc echo 'export PATH="$PATH:~/.local/bin"' >> ~/.zshrc OneDrive:  brew install onedrive # type onedrive to register/connect with your MSft OneDrive account  brew services start onedrive-cli onedrive --force --skip-dot-files --skip-dir venv --sync    NOW ON MY Kinoite IMAGE, so just initiate normally and then: mkdir -p ~/.config/systemd/user/onedrive.service.d cat > ~/.config/systemd/user/onedrive.service.d/override.conf <...