Scrap that, for some reason the icon would disappear after the screen lock kicks in. I have opted for having the UI always visible. Just add these arguments: --env=QT_QPA_PLATFORM=wayland --socket=wayland to the existing Exec line in ~/.config/autostart/org.nextcloud.Nextcloud.desktop .
In my case it looks like this:
Exec=/usr/bin/flatpak run --env=QT_QPA_PLATFORM=wayland --socket=wayland --branch=stable --arch=x86_64 --command=nextcloud org.nextcloud.Nextcloud
I am able to open the client interface more than once… at least without connecting to a server (I don’t have one to connect to).
I installed the org.nexcloud.Nextcloud flatpak and ran is using the following command:
flatpak run org.nextcloud.Nextcloud.
The setup wizard popped up. I used escape to close both the setup splash and the general settings tab. I then tried to run it again with the same command. I was warned that the app was already running and the general settings tab came back up.
One option for you might be to run ps -ef|grep cloud and find the two pids listed there. I find that if you kill the second pid in the list it will stop the service and you can run the flatpak again to see if the windows come back. This will stop any sync process as well.
I can still re-open the window. I don’t have a tray so I have to run from the command line. Not sure if thats how you’re doing it. My test processes follows:
I created a dummy account and added it to the client.
The folder syncd.
I closed the window using the escape key
I ran flatpak run org.nextcloud.Nextcloud
The window opened to add new servers and what not.
I have tried launching from the icon and see that the nextcloud process is there (sync works).
If I launch it from the command line the process is also there but there is (still) no UI.
From the command line I see these errors tho:
flatpak run org.nextcloud.Nextcloud
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Gtk-Message: 10:18:41.360: Failed to load module "canberra-gtk-module"
Gtk-Message: 10:18:41.360: Failed to load module "canberra-gtk-module"
libGL error: MESA-LOADER: failed to retrieve device information
libGL error: Version 4 or later of flush extension not found
libGL error: failed to load driver: i915