During tests, a problem to install Kooha (https://github.com/SeaDve/Kooha) in QV has occurred. BarryK provided a fix (viewtopic.php?p=117500#p117500)
The same problem occurs in EasyVoid but the fix not works.(EDIT : the files 0setup in EasyVoid and in QV are very different, the fix is only for QV)
I tried to install Kooha as a flatpak (https://flathub.org/apps/io.github.seadve.Kooha) with Flapi
No problem with installation but it do not work :
# kooha
2024-04-21T15:18:28.868730Z INFO kooha::application: Kooha (io.github.seadve.Kooha)
2024-04-21T15:18:28.868853Z INFO kooha::application: Version: 2.3.0 ()
2024-04-21T15:18:28.868871Z INFO kooha::application: Datadir: /app/share/kooha
libEGL warning: failed to get driver name for fd -1libEGL warning: MESA-LOADER: failed to retrieve device information
libEGL warning: failed to get driver name for fd -1
(kooha:2): Gdk-WARNING **: 17:18:30.439: The program 'kooha' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAccess (attempt to access private resource denied)'.
(Details: serial 470 error_code 10 request_code 130 (MIT-SHM) minor_code 1)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the GDK_SYNCHRONIZE environment
variable to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
In QV, Kooha (installed by PKGget with the fix) do not work
The github page of Kooha leads to a screencast compatibily page (https://github.com/emersion/xdg-desktop ... patibility) where webrtc is named.
I installed "libdatachannel" (a WebRTC library) by PKGget. Kooha still not works but it was no longer blocking other programs (Before when i tried to create a text file with the error message, geany closed suddenly if kooha was not closed)
Same error if Kooha run as user kooha or as root:
ERROR kooha::window: Échec du démarrage de l’enregistrement
Caused by:
0: Failed to create session
1: Failed to call `CreateSession` with parameters: Variant { ptr: 0x55d66d554c30, type: VariantTy { inner: "(a{sv})" }, value: "({'session_handle_token': <'kooha_0'>, 'handle_token': <'kooha_1'>},)" }
2: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: L’interface « org.freedesktop.portal.ScreenCast » n’existe pas pour l’objet à l’emplacement /org/freedesktop/portal/desktopVia Google translate
ERROR kooha::window: Failed to start recordingCaused by:
0: Failed to create session
1: Failed to call `CreateSession` with parameters: Variant { ptr: 0x55d66d554c30, type: VariantTy { inner: "(a{sv})" }, value: "({'session_handle_token': <'kooha_0'>, 'handle_token ': <'kooha_1'>},)" }
2: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: The interface "org.freedesktop.portal.ScreenCast" does not exist for the object at location /org/freedesktop/portal/desktop