@DamianUntapped
Please try to add the following line to ~/.bashrc
# settings for wayland
export QT_QPA_PLATFORM="xcb"
Git Clone URL: | https://aur.archlinux.org/synology-drive.git (read-only, click to copy) |
---|---|
Package Base: | synology-drive |
Description: | Desktop utility of the DSM add-on package, Synology Drive Server |
Upstream URL: | https://www.synology.com/en-global/releaseNote/SynologyDriveClient |
Keywords: | client drive nas synology |
Licenses: | custom:Synology Linux License Grant |
Conflicts: | cloudstation-3.0, cloudstation-beta, cloudstation-drive, synology-drive, synology-drive-client |
Submitter: | fmartingr |
Maintainer: | schinfo |
Last Packager: | schinfo |
Votes: | 48 |
Popularity: | 0.168395 |
First Submitted: | 2018-01-03 10:34 (UTC) |
Last Updated: | 2025-04-12 21:15 (UTC) |
@DamianUntapped
Please try to add the following line to ~/.bashrc
# settings for wayland
export QT_QPA_PLATFORM="xcb"
FYI, setting the QT_QPA_PLATFORM to xcb does not persist through a restart.
I fixed it on Wayland. For anyone else having issues, all I needed to do was run 'set QT_QPA_PLATFORM xcb' in the terminal. Make sure you have wayland qt5 installed with this command 'yay -S qt5-wayland' first. Then start up synology drive and it should work. I haven't checked if this fix persists through a logout or restart yet, hopefully it does or I guess I'll need to write a script to run at login to set that qt variable to xcb.
How do I check the exec status of /home?
@DamianUntapped
Take a look at the old comment here on page 2 (Moabeat commented 2023-09-13 22:32).
Maybe that will help you too.
Then I assume that Synology Wayland does not support.
Running pacman -Qs qt5-wayland returns: local/qt5-wayland 5.15.16+kde+r60-1 (qt5) Provides APIs for Wayland
So I think it is installed?
Please see if you have installed qt5-wayland
@schinfo
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway. qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in "" This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: xcb.
@DamianUntapped
Which error is displayed - please start with synology-drive start
in the terminal.
Pinned Comments
DamianUntapped commented on 2025-04-12 20:54 (UTC)
I fixed it on Wayland. For anyone else having issues, all I needed to do was run 'set QT_QPA_PLATFORM xcb' in the terminal. Make sure you have wayland qt5 installed with this command 'yay -S qt5-wayland' first. Then start up synology drive and it should work. I haven't checked if this fix persists through a logout or restart yet, hopefully it does or I guess I'll need to write a script to run at login to set that qt variable to xcb.