Flatpak apps have no sound and other errors
Hi all!
I did install some apps via flatpak and discovered that firefox has no sound, "Thonny Python IDE" complains about: Code:
ERROR: ld.so: object '/usr/lib64/libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored Does someone know how to solve this? Its a default zenwalk 15. System software (like chromium) works fine! Thx |
Quote:
So the first question to ask is if you really need to install and run that software as a flatpak. |
Hello ondoho,
That is absolutely correct. Never the less flatpaks are supported by zenwalk linux out of the box, so this problem should not be there in the first pace and must be solved <--> reported... Working around the problem is what I would have done in the past;) greetings |
firefox expects to find pulseaudio or its fake called apulse.
start FF after installing apulse to see if sound appears like this Code:
apulse firefox https://www.baeldung.com/linux/ld_preload-trick-what-is so your work a round will start with Code:
LD_PRELOAD=/usr/lib64/libgtk3-nocsd.so.0 ldd <some-exe> https://packages.debian.org/bullseye...nocsd/filelist with an exe of /usr/bin/gtk3-nocsd YMMV |
I have to admit that the firefox vs chromium was kind of a sensitive privacy issue for me and I installed firefox via netpkg and deleted the flatpak before.
But the telegram app has audio capability too and that is what I used to test the change suggested by you. A apulse package was not available via netpkg, nor alien slackbuilds, nor conraid slackbuilds! So I did compile the one from ponce slackbuilds current and tested the flatpak with: Code:
apulse flatpak run org.telegram.desktop |
fix your perms first please
get root powers then Code:
chmod 0700 /run/user/1000 but I do not use flatpak so may be wrong flatpak is available on debian if interested (not a flatpak) https://packages.debian.org/bullseye/telegram-desktop |
Quote:
And some of those are arguably features, not bugs - it's the point of sandboxing to isolate apps from the rest of the machine, so complaining that it does what it's designed to is ... not constructive. Also, the way I understand how flatpaks work, you should be complaining to the providers of the flatpak, not zenwalk. Their whole point is to be distro-independent. |
Hello aus9,
Code:
Here is the result of your suggested approach: No change so far... |
that is not my suggested approach.....I wanted you to preload first and then attempt to launch your flatpak.
I thought that firefox was not a flatpak. so I was responding to FF first as it should be easy to download and run from unpack. so try Code:
LD_PRELOAD=/usr/lib64/libgtk3-nocsd.so.0 ldd /usr/bin/gtk3-nocsd |
All times are GMT -5. The time now is 04:26 AM. |