Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flatpak: "flatpak run de.shorsh.discord-screenaudio" gets stuck on injecting userstyles #240

Open
bomber34 opened this issue Apr 23, 2024 · 5 comments

Comments

@bomber34
Copy link

bomber34 commented Apr 23, 2024

When starting the flatpak app, I only get a blank screen that will ask me to force shutdown the app after a few seconds.
Running the app via the terminal reveals

[default] Couldn't start kglobalaccel from org.kde.kglobalaccel.service:
QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name is not activatable")
[default] QLayout: Attempting to add QLayout "" to StreamDialog "", which already has a layout
[default] QLayout: Attempting to add QLayout "" to StreamDialog "", which already has a layout
[main] Injecting "qwebchannel.js"
[main] Injecting "userscript.js"
[main] Injecting "style.css"
[main] Injecting "vencord.css"
[userstyles] Looking for userstyles in /home/user/.var/app/de.shorsh.discord-screenaudio/config/discord-screenaudio

After adding an empty userstyles.css I get

[default] Couldn't start kglobalaccel from org.kde.kglobalaccel.service:
QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name is not activatable")
[default] QLayout: Attempting to add QLayout "" to StreamDialog "", which already has a layout
[default] QLayout: Attempting to add QLayout "" to StreamDialog "", which already has a layout
[main] Injecting "qwebchannel.js"
[main] Injecting "userscript.js"
[main] Injecting "style.css"
[main] Injecting "vencord.css"
[userstyles] Looking for userstyles in /home/user/.var/app/de.shorsh.discord-screenaudio/config/discord-screenaudio
[userstyles] Found userstyles: /home/user/.var/app/de.shorsh.discord-screenaudio/config/discord-screenaudio/userstyles.css
[userstyles] Injecting userstyles

Is there a workaround for this issue?
I am using Fedora 39 with an Nvidia graphics card and wayland, if that info helps.

@Ropshitz
Copy link

Ropshitz commented May 2, 2024

I have the same issues on Artix Linux Xfce.

@tinyCatzilla
Copy link

Same issue for me with NVIDIA + hyprland. Temporary fix is to downgrade with
sudo flatpak update --commit=72a419e90e685620117f1c0a010466130031c44350de3f9b789369eca96a30c4 de.shorsh.discord-screenaudio

@TobyTowler
Copy link

Same issue for me with NVIDIA + hyprland. Temporary fix is to downgrade with sudo flatpak update --commit=72a419e90e685620117f1c0a010466130031c44350de3f9b789369eca96a30c4 de.shorsh.discord-screenaudio

Same set up for me, thanks for the fix

@bomber34
Copy link
Author

While the client is able to start with that, I am not able to stream with sound, however.
Unfortunately, it means that it is not really a workaround for my situation :/
But thanks nonetheless!

@Ropshitz
Copy link

While the client is able to start with that, I am not able to stream with sound, however. Unfortunately, it means that it is not really a workaround for my situation :/ But thanks nonetheless!

I believe it might be an issue related to Pipewire not being properly configured on the machine. As soon as I uninstalled and reinstalled everything, ensuring they worked, the program started working perfectly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants