Copilot app on Fedora fails to connect to Wayland #204172
Replies: 4 comments
This comment was marked as spam.
This comment was marked as spam.
|
|
I should mention that this is entirely a bad AppImage bundle. When extract the "github" binary, delete the rpath and just run it as-is, it works fine. |
|
The extracted-binary result is a very useful clue: if the app works after removing its RPATH, the main problem is likely the AppImage preferring bundled native libraries, rather than GNOME or Wayland itself. Before patching the bundle, I would also test Electron's native Wayland path explicitly: ELECTRON_OZONE_PLATFORM_HINT=wayland \
./github --ozone-platform=wayland \
--enable-features=UseOzonePlatform,WaylandWindowDecorationsIf that still falls back to XWayland, compare the executable before and after extraction with: readelf -d ./github | grep -E 'RPATH|RUNPATH'For a temporary workaround, keep the original AppImage untouched, extract a copy, and remove the RPATH only from the extracted It would be helpful to include the Copilot app version, Fedora version, compositor, and the |
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Bug
💬 Feature/Topic Area
Copilot CLI
Body
I've just tried the Copilot GUI app on Fedora 44, it seems to refuse to connect to my Wayland compositor, instead going through X11. The effect of that is that the text is incredibly small on my HiDPI screen making it useless.
It would be better if it was released also as a Flatpak as these seem to generally have a better integration than AppImage.
All reactions