Materia-theme: Flatpak Theme

Created on 7 Nov 2017  路  9Comments  路  Source: nana-4/materia-theme

Flatpak apps do not pick up the system's GTK theme and the solution to this, presently, is to provide the theme as an extension to the GNOME runtime.

Arc, Ambiance, Greybird and Breeze are currently available as Flatpak themes and it would be really nice if Materia too were available as one.

More information regarding this is available here: Flatpak theming.

enhancement

Most helpful comment

@Raytar Thanks! I've submitted a pull request with https://github.com/flathub/flathub/pull/186. Cheers!

All 9 comments

It would be great if Materia will support Flatpak, but I'm not sure how it works for now...

~By the way, it also seems to work by just placing themes in ~./themes, even without providing the theme as an extension:~

ln -s /usr/share/themes/Materia* ~/.themes

~I'm not sure which is a better solution, but the latter (placing themes in ~./themes) seems more flexible to me. 馃槈~

EDIT: My bad... I had some misunderstanding. It doesn't seem to work.

I have made manifest files for all of the theme variants. You can find them here.

@Raytar Sorry for the late reply. And thank you so much for your work! It looks very nice!!

Well, may I submit those files to Flathub (based on the Submission Guidelines) after adding some minor changes? (e.g. correct metadata_license, see https://github.com/flathub/flathub/pull/181#discussion_r155929308)

Of course! Happy to help!

@Raytar Thanks! I've submitted a pull request with https://github.com/flathub/flathub/pull/186. Cheers!

Except for _compact_ variants, Materia theme variants are now available in Flatpak. ;)

flatpak remote-add flathub https://flathub.org/repo/flathub.flatpakrepo

flatpak install flathub org.gtk.Gtk3theme.Materia
flatpak install flathub org.gtk.Gtk3theme.Materia-dark
flatpak install flathub org.gtk.Gtk3theme.Materia-light

Thanks for working on this! Any update on when the compact variants might be included in the Flatpak package? At the very least, it would be nice if it could at least fall back to the regular Materia(-dark) theme until that happens. (I imagine this is just a matter of adding a symlink to the build script?)

Edit: A dirty hack to achieve this (must be run for each app):

mkdir -p ~/.local/share/flatpak/app/${APP_ID}/current/active/files/share/themes
ln -s /usr/share/runtime/share/themes/Materia-dark !$/Materia-dark-compact

@hackel I'm sorry for the delay in my response.

Please see flathub/flathub#186. I don't have permission to add the repos in flathub. So could _you_ request those repos in that thread?

Hi @nana-4 it seems that the *-compact variants of the theme are not in flatpak. I don't know if this is intentional or a mistake, but I would really appreciate it if they could be added. Thanks.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Philippe734 picture Philippe734  路  4Comments

rahilwazir picture rahilwazir  路  4Comments

luispabon picture luispabon  路  3Comments

whnr picture whnr  路  5Comments

Kibouo picture Kibouo  路  3Comments