You are not logged in.
Hay!
I freshly installed rclone to access my Onedrive and Google Drive shares. It is configurated correctly. From terminal I can start as daemon both shares. The used command were
# rclone --vfs-cache-mode "onedrive": ~/Megosztások/OneDrive --daemon
# rclone --vfs-cache-mode "googledrive": ~/Megosztások/GoogleDrive --daemonand they did the work correctly. But when I write them into the XFCE autostart list, they don't run. The .desktop files are:
[Desktop Entry]
Encoding=UTF-8
Version=0.9.4
Type=Application
Name=OneDrive
Comment=Csatlakozás a Microsoft OneDrive megosztáshoz
Exec=rclone --vfs-cache-mode writes mount "onedrive": ~/Megosztások/OneDrive --daemon
OnlyShowIn=XFCE;
RunHook=0
StartupNotify=false
Terminal=false
Hidden=falseand
[Desktop Entry]
Encoding=UTF-8
Version=0.9.4
Type=Application
Name=Google Drive
Comment=Csatlakozás a Google Drive megosztáshoz
Exec=rclone --vfs-cache-mode writes mount "googledrive": ~/Megosztások/GoogleDrive --daemon
OnlyShowIn=XFCE;
RunHook=0
StartupNotify=false
Terminal=false
Hidden=falseSomething is wrong, but I don't understand, what. There is no warning or error in the .xsession-errors file related to rclone.
Last edited by tombenko (2025-05-08 09:35:47)
Offline
Probably tilde character isn't exapnded properly. User full path to user home directory:
Exec=rclone --vfs-cache-mode writes mount "googledrive": /home/Megosztások/GoogleDrive --daemonor use misshapen / ugly "hack" with shell instance:
Exec=/bin/sh -c "rclone --vfs-cache-mode writes mount "googledrive": ~/GoogleDrive --daemon"Look here:
https://unix.stackexchange.com/a/175130
Last edited by Fixxer (2025-05-07 17:32:17)
Offline
Okay, it works. Thanks!
Offline