vinceliuice / WhiteSur-gtk-theme

MacOS Big Sur like theme for Gnome desktops
MIT License
5.75k stars 599 forks source link

Failed to install flatpak theme #426

Open minhntp opened 3 years ago

minhntp commented 3 years ago

I have installed all the dependencies required in the result. But it still cannot install.

flatpak-theme-error

vinceliuice commented 3 years ago

Did you installed ostree and appstream-util? sudo apt install ostree appstream-util

minhntp commented 3 years ago

Yes, I have installed both of them: ostree is already the newest version (2020.3-1). appstream-util is already the newest version (0.7.16-1ubuntu1).

vinceliuice commented 3 years ago

I tested on my ubuntu 20.04 but everything works well, did you installed theme before you run ./tweaks.sh -F

minhntp commented 2 years ago

Yes, I have. I have applied the theme to applications and shell.

vinceliuice commented 2 years ago

I don't know what's going on, you installed flatpak right? what command you run to install this theme?

stormbeforesunsetbee commented 2 years ago

@minhntp Could you please add ld -1d "$theme_path"/* 1>&2 || true before line 51 in lib-flatpak.sh and send us the output?

minhntp commented 2 years ago

This is the result: modified-lib-flatpak-sh after-modified-lib-flatpak-sh

stormbeforesunsetbee commented 2 years ago

Oh, sorry, I mean, add ld -1d "$theme_path"/* 1>&2 (without || true) and then add a newline. So it's gonna be like:

ld -1d "$theme_path"/* 1>&2
theme_gtk_version= ...
minhntp commented 2 years ago

Screenshot from 2021-09-16 18-24-54 Screenshot from 2021-09-16 18-25-35

vinceliuice commented 2 years ago

@minhntp Isn't it works now? : after-modified-lib-flatpak-sh

minhntp commented 2 years ago

It's in the flatpak app list, but the theme is not applied on flatpak applications. Screenshot from 2021-09-16 20-52-54 Screenshot from 2021-09-16 20-53-45

minhntp commented 2 years ago

Hey it works on other apps! Thank you. Screenshot from 2021-09-16 20-58-22

vinceliuice commented 2 years ago

Do not support gtk4 apps, only gtk3 app can use the flatpak version

minhntp commented 2 years ago

Got it. I just removed the theme in flatpak and tried to install it again but it didn't work (with both the original and modified code). I just remembered that I used pakitheme to install WhiteSur theme on Flatpak.

OlaoluwaM commented 2 years ago

Same issue, but since it's not supported will look for a workarounf