Zoom iterating All xdg-desktop-portal, causing incompability when running on wayland | Community
Skip to main content
Newcomer
November 14, 2024
Question

Zoom iterating All xdg-desktop-portal, causing incompability when running on wayland

  • November 14, 2024
  • 2 replies
  • 8 views

Zoomm Iterating on all xdg-desktop-portal and doesnt recognize XDG_CURRENT_DESKTOP on hyprland, i try to find source on the internet but no avail. 

```

 

 

 

XDG_CURRENT_DESKTOP = Hyprland; GDMSESSION = ; XDG_SESSION_TYPE = wayland Error: Send error, 22 Invalid argument Error: Send error, 22 Invalid argument Error: Send error, 22 Invalid argument [4133:4133]ZoomCollabHost started,isSupportCef=1 [3993:4197]webviewHostIpcChannel:onChannelConnected webviewClientIpcChannel:onChannelConnected *** stack smashing detected ***: terminated [xdg-desktop-portal info]: xdg-desktop-portal: xdg-desktop-portal 1.18.4 can not find 'xdg-desktop-portal-gnome' command xdg-desktop-portal-gtk: xdg-desktop-portal-gtk 1.15.1 xdg-desktop-portal-hyprland: xdg-desktop-portal-hyprland v1.3.8 xdg-desktop-portal-kde: xdg-desktop-portal-hyprland v1.3.8 can not find 'xdg-desktop-portal-lxqt' command can not find 'xdg-desktop-portal-wlr' command can not find 'xdg-desktop-portal-xapp' command

 

 

 


```

its kinda annoying tbh, i have to manually turn it off manually,

Ive tried to embed this code inside Zoom.desktop but the command runs sequentially. do you guys have any solutions ?  

 

 

 

# kill all possible running xdg-desktop-portals killall -e xdg-desktop-portal-hyprland killall -e xdg-desktop-portal-gnome killall -e xdg-desktop-portal-kde killall -e xdg-desktop-portal-lxqt killall -e xdg-desktop-portal-wlr killall -e xdg-desktop-portal-gtk killall -e xdg-desktop-portal sleep 1 # start xdg-desktop-portal-hyprland /usr/lib/xdg-desktop-portal-hyprland & sleep 2 # start xdg-desktop-portal-gtk if [ -f /usr/lib/xdg-desktop-portal-gtk ] ;then /usr/lib/xdg-desktop-portal-gtk & sleep 1 fi # start xdg-desktop-portal /usr/lib/xdg-desktop-portal & sleep 1%

 

 

 


i want to change the Source code but its encrypted n idk how to crack zoom  and reverse engineer it 
PS. i'm dual booting on KDE and Hyprland as a DE.

2 replies

Newcomer
December 16, 2024

Thank you for your feedback!
The issue you reported has been recorded and will be fixed in the 6.3.0 release. We greatly appreciate your support and look forward to receiving more valuable suggestions from you in the future!

Newcomer
January 2, 2025

So I am guessing this didn't get fixed as Zoom is completely unusable on Hyprland.  Running 6.3.1-1 on hyprland and menus popup say audio or video buttongs but if you go and try to select any of the options it disappears.   Only way to get the app to be usuable is go back to Plasma and then constant fiddling with sound to get that working again.

 

Edit:  making the screens unfloat makes things a little better however the meeting window with up arrow menus on mute, video, participants, chat and react do no allow me to select options with the mouse.  If I click the uparrow and then use the keyboard keys up/down with enter it can be used.   Whole thing is pretty hokey

Newcomer
January 3, 2025

You can create a new desktop wrapper under zoom-hyprland, to run this on hyprland you only allowed to use xwayland desktop server.
This is the wrapper that  i got where xdg.sh is a script to restart all the xdg portal like the code above

```
/usr/bin/zoom "$@" &
sleep 2
~/.config/hypr/scripts/xdg.sh
```

You can create a launcher for it and make it as a custom.Desktop, but the thing is since hyprland runs on wayland the xdg portal is not compatible so you have to use OBS and second camera to share your screen.

 

 

Newcomer
January 3, 2025

You can make a wrapper , like this one. Context: xdg.sh is a script above that turn off manually all the possible xdg disp portal . ```
/usr/bin/zoom "$@" &
sleep 2
~/.config/hypr/scripts/xdg.sh
```
you can even create a new .Desktop to make a shortcut