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 Package #91

Open
RilicTheFox opened this issue Dec 27, 2024 · 3 comments
Open

Flatpak Package #91

RilicTheFox opened this issue Dec 27, 2024 · 3 comments
Labels
enhancement New feature or request needs info / awaiting response Issue that needs more information from the user

Comments

@RilicTheFox
Copy link

Currently, while the theme works on the base system, it does not work in flatpak-installed applications. This is because flatpak uses a different runtime environment to the rest of the system, requiring Darkly to be installed as a flatpak package to be seen by applications running within it.

There is a Lightly fork that "ports" it into a Flatpak package here: https://github.com/MicrogamerCz/Lightly

Kvantum also has a flatpak package that is published on Flathub: https://github.com/flathub/org.kde.KStyle.Kvantum

@Bali10050
Copy link
Owner

XDG Desktop Portal should solve that issue

@RilicTheFox
Copy link
Author

RilicTheFox commented Dec 27, 2024

XDG Desktop Portal should solve that issue

I have XDG desktop portal installed for KDE and it does not solve the issue. Reading that page, seems that portals don't pass through themes or kstyles, only the UI toolkit to be used by applications like Firefox. In order to use kstyles, they seemingly need to be installed via a flatpak package. By default, they are only using Breeze.

@DeltaCopy
Copy link
Collaborator

I've used https://github.com/MicrogamerCz/Lightly made several changes, and was able to build a flatpak bundle file for Darkly.

With limited testing Dolphin and Okular does not adopt the theme and continue to use the default Breeze style, even though I set flatpak override --env=QT_STYLE_OVERRIDE=Darkly $flatpak_app. I guess some flatpak applications don't support the style override.

I did however have success with VLC when installed as a flatpak and it shows up as a theme to select from within the application.

@RilicTheFox further testing is required, which flatpak applications specifically are you looking for Darkly theme to be applied to ?

@DeltaCopy DeltaCopy added needs info / awaiting response Issue that needs more information from the user enhancement New feature or request labels Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs info / awaiting response Issue that needs more information from the user
Projects
None yet
Development

No branches or pull requests

3 participants