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

Feature request: distribute Flatpak via Flathub #394

Open
Peque opened this issue Dec 24, 2021 · 4 comments
Open

Feature request: distribute Flatpak via Flathub #394

Peque opened this issue Dec 24, 2021 · 4 comments
Labels
feature request New functionality that is wished for packaging Distribution-specific problems or requests

Comments

@Peque
Copy link

Peque commented Dec 24, 2021

It would be great to have the software distributed as Flatpak via Flathub. 😊

@lah7 lah7 added feature request New functionality that is wished for packaging Distribution-specific problems or requests labels Dec 24, 2021
@xtc0r
Copy link

xtc0r commented Aug 18, 2024

Any update on this?
I use Fedora Atomic (Bazzite) and would like to use polychromatic. As far as I understand the Fedora atomic I have to use flatpak as the way to install software.

@lah7
Copy link
Member

lah7 commented Aug 18, 2024

As far as I know, Fedora Atomic (and others like SteamOS) have immutable filesystems. Polychromatic needs OpenRazer, which requires installing a DKMS driver on the host. Are you able to install OpenRazer just as easily in Fedora Atomic?

OpenRazer can't be a Flatpak:

In general Flatpak is best suited for desktop applications and while command line applications also work, it may not be suited in some cases:

  • Kernel modules or drivers are non application packages and won’t work inside a Flatpak.

Flatpak also won’t export udev rules or systemd services from the sandbox to the host and requires manual configuration after installing the flatpak package.

https://docs.flatpak.org/en/latest/introduction.html

So far, I haven't heard of successful OpenRazer installations under SteamOS, so installing this app is useless for as long as OpenRazer 3.x is a DKMS driver.

Right now, I don't have incentive to invest time into a Flatpak since the software is already available for a wide variety of distros in their native package format. I have some other concerns:

  • Users will want to press "Install" and it magically just works for their Razer stuff, but it needs manual intervention anyway because of OpenRazer being a driver.
  • The sandboxing nature of Flatpak may also break some functionality of this software, like troubleshooting, configuring OpenRazer, theme integration (Qt), and new features in the future.

@razzeee
Copy link

razzeee commented Aug 18, 2024

You can use https://flathub.org/apps/xyz.z3ntu.razergenie after installing OpenRazer on the system. You'll get the best of both worlds. There are talks about enbaling flatpaks to ship kernel stuff etc, but it's very early.

@xtc0r
Copy link

xtc0r commented Aug 18, 2024

OpenRazer is installed and working. Bazzite OS asks you during the first startup if you want to install it.
I'm using https://flathub.org/apps/xyz.z3ntu.razergenie but it has limited features.
In my case I want that my Razer mouse dock to indicate the battery status of my Razer Viper Ultimate battery level via LED coloring. That's a feature the Windows Razer software has. I hoped for polychromatic to provide a similar feature. RazerEngine does not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New functionality that is wished for packaging Distribution-specific problems or requests
Projects
None yet
Development

No branches or pull requests

4 participants