ZenwalkThis forum is for the discussion of Zenwalk Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
and clicking on links in the telegram app wont open the link with the default browser, copy/paste from flatpaks is possible.
Does someone know how to solve this?
Its a default zenwalk 15.
System software (like chromium) works fine!
These are typical problems that arise from software containerisation.
So the first question to ask is if you really need to install and run that software as a flatpak.
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
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
2) I do not know anything about thonny but pretending it needs a working preload, because whoever built that container did not test it correctly IMHO. There is not info on whether that is truly the full error to start thonny so read this please
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
ERROR: ld.so: object '/usr/lib64/libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
QStandardPaths: wrong permissions on runtime directory /run/user/1000, 0755 instead of 0700
QApplication: invalid style override 'Adwaita-Dark' passed, ignoring it.
Available styles: Windows, Fusion
QStandardPaths: wrong permissions on runtime directory /run/user/1000, 0755 instead of 0700
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
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
First of all you cite several problems, not just one.
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.
Here is the result of your suggested approach:
apulse flatpak run org.telegram.desktop
ERROR: ld.so: object '/usr/lib64/libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
QStandardPaths: wrong permissions on runtime directory /run/user/1000, 0755 instead of 0700
QApplication: invalid style override 'Adwaita-Dark' passed, ignoring it.
Available styles: Windows, Fusion
QStandardPaths: wrong permissions on runtime directory /run/user/1000, 0755 instead of 0700
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
I did try to fix permissions for /run/user/1000, but the error does reappear (also with "chown -R" )!
No change so far...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.