I recently switched from BSPWM to Hyprland and now when trying to open BTRFS-Assistant I get the following error:
Authorization required, but no authorization protocol specified
qt.qpa.xcb: could not connect to display :0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
/usr/bin/btrfs-assistant: line 42: 8869 Aborted (core dumped) btrfs-assistant-bin ${params}
Before I trying installing some of the recommended platform plugins I wanted to check to see if anyone else has solved this issue?
wlroots-based environments really donāt like running Qt applications as root.
Support for each has to be added individually. I believe the support for sway is working now. Someone contributed support for hyprland recently but if you are running the latest version, I guess that isnāt working.
As a workaround, you can try running sudo -E btrfs-assistant-bin
Just a question: Yesterday I had to do with Manjaro on a computer and found out that there the Btrfs Assistant already comes installed in the live session and can be found in the Pamac in the repos. Why do we have to pull the Btrfs Assistant from the AUR here then? Everything grumbles here on Manjaro and turns up his nose when this name is mentioned, but obviously they are in some things further than we are.
pacman -Ss btrfs-assistant
chaotic-aur/btrfs-assistant 1.8-1 [installed]
An application for managing BTRFS subvolumes and Snapper snapshots
chaotic-aur/btrfs-assistant-git 1.8.r0.g3de16cb-1
An application for managing BTRFS subvolumes and Snapper snapshots