Knowledge base
1000 FAQs, 500 tutorials and instructional videos. Here, there are only solutions!
Install kDrive on Linux
This guide details the installation of the kDrive desktop application from Infomaniak on a computer equipped with the Linux operating system. This application allows you to automatically synchronize files from your computer with your online kDrive storage.
Introduction
- On this OS, some advanced features of kDrive are not available, such as the Online / Offline mode (which allows you to view your files without physically storing them on the disk) or the context menu via right-click (to quickly share a link, for example).
- The kDrive application is officially supported by Infomaniak only on the following configurations:
- Ubuntu 22.04 LTS (and later versions)
- Desktop environments: GNOME or KDE
- The application may work on other Linux distributions (Debian, Fedora, etc.) or with other desktop environments, but Infomaniak provides no technical support for installation or use outside of the configurations mentioned above.
Installing kDrive on Linux
Prerequisites
- Download the kDrive application for Linux (❓: help). This is a file in .AppImage format.
- D-Bus (internal communication system present in most versions).
- FUSE (the
fusermountcommand, provided by the fuse3 package, which is installed by default on most distributions). - Gnome-keyring or KWallet (password managers that are generally integrated, except on very lightweight Linux versions).
Next:
- Place the downloaded file in a folder of your choice, for example, a folder named "Applications" in your personal directory.
- Right-click on the file, select Properties, then the Permissions tab.
- Check the box "Allow the file to run as a program".
To have kDrive launch automatically when you log in, enable the "Launch kDrive at startup" option in Settings > General. This option is normally already enabled by default.
Known issues and solutions
Synchronization blocked or "Inotify watches" error
If the synchronization appears to be stuck (e.g., at step 1/10), it may mean that your system is limiting the number of files it can monitor simultaneously.
- Check the current limit: type the command
cat /proc/sys/fs/inotify/max_user_watchesin a terminal. - Increase the limit: kDrive displays the command to execute directly in its interface to increase this limit. It is not recommended to use a fixed value (such as 131072), as this may be lower than the limit already configured on your system.
The application closes when opened (AppArmor / Wayland)
On some older versions, opening the login window could fail:
- AppArmor: the problem came from the integrated login window, based on QtWebEngine, whose Chromium engine was sandboxed. kDrive now uses the system browser for authentication, which resolves this issue.
- Wayland: The application is natively developed to run under Wayland, so there is no need to force X11 display.
Icon or window display issues
- Invisible icon (Gnome): install the AppIndicator Support extension (❓: help).
- Note that the Dash to Panel extension may make the application menus invisible and is not recommended.
- Window cannot be opened: check that the
fuse3library is installed on your system (the necessarylibdbus-1-3library is included directly in the AppImage). - KDE Wayland: If the interface is not displayed correctly, add these lines to your
~/.config/kdeglobalsconfiguration file:[QtQuickRendererSettings]RenderLoop=basicSceneGraphBackend=opengl
Error saving credentials (key store)
If kDrive asks for your credentials each time it starts or displays the error Failed to save authentication info to keychain:
- Make sure that a password manager (Gnome Keyring or KWallet) is installed and unlocked when you open your session.
- Make sure the D-Bus service
org.freedesktop.secretsis configured.- If you are using KWallet, the file
/usr/share/dbus-1/services/org.freedesktop.secrets.servicemust contain:[D-BUS Service]Name=org.freedesktop.secretsExec=/usr/bin/kwalletd5
- If you are using KWallet, the file
Using AppImageLauncher
If you are using the AppImageLauncher tool and the integration fails, make sure you are using at least version 3.0.0 (beta 2) to support the kDrive compression format.
Troubleshooting in case of a crash
If the application closes without displaying an error message, you can generate a report for technical analysis by extracting the latest activities from your system using this command: journalctl -r -n 1000 > kdrive_syslog.txt
Link to this FAQ: https://faq.infomaniak.com/617
Has this FAQ been helpful?