-
-
Notifications
You must be signed in to change notification settings - Fork 283
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 package doesn't load up #156
Comments
This error:
is happening because PE could not find GStreamer pulsesrc plugin that is from gst-plugins-good package. @AsavarTzeth may know what NixOS is missing |
As far as I know it makes no difference how you launch a flatpak application. The only thing that comes to mind is that your shell environment might differ. Dependencies are all included within the flatpak container, located under
If you want to dig around inside the container environment you can easily do so:
|
You are more than likely right about the different shell environments, on NixOS the gnome-software runs in a wrapper script. The issue might as well be closed as the flatpak service is currently really experimental on this distro, and I assume more problem will surface with more flatpak packages tested, although many seem to work just fine. One more thing, after updating the flatpak packages, I tried uninstalling the pulseeffects app and reinstalling it with the
|
That is the latest commit at least. What version of flatpak are you using? ( In any case, this is likely beyond what I am able to help with. Since it runs as usual on other distributions, I must assume it's a packaging or upstream flatpak issue. You can find the upstream flatpak issue tracker here. Even if it isn't an upstream issue you can probably link it to an NixOS issue and get some collaboration going. |
I am unable to reproduce this, either when installed globally or as a user. @wwmm Does this require anything else than flatpak installed globally? Will the GStreamer not be a part of the platform downloaded by flatpak? @Mounium What desktop environment do you use? On my system I had the |
Looking at the flathub build instructions it seems that only gst-plugins-bad is being compiled https://github.com/flathub/com.github.wwmm.pulseeffects/blob/master/com.github.wwmm.pulseeffects.json. So it makes sense that the other GStreamer libraries are in a platform. @AsavarTzeth can better explain this |
@jtojnar I'm using Gnome, and I do have gstreamer-1.0 available in the current runtime. I've tried different combinations of gstreamer plugins, but running it from a simple terminal prints the same error as in the issue. I've just tried the same thing with xfce (with hardware.pulseaudio.enable = true) and it does work, although quickly quits with an assertion error. |
@Mounium I just managed to run it on minimal (XTerm only) system, which confirms Flatpak is pretty stand-alone, so it probably is not a NixOS issue. Virtual machine configuration{ pkgs, config, ... }: {
environment.systemPackages = with pkgs; [
firefox
];
services.xserver = {
enable = true;
layout = "cz";
xkbVariant = "qwerty";
desktopManager.xterm.enable = true;
};
services.flatpak.enable = true;
hardware.pulseaudio.enable = true;
users.extraUsers.j = {
isNormalUser = true;
uid = 1000;
extraGroups = [ "wheel" "networkmanager" ];
password = "";
openssh.authorizedKeys.keys = ["ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDYbOlZydfRRCGCT08wdtPcpfSrgxMc6weDx3NcWrnMpVgxnMs3HozzkaS/hbcZUocn7XbCOyaxEd1O8Fuaw4JXpUBcMetpPXkQC+bZHQ3YsZZyzVgCXFPRF88QQj0nR7YVE1AeAifjk3TCODstTxit868V1639/TVIi5y5fC0/VbYG2Lt4AadNH67bRv8YiO3iTsHQoZPKD1nxA7yANHCuw38bGTHRhsxeVD+72ThbsYSZeA9dBrzACpEdnwyXclaoyIOnKdN224tu4+4ytgH/vH/uoUfL8SmzzIDvwZ4Ba2yHhZHs5iwsVjTvLe7jjE6I1u8qY7X8ofnanfNcsmz/ jtojnar@kaiser"];
};
virtualisation.memorySize = 1024;
virtualisation.diskSize = 2048;
} |
So I will try to summarize and make a few things clear first:
However, GStreamer in If for some reason parts of GStreamer is not found by PulseEffects I can only think of two reasons. Either You can check what is installed with |
Installing it via flatpak on NixOS, I can't seem to start the app from command line with
flatpak run com.github.wwmm.pulseeffects
with the error below, but there doesn't seem to be a problem starting it from the Gnome Software Center.I would not have opened this issue, but I've only now figured out that for some reason I can get it to work from within the software center, sorry for the inconvenience, although I don't quite now what command does the software center issue to start it up, it would be good to know.
The text was updated successfully, but these errors were encountered: